Jump to content


Tutorial info Visit support topic

  • Added on: May 03 2012 05:24 AM
  • Views: 1656
 


Re-Defining IPSpower settings

For a permanent finer control of the things that are not explicitly settings, but can be customized.

Posted by Marcher Tech on May 03 2012 05:24 AM
there stands this everincreasing list of "IPS Power Settings".
this is found at the top of /admin/sources/base/core.php
At current it is such:
/* Non setting settings defaults.
* Do not edit here, edit them in your conf_global.php */
$_ipsPowerSettings = array( 'status_sidebar_show_x'   => 5,
	   'ipb_disable_group_psformat' => 0,
	   'tags_max_truncated_len'  => 35,
	   'max_bbcodes_per_post'   => 500,
	   'postpage_contents'    => '5,10,15,20,25,30,35,40',
	   'topicpage_contents'   => '5,10,15,20,25,30,35,40',
	   'member_photo_crop'    => 100,
	   'posting_allow_rte'    => 1, # Will look to redirect old editor methods to new and will remove this (legacy compatibility)
	   'like_notifications_limit'  => 1000,
	   'actidx_override'    => 0,
	   'signature_line_length'   => 200,
	   'show_x_page_link'    => 2
	   );
so, for example, if I wanted to control the max number of characters allowable in a status update(a power setting NOT listed here in fact), i would put this line in my conf_global.php:
$INFO['su_max_chars'] = '10';
Same stands for all of the above "settings".

Powered by Tutorials 1.5.1 © 2013, by Michael McCune