The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Rebuild templates one by one..
YES, my first request of the decade...
i'm too lazy today, the newborn is taking all my energy, so i will request it, as a challenge... the process is supposed to be simple, but i need it to be clean. in a single file call, i need to rebuild all the templates in the system, and be able to apply some filters before saving the results. so, i need something like: A: $templates = SELECT * FROM ".TABLE_PREFIX."template B: foreach($templates AS $template), apply a great filter that will clean all useless spaces and characters... C: save the new templates, and template_un... nothing else changed (or cheat and change the username!) ... i have most of it, maybe someone can build it, and be the king of the day ?! the use of this hack can be multiple: we can even give the job to filter all comments in html "<!-- -->", delete useless spaces between tags like "<tr> <td>" ... and by this, ease the job for some designers that wish to clean the entire list of templates... ... forget it, i found the key... had to build a simple hack, anyway not useful for anybody.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|