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 |
#162
|
||||
|
||||
Quote:
"customized template support" refers to templates that are specific to a certain style |
#163
|
|||
|
|||
Sorry for the missunderstanding. I recheck & finally understand how it works. In master style I'll find all templates & in normal style I'll find only those templates which has been customized/edited.
Anyway I believe there is a bug. When I enable the TMS I can edit templates but I can't save it because there is no Save or Save & Reload button. If I disable TMS then everything go back to normal. I've attached 2 screenshot. I reproduced the problem both in Firefox & Opera. I have not try Internet Explorer though. |
#164
|
||||
|
||||
@yoyoyo
Erm, TMS works just fine with custom/customized templates? Do you want to create "virtual" templates, eg. advise TMS to apply modification X to template foo in style Y only, without template foo being customized in style Y? That is (and most likely never will be) possible: If a template is not customized in a certain style, it does not physically exist - it's just a reference to the inherited template. @Icy Sorry, but I can't help you (without an ACP login for you board) as I am unable to reproduce the problem locally. |
#165
|
|||
|
|||
PM sent
|
#166
|
||||
|
||||
@All those having problems with TMS in ACP (Style Manager & Product Manager)
Could you check if the attached plugin fixes the problems? |
#167
|
|||
|
|||
Sorry, this might not be any useful post as I just wanted to know if this hack can be use in 3.5.4 version of vbulletin?
Thanks |
#168
|
|||
|
|||
maybe I was dumb...I installed this hack on 3.5.4 and it give me this error
HTML Code:
Database error in vBulletin 3.5.4: Invalid SQL: ### INSERT QUERY GENERATED BY fetch_query_sql() ### INSERT INTO plugin (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`) VALUES ('1', '5', 'Event-Handler: Produkt aktivieren/deaktivieren', 'admin_complete', '// Handle enabling/disabling Product \r\nif (($_REQUEST[\'do\'] == \'productenable\' OR $_REQUEST[\'do\'] == \'productdisable\') AND $vbulletin->GPC[\'productid\'] AND $vbulletin->adminloggedin AND can_administer(\'canadminplugins\'))\r\n{\r\n global $product_update;\r\n if (is_array($product_update) AND !empty($product_update))\r\n {\r\n require_once(DIR . \'/includes/adminfunctions_templateedits.php\');\r\n if ($_REQUEST[\'do\'] == \'productenable\' OR !in_array(\'tms\', $product_update))\r\n {\r\n $templates = array();\r\n $templatesq = $vbulletin->db->query_read(\"SELECT template FROM \" . TABLE_PREFIX . \"templateeditlocation WHERE product IN (\'\" . implode(\"\', \'\", $product_update) . \"\') GROUP BY template\");\r\n while ($templateedit = $vbulletin->db->fetch_array($templatesq))\r\n {\r\n $templates[] = $templateedit[\'template\'];\r\n } \r\n }\r\n else\r\n {\r\n define(\'TMSDEACTIVATED\', true);\r\n $templates = \'\';\r\n }\r\n rebuild_template_edits(\'\', $templates);\r\n }\r\n}', 'tms'); MySQL Error : Unknown column 'executionorder' in 'field list' Error Number : 1054 Date : Monday, November 19th 2007 @ 03:48:36 AM Script : http://nyunyu.info/animeproject/admincp/plugin.php Referrer : http://nyunyu.info/animeproject/admincp/plugin.php?do=productadd IP Address : 121.xxx.xxx.xxx Username : nyunyu Classname : vb_database how to revert back? |
#169
|
|||
|
|||
Edit: Confirmed by Andreas that it will not be compatible
[S]you may be able to get it running under 3.5.4 by editing the product-tms.xml file and replace all occurences. BUT - If there are 3.6.x code dependent hooks, it likely will not work and you may need to disable all plugins so you can then uninstall. AFter looking through all the posts in this thread, there is no menation of people NOT being able to get it working on 3.5.x..... yet[/s] [s]<plugin active="1" executionorder="5">[/s] with [s]<plugin active="1">[/s] [s]then try and install again?[/s] Otherwise the uninstallation instructions in the readme.txt file are: Quote:
|
#170
|
||||
|
||||
Due to the fact that there are no "always execute" installation codes (eg. version = *) in vBulletin 3.5.x, you won't be able to get this working properly on 3.5.x.
|
#171
|
||||
|
||||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|