View Full Version : Levels in popular tags modul not working when caching
HenrikHansen
04-20-2011, 11:43 AM
When I have enabled module caching for guests, all tags in the popular tags module have the same level (i.e. same font size), when I turn caching off, the module works again.
See problem here: 2. module, 3. column: www.europanet.dk
Brian
04-22-2011, 01:51 PM
Thank you for pointing this out. If you will look in your forum/modules/popular_tags.php file for this code:
if (THIS_SCRIPT == 'adv_index')
And replace with this:
if (THIS_SCRIPT == 'adv_index' AND ($pages['name'] != 'home' OR $vbulletin->userinfo['userid'] OR !$vba_options['portal_guestcache'] OR ($vbulletin->adv_portal_pars['lastupdate'] + $vba_options['portal_guestcache']) >= TIMENOW))
Then that should take care of the issue.
HenrikHansen
04-22-2011, 02:09 PM
Hi Brian. Unfortunately, it did not take care of the issue
Brian
04-22-2011, 02:59 PM
Seems to be working fine on your site for me. Maybe you just needed to wait for the cache to update again?
HenrikHansen
04-22-2011, 03:32 PM
OK, thanks, works fine now
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.