Jump to content

Suggestion: Number of topics in recent topics (sidebar hook)


Adriano Faria

Recommended Posts

Posted

Hi there.

You should do just like you did when we want to change the number of Recent Status Updates: add it on core.php:

/* 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, if you want to change the number of recent status updates, you just need to add $INFO['status_sidebar_show_x'] = 10; on conf_global.php.

I'm asking to add the number of topics in recent topics in that $_ipsPowerSettings array, so we'll only need to edit the conf_global.php to ajust the number.

Even better if we can add it on constants.php... Today we can't do it even if recent status updates.

Tks.

  • 9 months later...
Posted

well the recent topics plug in has a 0-day exploit so like dont use it.

The version that was reported for that was for Board 3.1.x only, as far as I could tell. That board version is now old and EOL as of August 2012

After speaking to the author the file was removed although I'm not sure that was the cause, it seems unlikely given there was no 'input' on the public side of that hook, although I guess using a 31x file on a 34x board could have some odd effects.

  • 2 months later...
Posted

This is a constant annoyance for something so integral.

I've paid people to increase the number of topics in sidebar but everytime I update the board it switches back to the defaut 5 topics.

I upgraded today and again I'm back down to 5.

Posted

This is a constant annoyance for something so integral.

I've paid people to increase the number of topics in sidebar but everytime I update the board it switches back to the defaut 5 topics.

I upgraded today and again I'm back down to 5.


Made a hook:
  • 1 year later...
Posted

sorry now im totally confused,

in none of that files i can change my recent - topics list.

Im on IPB 3.46 , can someone tell me where exact this file is and what i have to edit? Its really hard to find

Posted

So, if you want to change the number of recent status updates, you just need to add $INFO['status_sidebar_show_x'] = 10; on conf_global.php located on
main directory of your ipb install
this is all.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...