top 5 problem on simple portal

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
User avatar
neuropass
BBCoder IV
BBCoder IV
Posts: 173
Joined: 11 Apr 2010, 02:33

top 5 problem on simple portal

Post by neuropass »

Hi guys,

I just noticed i weird behavior of the top 5 in the simple portal. I have the top 5 installed for my index as well.

Sometimes instead of being top 5 it becomes top 10!!!

I have to purge the cache or log out log in to have it top 5 again. Why does it do that? Is there a fix for it to have it locked on top 5?
Modd it up! TweakScene ;-) Support us! || Follow us ||

Image
User avatar
Stoker
Site Admin
Site Admin
Posts: 3558
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: top 5 problem on simple portal

Post by Stoker »

*Open index.php
Find:

Code: Select all

//-- mod: top five ---------------------------------------------------------//
	include($phpbb_root_path . 'includes/top_five.' . $phpEx);
//-- end: top five ---------------------------------------------------------//
Replace with:

Code: Select all

//-- mod: top five ---------------------------------------------------------//

	include($phpbb_root_path . 'includes/portal/top_five.' . $phpEx);

//-- end: top five ---------------------------------------------------------//
Board rules! No PM support
User avatar
neuropass
BBCoder IV
BBCoder IV
Posts: 173
Joined: 11 Apr 2010, 02:33

Re: top 5 problem on simple portal

Post by neuropass »

thnaks stoker that didn't work. it was removing the topics in the index.. so i actually changed the code in portal.php and used the one for the index. it fixed it.. well it seems so for now.. :D
Modd it up! TweakScene ;-) Support us! || Follow us ||

Image
User avatar
Stoker
Site Admin
Site Admin
Posts: 3558
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: top 5 problem on simple portal

Post by Stoker »

You're right. That is the way to do it. The simple portal doesnt use the topics thing from the top five mod.
Board rules! No PM support
Locked