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)

Hawaiian-TV 01-26-2008 08:51 PM

Quote:

You should never ever modify templates in MASTER style (unless they are templates of a product you are deveoping).

Voila' ... the modifications were done on all templates. I was impressed!


I thought that was the point: Modify only the MASTER template manually, and all your other style templates are automatically modified along with that template ... and revertable back with a single button click? At least it would make sense to me that that is the way it would or should work.
Quote:

You can't 'uninstall' templates vir product manager, only producst?

Yes, I know you can't uninstall templates via the product manager but what I said is that I went to uninstall a "product" (also called "add-ons") that required manual template edits. Those required manual template edits for that product were done on the MASTER template using the TMS system and when I hit the Revert button, they didn't revert, as the button seems to indicate, ... it's very misleading.


Quote:

If you manually modified a template in MASTER style, TMS won't ever revert those changed - as it has nothing to do with the modifications anyway.
What do you MEAN "it has nothing to do with the modifications anyway"? I modified only the MASTER template! .. and TMS then modified all my other templates the way I modified the MASTER template.... so it has EVERYTHING to do with the modifications, "anyway". Then I don't understand the purpose of this product. Please explain again what it does?

Quote:

It is clearly stated in the readme.txt that TMS puts a branding in the footer.
Oops! You're right. It didn't say however that the branding would be in German and also doesn't say this on this Modifications Forum in this thread. Please add it to the sticky description at the top of each page here so people won't miss it.

Quote:

There is no reason for such action; TMS runs fine on dozens of production sites.
Please then also publish a manual for TMS that shows in detail how to use it. I'm very confused about what this product really does (except for making it super easy to ruin all your templates in seconds at the single click of a button and wind up with German footers at the bottom of EVERY PAGE you didn't think you had to read about in the readme.txt file because such things are important enough that you'd expect them to have to be in a LARGE BOLD PRINT "NOTE:" right on the description page). :rolleyes::mad::confused:

All I can say is, this product wasted about 8 hours of my time today because I had to restore a whole database from a couple of days ago because of using this product. Good thing I had backups. CAUTION: IF YOU USE TMS, KEEP BACKUPS OF YOUR SITE... AND WAIT UNTIL FULL DISCLOSURE IS MADE ON THIS PRODUCT ON THE DESCRIPTION PAGE and a MANUAL IS PUBLISHED first on how to use it properly or I still recommend it be retired immediately to the Product Graveyard.

Thanks for the fast response. I hope you fix this soon, if it does what I tried to make it do, I would like to use it! :)

Computerman

Ingress 01-27-2008 01:15 PM

Quote:

Originally Posted by Hawaiian-TV (Post 1429588)
CAUTION: IF YOU USE TMS, KEEP BACKUPS OF YOUR SITE

Making backups before any such edit is mandatory. Any modification is tested and installed three times until it is finally live on my site:

1. I install it on a local copy and test installation, deinstallation, template edits and so on
2. I install it on a live copy (testforum) and let selected users (usually the staff) test the new functionality and documention I created or adapted thoroughly.
3. I install the mod in my live environment

I don't like my site being a beta-test-area for anything so these steps almost guarantee that nothing will go wrong with my live site as nobody else can and will since you cannot predict how a mod will act on your site with probably some other mods.

From that point of view I can't understand why this mod should go to the mod-graveyard. It's up to the site-admin to prevent problems with his live environment.

Kind regards,

Ingress

Icy 01-27-2008 02:07 PM

@Hawaiian-TV - Installs: 359! Assuming 300 people are using this (including me) Nobody got any complain against the HOW TO instructions & the modification description but you. The product didn't waste your 8 hours, you did! Never mind but your words sound like more ordering than requesting.

phenom21 02-02-2008 02:06 AM

can u use this on 3.6.8

dartho 02-02-2008 10:03 AM

Quote:

can u use this on 3.6.8
Yes I have it running on a 3.6.8PL2 and 3.7 Beta 4

baz_kingfish 02-05-2008 02:17 AM

I uploaded all of the respective files and installed your product on vBulletin 3.6.8, and it seemed to install ok. However, when I go into the "Templates Modifications Manager" and select "Add Template Modification" from the drop down list for my "Default Style"... nothing happens! I get a little yellow yeild sign with "page error" in the bottom left corner of my browser...that's it? :confused:

I can and did, however, upload the Welcome Message XML through the "Up/Download Template Modifications" link and that appears to be working correctly in my forum.

Any idea why the "Add Template Modification" function is not working?

Please advise,
KF

baz_kingfish 02-05-2008 03:10 AM

Quote:

Originally Posted by Andreas (Post 1298174)
Try the attached JS file.
I'll also update the package later.

Well, you must not have updated the "package" download yet. I found this fix and implemented it. All seems to be working now, and I successfully made my first manual update. You may want to update the download to save future users the grief of alot of reading through this thread! :(

Thanks,
KF

Andreas 02-05-2008 08:38 AM

Quote:

Originally Posted by Hawaiian-TV (Post 1429588)
Yes, I know you can't uninstall templates via the product manager but what I said is that I went to uninstall a "product" (also called "add-ons") that required manual template edits.

If you are uninstalling a product that requires manual template modifications, you must manually undo those when you uninstall it.
Template Modifications for a certein product/addon done through TMS should be automatically undone when you uninstall ist

Quote:

Those required manual template edits for that product were done on the MASTER template using the TMS system
This sounds confusing to me.
As already stated, you should never-ever manually modify MASTER templates!

[quote]when I hit the Revert button, they didn't revert, as the button seems to indicate, ... it's very misleading.[/COLOR][/COLOR]
When exactly did you click Revert?
  • If it was in some style (not MASTER) in Style Manager, the template will revert to the inherited template (which might be the MASTER template or a template customized in a parent style
  • If it was in MASTER style in Style Manager the template will be deleted (as there is nothing left to revert to)
  • If it was in some style (not MASTER!) in Template Modifications Manager, the template modification will revert to the inherited template modification (which might be the MASTER template modification or a template modification customized in a parent style
  • If it was in MASTER style in Template Modifications Manager, the template modification will be deleted (as there is nothing left to revert to)

Quote:

Then I don't understand the purpose of this product. Please explain again what it does?
It does modify the templates before the are saved in compiled state.

Quote:

Please add it to the sticky description at the top of each page here so people won't miss it.
Erledigt.

baz_kingfish 02-05-2008 12:48 PM

Quote:

Originally Posted by Andreas (Post 1436634)
This sounds confusing to me.
As already stated, you should never-ever manually modify MASTER templates!

That being the case, why do you even ALLOW modification of MASTER templates in the TMS system? Furthermore, why does the respective drop down list default to "MASTER". I accidentally made a minor mod to a master template even though I had selected "Add Mod..." in the drop down on the line that said "Default Templates". Somehow, the mod showed up in the TMS on BOTH the MASTER and Default. If it is that big of a deal, you should certainly NOT make the drop downs default to MASTER. Makes no sense...:confused:

Just my 2 cents...
KF

Andreas 02-05-2008 01:51 PM

You should not manually modify MASTER templates; adding template modifications in TMS to MASTEr style is fine.


All times are GMT. The time now is 11:27 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.03602 seconds
  • Memory Usage 1,762KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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