vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Template Modification System (https://vborg.vbsupport.ru/showthread.php?t=152931)

NFLfbJunkie 08-01-2007 03:33 PM

So with this MOD are template edits done within TMS and no longer by pulling up the template from the appropriate style and then doing the edits? Also, after each template edit, are you supposed to export the template edit to use in the future should there be upgrades to the vBulletin software, thus not needing to redo all of your previous template edits?

Also, I noticed that the only style I have on my board is the Default style; I do not see a Master style. Should I have both?

Finally, on my board so far I have the following MODs installed along with all of the required template (and file) edits:
Thread Prefixes
Move Display Options Above Threads
Change Thread Prefix Inline
ibProArcade
vBadvanced CMPS
vBCredits
vBCredits with ibProArcade
Vb Save Drafts (MOD from vBHackers.com)
Project Tools

Do I need to uninstall these MODs beofre installing TMS or is there something I need to do with them after I install TMS?

Andreas 08-01-2007 05:44 PM

Quote:

Originally Posted by Junkie (Post 1307213)
So with this MOD are template edits done within TMS and no longer by pulling up the template from the appropriate style and then doing the edits?

TMS applies template modifications to compiled templates; the template source is not being modified.
If you use TMS for all your template modifications, it is not necessary to manually edit templates.

Quote:

Also, after each template edit, are you supposed to export the template edit to use in the future should there be upgrades to the vBulletin software, thus not needing to redo all of your previous template edits?
You do not have to export template edits. This is only necessary if you want to copy template edits to another vBulletin installation or share them with other users.

Quote:

Also, I noticed that the only style I have on my board is the Default style; I do not see a Master style. Should I have both?
MASTER style is only visible in debug mode, but it is not necessary to turn on debug mode to add template modifications in MASTER style.

Quote:

Do I need to uninstall these MODs beofre installing TMS or is there something I need to do with them after I install TMS?
Do NOT uninstall these modifications! If you do so, you will loose the data.
However, you can undo the template edits you did manually for those modifications and add them to TMS instead. This is recommended to avoid having to manually update templates on vBulletin upgrades.

NFLfbJunkie 08-01-2007 05:51 PM

Quote:

Do NOT uninstall these modifications! If you do so, you will loose the data.
However, you can undo the template edits you did manually for those modifications and add them to TMS instead.
I don't quite understand what it means to "add them to TMS instead" after I undo (revert) the template edits I have done manually. Should I revert all of my templates that I have edited? And if so, afterwards, what do I have TMS do? I am not familiar with TMS just yet so any guidance would be appreciated.

NFLfbJunkie 08-01-2007 05:54 PM

One other question I have is this MOD has nothing to do with files (i.e., .php files) that are edited as a result of adding MODs, correct? These will have to be re-edited regardless if an upgrade is done to the vBulletin software?

Andreas 08-01-2007 06:17 PM

See FAQ:
https://vborg.vbsupport.ru/showpost....59&postcount=2

This explains what to do with manually applied template modifications.

NFLfbJunkie 08-01-2007 06:25 PM

In some case the code that you are asked to search for may not be exactly what is in your template, so what should one do in these cases. For instance if I add a Template-Modification and put something in the for the search and replace text fields, what happens if the search text doesn't exactly match what the existing template has?

Andreas 08-01-2007 08:29 PM

Then it won't work :)
If the instructions do not work for your Template, it most likely means your template has been customized.
So you have to modify the search/replace text to meet the requirements for your template - as you would do if you are manually editing templates.

NFLfbJunkie 08-01-2007 11:53 PM

Are plugins & products supposed to be uploaded through the Plugins & Products sections of the AdminCP, while Template Modifications get uploaded through this MOD. Also, and maybe this question is off target, but when importing plugins, aren't template modifications being made, and if so, how are these edits separated from the edits a Template MOD makes?

Andreas 08-02-2007 06:39 AM

You can import & export templates modifications through Styles & Templates / Template-Modifications Manager.
However, if a product directly supports TMS you don't have to do anything - the template edits are contained within the product XML and will be imported as well.

Funboy 08-02-2007 11:20 AM

Great Mod, Thx for your hard work Andreas.

Regards
Funboy


All times are GMT. The time now is 05:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01320 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete