PDA

View Full Version : Fetch templates from file instead of database


mokujin
02-02-2016, 06:09 AM
Hello,
Is there a way to move templates to files (html, tpl, etc.) instead of fetching them from Database? vb4 or vb3.
Everytime I want to edit I need to go to admincp.

Thank you :-)

Dave
02-02-2016, 11:43 AM
That would require quite some modifications to vBulletin's core files. There's no easy way as far as I know.

squidsk
02-02-2016, 08:03 PM
What's wrong with editing them from admincp?

z3r0
02-03-2016, 05:55 AM
You could always try editing with WebDAV - https://vborg.vbsupport.ru/showthread.php?t=273789

webmastersun
02-04-2016, 05:01 AM
Hello,
Is there a way to move templates to files (html, tpl, etc.) instead of fetching them from Database? vb4 or vb3.
Everytime I want to edit I need to go to admincp.
Thank you :-)

I think this is a good idea and should change to this instead of using database for loading templates

What's wrong with editing them from admincp?

It can improve server resource and loading for forums.

squidsk
02-04-2016, 09:43 AM
It can improve server resource and loading for forums.
That answers a different question from what was asked both by the OP and myself. The OP asked for them in the filesystem in order to edit them, to which I asked whats wrong with editing them in admincp, not what benefit would there be from storing them in the filesystem. Whether or not they're stored in the filesystem, which can't be easily changed for any version of vbulletin, the question was why not edit them through admincp?

blind-eddie
02-04-2016, 10:24 AM
Sounds a lot like a flat file system, which I like but, not very secure.