Previous Thread
Next Thread
Print Thread
Hop To
[7.5] Number of popular topics
#223418 03/01/2009 10:17 PM
Joined: Oct 2006
Posts: 67
journeyman
OP Offline
journeyman
Joined: Oct 2006
Posts: 67
Hej

Where do I edit the number of popular topics to be displayed?


trosfrihed.dk
Custom Ubb 7.5.2
Re: [7.5] Number of popular topics
arentzen #223423 03/02/2009 3:20 AM
Joined: Mar 2008
Posts: 326
Enthusiast
Offline
Enthusiast
Joined: Mar 2008
Posts: 326
There is no option for this in the Control Panel yet; it is currently hard-coded. To change this, you need to edit your cache_builders/popular_topics.php file.

The line you want to edit is:
PHP Code
$limit = 10; 
...where 10 is the number of popular topics to be displayed.

Re: [7.5] Number of popular topics
DLWebmaestro #223432 03/02/2009 6:40 AM
Joined: Oct 2006
Posts: 67
journeyman
OP Offline
journeyman
Joined: Oct 2006
Posts: 67
Thank you


trosfrihed.dk
Custom Ubb 7.5.2

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Ubb 7.7.4 Gallery problems
by jjjjj - 05/25/2020 2:35 PM
7.7.4 error after php upgrade to php 7.0
by Ruben - 05/25/2020 1:10 PM
7.7.4 move group all, fails with a error
by Ruben - 05/24/2020 3:07 PM
Grid lines in forum topics list
by Steve C - 05/23/2020 12:09 PM
Who's Online Now
1 members (JAISP), 107 guests, and 48 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4