PDA

View Full Version : Uncached Templates



NeutralizeR
05-21-2007, 02:26 PM
(2 queries for uncached templates) [Server Loads: 0.83 0.73 : 0.77]
Uncached templates: adv_portal_archivebits_exp (10)
Uncached templates: adv_portal_archivebits_exp_head (2)

Where should i add these templates? global or special?

vba_cmps_include_template.php


$specialtemplates = array_merge($specialtemplates,
array(
'adv_modules',
'adv_portal_cale',
'adv_portal_home',
'adv_portal_opts',
'adv_portal_page',
'adv_portal_tpst',
'attachmentcache',
'bbcodecache',
'birthdaycache',
'eventcache',
'iconcache',
'maxloggedin',
'rankphp',
'smiliecache',
'userstats'
)
);

$globaltemplates = array_merge($globaltemplates,
array(
'adv_portal',
'adv_portal_footer',
'adv_portal_nodisplay'
)
);

NeutralizeR
05-21-2007, 02:40 PM
This fixed the problem:


$globaltemplates = array_merge($globaltemplates,
array(
'adv_portal',
'adv_portal_footer',
'adv_portal_archivebits_exp',
'adv_portal_archivebits_exp_head',
'adv_portal_nodisplay'
)
);:)

Another issue is the user ranks if you entered them as full urls like:

http://www.msxlabs.org/forum/ambience/ranks/bbadmin1.gif

vBadvanced tries to display them as:

http://www.msxlabs.org/forum/http://www.msxlabs.org/forum/ambience/ranks/bbadmin1.gif

so i edited welcomeblock.php file:

Replace:

$vbulletin->userinfo['rank'] = str_replace('src="', 'src="' . $vbulletin->options['bburl'] . '/', $vbulletin->userinfo['rank']);

with:

$vbulletin->userinfo['rank'] = str_replace('src="', 'src="', $vbulletin->userinfo['rank']);

Our Sponsors
 

Brian
05-21-2007, 02:42 PM
You really should edit the module and add those template names in the "Templates Used" section instead. Though that should have been done automatically during the upgrade...

DementedMindz
05-21-2007, 02:56 PM
You really should edit the module and add those template names in the "Templates Used" section instead. Though that should have been done automatically during the upgrade...

nope i had the same problem but I added them to Templates Used and all was fine.

Our Sponsors
 

Zachariah
07-22-2007, 03:26 PM
This is something that must be added to the "News Module".

vBa CMPS => Edit Modules => [News]
- Main Options
-- Templates Used

Add:
adv_portal_archivebits_exp
adv_portal_archivebits_exp_head

- 3.0 RC1, I ran into this when I selected a thread for the front page.
- perhaps the next version will have it.

Zachariah
07-26-2007, 10:11 PM
- perhaps the next version will have it.

Bump
- :D:D well I did a new install so I popped back to yell that this needs to be "tagged" for next update.

-- Add "adv_portal_archivebits_lean" also

Thanks Sir.

Brian
07-28-2007, 03:09 PM
Tagged. ;)

NeutralizeR
09-09-2007, 04:24 PM
Uncached templates: adv_portal_archivebits_exp (7)Uncached templates: adv_portal_archivebits_exp_head (1)

Same problem again for 3.0 RC2.

Tom M
09-09-2007, 04:39 PM
Same problem again for 3.0 RC2.I just ran into this as well. Got rid of the error by adding them to the list of templates used in the news module.

Netsurfer
02-11-2008, 03:14 AM
I also have the same problem with adv_portal_newsbits_attach_thumb (1)

Where do I add this one?

Brian
02-12-2008, 04:03 PM
The 'adv_portal_newsbits_attach_thumb' template should already be included, but you can add it to the 'Templates Used' section for your news module if it's not already there.