The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
Hmm I can not see the debug at footer..... you put debug on via config.php right?
Here is a screen of mine |
#12
|
||||
|
||||
![]()
I did it in the admincp. vBulletin Options > General Settings > Add Template Name in HTML Comments
Where in config.php would it be? These are the only options I have in my config.php: // ****** DATABASE SERVER NAME ****** // ****** DATABASE USERNAME & PASSWORD ****** // ****** DATABASE NAME ****** // ****** TECHNICAL EMAIL ADDRESS ****** // ****** PERSISTENT CONNECTIONS ****** // ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ****** // ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ****** // ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ****** // ****** USERS WITH QUERY RUNNING PERMISSIONS ****** // ****** UNDELETABLE / UNALTERABLE USERS ****** // ****** SUPER ADMINISTRATORS ****** |
#13
|
||||
|
||||
![]()
Ok did a search on vB.com and saw http://www.vbulletin.com/forum/showt...ighlight=debug
Going to add to script right now... |
#14
|
||||
|
||||
![]()
Ok I see it. In arcade.php the uncached templates are
ARCADE (1) arcade_header (1) arcade_main (1) arcade_main_alerts (1) arcade_main_alerts_bit (1) arcade_main_games_bit (10) arcade_main_news (1) arcade_main_news_bit (4) arcade_main_welcome (1) Will caching them improve performance, and if so, how do I go about caching them? |
#15
|
||||
|
||||
![]()
You may wish to redownload the hack, due to same hack and I do not have any uncashed.
|
#16
|
||||
|
||||
![]()
Hmm. I seem to have a couple extra lines in my arcade.php - probably from an arcade hack.
This is not in the original arcade.php: Code:
// ######################### REQUIRE BACK-END ############################ require_once('./global.php'); // pre-cache templates used by all actions $globaltemplates = array(); I have another hack on my forumhome (random arcade game) that also isn't cached. Any idea how I would cache that? |
#17
|
||||
|
||||
![]()
By
Code:
$_GET[do] == "main" ) { Code:
$globaltemplates = array( 'ARCADE', 'arcade_header', 'arcade_main', 'arcade_main_alerts', 'arcade_main_alerts_bit', 'arcade_main_games_bit', 'arcade_main_news', 'arcade_main_news_bit', 'arcade_main_welcome' ); |
#18
|
||||
|
||||
![]()
I have that:
Code:
// ######################### MAIN ARCADE PAGE ############################ if ($_GET['do'] == "main") { // pre-cache templates used by all actions $globaltemplates = array( 'ARCADE', 'arcade_header', 'arcade_main', 'arcade_main_alerts', 'arcade_main_alerts_bit', 'arcade_main_games_bit', 'arcade_main_news', 'arcade_main_news_bit', 'arcade_main_welcome' ); require_once('./global.php'); require_once('./includes/functions_user.php'); require_once('./includes/functions_arcade.php'); if ($arcadegeneral['challengescores'] == 1) { $sessionclause = "sessiontype IN (1,2)"; } else { $sessionclause = "sessiontype=1"; } $navbits = array(); $navbits[""] = "Arcade"; ![]() |
#19
|
||||
|
||||
![]()
You guys have been very helpful thus far -- can you help me a little bit more? (bump)
|
#20
|
||||
|
||||
![]()
Bump. How can I cache templates?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|