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)

Andreas 10-01-2008 06:27 AM

The whole page needs to be in the buffer, so I'd say you need at least 50K.

fly 10-01-2008 06:47 PM

Quote:

Originally Posted by Andreas (Post 1634503)
The whole page needs to be in the buffer, so I'd say you need at least 50K.

Instead of setting a hard limit, I just set it to 'On' and I also tried 128k. When I did that, I got even weirder results: A white page with text, but no templates at all. Since I can't get it working with this latest update, and I can't live without TMS, I have disabled output buffering. If you have any other suggestions, I'd love to hear em. Thanks!

aharown07 10-04-2008 02:14 PM

Recently installed TMS but after playing around and reading a good bit I still can't figure out how to use it.
For example... the FAQ here says only customized templates can be modified using TMS... but isn't customizing a template the same thing as modifying it? Isn't customizing it what TMS is for? Clearly, I'm not clear on the concept. Can someone enlighten me?

All I really want to do is add code to templates (maybe sometimes change or remove code) to get the right look for the website... and have some easier way to keep it all intact when doing all those vB upgrades. From those who recommended TMS to me I got the impression that was what TMS is for.

fly 10-04-2008 07:02 PM

Quote:

Originally Posted by aharown07 (Post 1637168)
Recently installed TMS but after playing around and reading a good bit I still can't figure out how to use it.
For example... the FAQ here says only customized templates can be modified using TMS... but isn't customizing a template the same thing as modifying it? Isn't customizing it what TMS is for? Clearly, I'm not clear on the concept. Can someone enlighten me?

All I really want to do is add code to templates (maybe sometimes change or remove code) to get the right look for the website... and have some easier way to keep it all intact when doing all those vB upgrades. From those who recommended TMS to me I got the impression that was what TMS is for.

Did you install it? Did you click on the Template-Modifications Manager? It's pretty straightforward and will do exactly what you want.

Black Tiger 10-04-2008 08:46 PM

Quote:

the FAQ here says only customized templates can be modified using TMS.
Yes that's a bit a strange explanation in the faq. It means that you can only change templates with TMS which are made with TMS as far as I understood it.
So yes, TMS is for customizing. You leave the original templates intact and with TMS you make the changes, which are in fact virtual changes because nothings really get's edited in the original templates.
That's what's making upgrading so easy afterwards.:)

You just have to open the Styles and templates section, choose Template Modification Manager and then on the right side select "add template modification".

dartho 10-04-2008 10:32 PM

Quote:

the FAQ here says only customized templates can be modified using TMS.
If you wish to use TMS to modify templates in a specific style, only customised templates can be changed with TMS. Most custom/additional styles will have customised templates which differ from the default MASTER style.

Otherwise use TMS to modify the MASTER style to make changes to default temapltes across all styles that use them.

aharown07 10-05-2008 04:58 PM

I think I get it now, but just to confirm: what you have to do is make new templates using TMS and then, therafter, you can edit/modify the new ones you made? ... but I could use it to modify Master style templates if for some reason wanted to do that?
But making new ones works for me. Will have to give it go later today or tomorrow and see if I really know how to do that.

Thanks for the help.

I'm also not clear on some of parameters, vars and such, but I think if I RTF(abulous)M some more the vars concept will click.

fly 10-05-2008 05:09 PM

Quote:

Originally Posted by aharown07 (Post 1637985)
I think I get it now, but just to confirm: what you have to do is make new templates using TMS and then, therafter, you can edit/modify the new ones you made? ... but I could use it to modify Master style templates if for some reason wanted to do that?
But making new ones works for me. Will have to give it go later today or tomorrow and see if I really know how to do that.

Thanks for the help.

I'm also not clear on some of parameters, vars and such, but I think if I RTF(abulous)M some more the vars concept will click.

No, you use it to modify the DEFAULT vB templates. ALL of my TMS edits are done to the Master style.

aharown07 10-06-2008 01:01 AM

OK, I went into the Template Modifications Manager.
Selected Add Template Modifation from the Default Style dropdown and clicked Go.
On that form, the Product is set to vBulletin by default. Left it as it was.
The template I want to modify is navbarheader, so I selected that from the Template dropdown.
Gave it a title and a varname.

Now I don't really know what search and replace is for. Just want to paste some stuff in the template.
Didn't know what else to do at that point, so clicked Save.
Error appears: Please select the processing mode. No idea what is. I don't see anything on the form that says "Processing mode" and wouldn't know what to select if it did.

So what am I doing wrong? ... and tell me again how straightforward this is? :D
I'm convinced this is worth figuring out but it's apparently gonna take some figuring.

fly 10-06-2008 09:16 AM

Quote:

Originally Posted by aharown07 (Post 1638230)
OK, I went into the Template Modifications Manager.
Selected Add Template Modifation from the Default Style dropdown and clicked Go.
On that form, the Product is set to vBulletin by default. Left it as it was.
The template I want to modify is navbarheader, so I selected that from the Template dropdown.
Gave it a title and a varname.

Now I don't really know what search and replace is for. Just want to paste some stuff in the template.
Didn't know what else to do at that point, so clicked Save.
Error appears: Please select the processing mode. No idea what is. I don't see anything on the form that says "Processing mode" and wouldn't know what to select if it did.

So what am I doing wrong? ... and tell me again how straightforward this is? :D
I'm convinced this is worth figuring out but it's apparently gonna take some figuring.

Have you ever done a template edit for a hack? Find this, replace with that? Find this, enter this below it? etc?


All times are GMT. The time now is 10:32 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.01806 seconds
  • Memory Usage 1,752KB
  • 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
  • (6)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