Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Plugin Based Template Cache Details »»
Plugin Based Template Cache
Version: 1.0.3, by orban orban is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.0 Rating:
Released: 07-22-2006 Last Update: Never Installs: 153
Uses Plugins
Additional Files  
No support by the author.

Removed on author's request.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #212  
Old 12-25-2006, 01:07 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Orban, you rock. Thanks for the updated template_cache.php. I have tested this on two template changes and it worked fine. I even tested it on Locigian's webTemplates and it worked fine after I updated them.

Thanks for working on Christmas Day and Merry Christmas to you
Reply With Quote
  #213  
Old 12-25-2006, 03:17 PM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RS_Jelle View Post
Include also works if you add ./, I understand your opinion about moving servers etc.

So it would become:
PHP Code:
include_once('./template_cache.php'); 
The product.xml has "include_once" in the two admin_ hooks and just a single "include" in the style_fetch which shouldn't be called twice in any occasion anyway...hmmm...


Quote:
Originally Posted by RS_Jelle View Post
Another small suggestion: add the version check system and an url to the product xml, that's easier to manage the products on your site.
Gonna have a look. Maybe.
Reply With Quote
  #214  
Old 12-26-2006, 06:02 AM
gothicuser's Avatar
gothicuser gothicuser is offline
 
Join Date: Apr 2004
Location: Kernow, Nr. UK
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Orban, did you have a chance to look into the vBAdvanced problem mentioned HERE?
This mod is really great, but because we use vBA is untennable at the moment.
Works perfectly from within the 'forum' folder, and has no problem whatever with the few other hacks we have installed (Zoints local/DownloadsII/VBSEO Sitemapper/GARS/GAL)

Thankyou for your time
Reply With Quote
  #215  
Old 12-26-2006, 08:37 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try to set the "Full Path to the Template/ Folder" option? Enter an absolute path.
Reply With Quote
  #216  
Old 12-26-2006, 10:10 AM
gothicuser's Avatar
gothicuser gothicuser is offline
 
Join Date: Apr 2004
Location: Kernow, Nr. UK
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orban View Post
Did you try to set the "Full Path to the Template/ Folder" option? Enter an absolute path.
Yes, I did that. One question though, does it need the trailing slash (as in /home/public_html/fred/forum/ ?)

I also notice that it is falling over only on the 'Header/Navbar' replacements that are entered into the vBAdvanced settings. e.g. I have entered replacements for obvious files such as login.php, private.php, memberlist.php etc. and when the template_cache is enabled these links do NOT function (they try to use the 'root' path). I have NOT entered replacements for the gallery or external FAQ installations, but these links DO work.

Clear as mud?? tell me about it

Thankyou very much for your prompt reply.
Reply With Quote
  #217  
Old 12-26-2006, 10:24 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gothicuser View Post
Yes, I did that. One question though, does it need the trailing slash (as in /home/public_html/fred/forum/ ?)

I also notice that it is falling over only on the 'Header/Navbar' replacements that are entered into the vBAdvanced settings. e.g. I have entered replacements for obvious files such as login.php, private.php, memberlist.php etc. and when the template_cache is enabled these links do NOT function (they try to use the 'root' path). I have NOT entered replacements for the gallery or external FAQ installations, but these links DO work.

Clear as mud?? tell me about it

Thankyou very much for your prompt reply.
It's because many addons use run-time str_replace of templates (don't ask me why).
Yes, trailing slash.

/home/public_html/fred/forum/templates/
Reply With Quote
  #218  
Old 01-01-2007, 09:58 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to get this mod to work with mods that change messages posts?

Specifically this mod:

BBcode Manager 1.32 : New looks for your quote, html, php and code bbcodes !
https://vborg.vbsupport.ru/showthread.php?t=120073

The author of that mod has left it orphaned so I won't get any help there....so I am hoping that something can be done through this mod to make it compatible.

(crossing my fingers)

The problem seems to be that because the message is getting cached it won't allow the new graphics in the above mentioned mod. I'm not really sure why though.

Thanks!
Reply With Quote
  #219  
Old 01-02-2007, 07:43 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exclude the following templates in the template cache settings:

bbcode_quote
bbcode_code
bbcode_highlight
bbcode_php
bbcode_html
Reply With Quote
  #220  
Old 01-02-2007, 01:51 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orban View Post
Exclude the following templates in the template cache settings:

bbcode_quote
bbcode_code
bbcode_highlight
bbcode_php
bbcode_html
Thank you for going through the hassle for this Orban

I tried butting the above in the "Exclude Templates" box in the template cache system but the image quotes still are not displayed.

Again, thanks!
Reply With Quote
  #221  
Old 01-02-2007, 05:17 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's another incompatibility

After enabling your template cache the "Count of unread posts in the welcome box" stopped working....The hack is here:
https://vborg.vbsupport.ru/showthread.php?p=1149261

Thanks again for your help!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08308 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete