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?
top 5 problem on simple portal
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!
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!
- Stoker
- 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
*Open index.php
Find:
Replace with:
Find:
Code: Select all
//-- mod: top five ---------------------------------------------------------//
include($phpbb_root_path . 'includes/top_five.' . $phpEx);
//-- end: top five ---------------------------------------------------------//
Code: Select all
//-- mod: top five ---------------------------------------------------------//
include($phpbb_root_path . 'includes/portal/top_five.' . $phpEx);
//-- end: top five ---------------------------------------------------------//
Board rules! No PM support
Re: top 5 problem on simple portal
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..
- Stoker
- 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
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