The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
serve template from filesystem instead of DB
Hi,
I'm trying to serve the template from filesystem instead of DB so I followed this short tut here: http://www.vbulletin.com/forum/forum...to-file-system there is another tut has been around for a while, but it doesn't work anymore since vb has made a lot of updates and changes: http://www.go4expert.com/articles/ex...-files-t25345/ what I did is the following: 1- created a folder in the root named template_dump with CHmod 0777 2- turned on your debug mode $config['Misc']['debug'] = true; 3- created the files visiting this url on my forum: http://FORUM_NAME.com/admincp/template.php?do=createfiles&dostyleid=your_active_ style 4- moved the folder template_dump to under includes ( includes/vb_templates ) 5- in includes/class_core.php --> replaced protected static function fetch_template($template_name) with can protected static function file_get_contents (DIR. '/includes/vb_templates/'.$template_name.'htm') after all that my forum doesn't work... sounds like there is something wrong... any idea what's going on? Thanks Update: I made a mistake posting in vb3 section where this actually supposed to be on vb4 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|