The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Template Modification System Details »» | |||||||||||||||||||||||||||||||||||||||||||
Template Modification System
Description This modification allows easy management of template modifications. Hack authors can define the necessary template modifications for their products. When exporting a product, all template modifications assigned to this product in MASTER style will be embedded into the product XML and imported on the end-user vBulletin installation automatically if TMS is available. Alternatively, it is also possible to create separate XML files for template modifications. This way, 3rd parties can provide Template-Modification XML files for existing hacks. Hack authors can also export standard template modification instructions as textfiles to package them with their hacks, which allows users that do not have TMS to also install them In case the author defined modifications do not work (eg. the user uses a custom style), the users can easily customize the modifications for their style(s). TMS modified templates transparently, e.g. all Templates can still be modified manually in style manager - they will appear unchanged there. System Requirements This Modification requires MySQL 4.1 or higher - it does not work with MySQL 4.0! If you use MySQL 4.1 series, MySQL 4.1.10 or higher is required If you use MySQL 5.0 series, MySQL 5.0.3 or higher is required TMS 1.2.0 Beta 1 or higher requires vBulletin 4.1.5 or higher vBulletin Compatibility Versions up to and including 1.1.5 are compatible with vBulletin 3.6.X, 3.7.X and 3.8.X Version 1.1.5 is partly compatible with vBulletin 4.0.X and 4.1.X Version 1.2.0 Beta 1 or higher is compatible with vBulletin 4.1.5 or higher vBulletin 4.1.11 or higher is currently not fully supported by TMS. If you use this version please apply the following patch: tms_patch120b4.zip Branding: Please note that TMS puts a small branding/copyright notice in footer - see readme.txt for further details. Version History 1.2.0 Beta 4
1.2.0 Beta 3
1.2.0 Beta 2
1.2.0 Beta 1
1.1.5
1.1.4
1.1.3
1.1.1
1.0.0
1.0.0 RC 1
1.0.0 Beta 4
1.0.0 Beta 3
1.0.0 Beta 2 First public Beta Download Now
Screenshots
Show Your Support
|
11 благодарности(ей) от: | ||
alhidaya, Hostboard, izenberg, misericorde, mohammadxxx, o0mohammed0o, Simon Lloyd, Skaut, SWSUSA, usHealthy |
Comments |
#402
|
|||
|
|||
Quote:
What's that? |
#403
|
|||
|
|||
Quote:
But the template doesn't seem to be modified either... at least, when I display it afterwards, it looks the same as it did before. I'm afraid I'm not finding the form intuitive at all. A step by step guide would sure be helpful. |
#404
|
|||
|
|||
But thats the point, the template itself remains the same, so upgrades happen flawlessly. I'm really not sure how it could be explained better. Maybe you should stick to template edits... :P
|
#405
|
|||
|
|||
TMS (Template Modification System" is a tool for making modifications to existing templates.
Lets say you have a vbulletin template which had the following line in it: HTML Code:
<div>This is the title!</div> You could simple edit the template and add appropriate tags, and viola - it would be done. However, a future version of vbulletin may update that template and then you would need to re-apply the edits. Using TMS, you can 'Search for Text' <div>This is the title!</div> and choose to 'Replace with Text' <div><strong>This is the title!</strong></div> and TMS will edit your template for you. If a future release of vBulletin modifies that template, your edit will remain - if it modifies the section of teh template you have edited, you will be alerted to this and will then be able to easily update your TMS edits. I have a heavily customised site based on the default style - ALL of it is done with TMS - my last upgrade required zero additional effort other than uploading files and running the upgrade script. Learn how to use it - you'll be glad you did! |
#406
|
|||
|
|||
Thanks for your patience! I think I get it now... but really this time.
You don't really change the templates, you store your changes and TMS applies them as though you changed the template. So... TMS doesn't actually "modify templates." That's what was tripping me up... I'm just way, way too literal at times (ADHD? autism? Nah... just a nutcase). Seriously though, who would have thought "Template Modification System" was a "system for avoiding actual modifications to templates"? I definitely see that avoiding actually changing the templates is the advantage though. So... since I have a number of templates already edited, what I could do now is put those edits in text files temporarily, revert all the templates and then use TMS to faux-modify them. Then, going forward, vBulletin just sees unmodified templates and upgrades them normally while TMS continues applying my "modifications." A couple questions though: what happens if... 1. My "insert after" string is not unique... will TMS apply my new code more than once? 2. A future template upgrade by vB removes/alters the string I placed my modification in place of/after/before? |
#407
|
|||
|
|||
This one's already been answered... it notifies you at upgrade time.
|
#408
|
||||
|
||||
1.) I'm not sure about that, but if it's not unique, just paste more code in the "search for" window (the upper window) so that it -is- unique. If done that way, you are always sure it only changes the one thing you want changed.
2.) vB upgrade will change nothing of your TMS system. If a template get changed by vBulletin this is what happens: a.) You upgrade your vbulletin b.) You login to your admincp c.) TMS system will doe a check automatically or at least if you refresh your screen once. Then it will see things are changed, you get a list of OK templates which you changed in TMS, but the templates which are change by vBulletin will get a sign that it's not oke, you will get notified. d.) You check the original vB template for the changed code and change the changed code in your TMS system. e.) Rerun the template check from TMS and all will be fine. |
#409
|
||||
|
||||
Thanks for this great mod! Installed and nominated!
|
#410
|
|||
|
|||
Quote:
|
#411
|
|||
|
|||
I think I have the concept now, but some how-to is still eluding me.
I want to change the way the private message quota progress bar displays. I'm told this is in the pm_messagelist template. So I go to the Template Modifications Manager and select "Add Template Modification" under Default style. Problem: the Template dropdown doesn't show pm_messagelist as an opition... in fact it only shows a dozen or so templates. This must have something to do w/what I was discussing earlier... can only modify customized templates? But I got the impression there was no need to create a new style, so not sure where to go next. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|