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
Report Post bug..
by Morgan - 07/05/2020 1:48 PM
Trial Subscription question.
by Ruben - 07/03/2020 2:34 PM
Unread posts no longer tracked per user...
by KirkW - 06/16/2020 12:21 AM
Max Image file size upload
by jjjjj - 06/10/2020 10:25 PM
Error on Inert into POSTS
by jjjjj - 06/07/2020 8:09 PM
Who's Online Now
3 members (Morgan, infernus86, JAISP), 95 guests, and 32 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