Page 1 of 1

top 5 problem on simple portal

Posted: 18 May 2010, 07:08
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?

Re: top 5 problem on simple portal

Posted: 18 May 2010, 09:40
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 ---------------------------------------------------------//

Re: top 5 problem on simple portal

Posted: 18 May 2010, 15:10
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

Re: top 5 problem on simple portal

Posted: 18 May 2010, 15:58
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.