The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Auto Template Edit - Question
Hello Everyone,
I'm new to working with vB code. I have worked with phpBB for about 4 years now and am in love with the fact that vB can let users upload xml files to install mods. I would like to start working on making xml files for users to use and not do manual edits. The only problem, is that I don't know where to start. So I would like the community for some help on how to start this process. For my first one, I want to create a product file to do a template change. The mod that I created can be found here -> https://vborg.vbsupport.ru/showthread.php?t=238554 So any help would be awesome |
#2
|
||||
|
||||
In general changeing the templates is a bad idea,
cause updates = reverts, template changes etc etc.. I personally prefer makeing a plugin, and inside the plugin i find the place where i want the code inside the original template and then use php via str replace to add my new content. And then when vbulletin is updated, i donot have to worry about people updateing, cause if vb changes the template it simple stops working without creating major errors, and i can update my modification with minor changes to the plugin. I made a mod extremely simple, without editing templates i used str replace and added code into forumhome template via vbulletins cache.. exsample Costum tos check out the plugins this modification adds. it looks like alot, but thats becourse my entire template code is placed in the plugin instead of in a template.. i render a blank template, cause some boards wont show the mod otherwise. so thats "just in case" |
#3
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|