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.5.4 Rating:
Released: 04-13-2006 Last Update: Never Installs: 55
Uses Plugins
Additional Files  
No support by the author.

3.6 Thread for Support

https://vborg.vbsupport.ru/showthread.php?t=121876

Show Your Support

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

Comments
  #202  
Old 05-18-2006, 12:24 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, instead of adding

Code:
if ($badfadf)
{
$post['blabdfd'] = '234324'324'324234'34;
$do
$some
$very
$complicated
$stuff
}
else
{
$more stuff
}
to, for example, the hook "post_display_complete", you move the code to a function and just call the function "do_very_complicated_things()" in the hook "post_display_complete". The function itself is in the file plugins.php and gets include('plugins.php'); in the hook "global_start"
Reply With Quote
  #203  
Old 05-18-2006, 12:47 AM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does it compare to this hack

https://vborg.vbsupport.ru/showthread.php?t=107615

Would it have to be unistalled?
Reply With Quote
  #204  
Old 05-18-2006, 11:18 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are using gzip the template compression hack is near to useless I think.

But it *should* work with it (you should be able to use both at the same time).
Reply With Quote
  #205  
Old 05-18-2006, 11:25 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i get it orban
Thanks

Still chineese for me tho
Reply With Quote
  #206  
Old 05-18-2006, 11:31 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehehe
Reply With Quote
  #207  
Old 05-18-2006, 02:26 PM
almqdad almqdad is offline
 
Join Date: Jul 2003
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

thanks orban

I have instaled the plugin

I also have Vbulletin Template Compressor

no problem so far
Reply With Quote
  #208  
Old 05-18-2006, 03:27 PM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orban
If you are using gzip the template compression hack is near to useless I think.

But it *should* work with it (you should be able to use both at the same time).
OK, I will give it a try
Reply With Quote
  #209  
Old 05-20-2006, 09:50 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Orban,

We need a real urgent help...
The folder "Template's" chmood needed to be 777.
But our host doesnt allow 777.They are allowing 755 instead of 777.

Could we have an alternate way to install this hack using chmood 755.

Waiting for ur help.
Reply With Quote
  #210  
Old 05-20-2006, 10:29 AM
orban orban is offline
 
Join Date: Jan 2005
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is he running SuEXEC? Then even 700 is fine.

The problem is that usually PHP runs as a different user than the script is, so to write in folders they have to writeable by world.

You could also ask him to chown the templates/ folder "to PHP" so PHP can write files there.
Reply With Quote
  #211  
Old 05-21-2006, 02:57 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orban
Is he running SuEXEC? Then even 700 is fine.
Here Is our System :
System :FreeBSD clust07-www02.powweb.com 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Thu Ma i386

Quote:
Originally Posted by orban
The problem is that usually PHP runs as a different user than the script is, so to write in folders they have to writeable by world.
You could also ask him to chown the templates/ folder "to PHP" so PHP can write files there.
In our host, the host provider does'nt allow ssh. We use Flash FXP for ftp..
would u mind to provide lil.bit more help..how could we do that "to PHP" using FlashFXP ?

Waiting for ur help..

Thnx.

Edit:I search host's forum

http://forum.powweb.com/showpost.php...55&postcount=5
Quote:
As PowWeb uses SuEXECed CGI/PHP, you don't need to use these unsafe permissions of 666/777,
unless the script is badly written and checks the permission explicitly even they are not required.
Reasonable vendors should be able to correct their code without ptoblem.
Using these unsafe permissions on shared hosting is a suicidal act, with the current situation of the internet.
Can we step forward now?
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:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05008 seconds
  • Memory Usage 2,309KB
  • 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_code
  • (4)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
  • (1)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