Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 06-30-2002, 02:58 AM
Amax
Guest
 
Posts: n/a
Default

No I am not asking you to remove the subject, I know how to do that myself, but it would be easier for me to remove the subject in the replies if I only had 1 template to work with. I tried doing this already but it looked as if I had to edit each and every template individually to remove only one thing.

All I am asking is for you or someone else that would do it, to make all of my templates, point to one like you said, or to just have one. I have no idea how these templates work.
Reply With Quote
  #22  
Old 06-30-2002, 03:27 AM
Amax
Guest
 
Posts: n/a
Default

Ok, I am almost done removing all the subjects in the replies, but I am still asking if it is possible to have 1 template, and still 3 styles, and each one of my styles has its own custom header/footer.
Reply With Quote
  #23  
Old 06-30-2002, 12:49 PM
heretic's Avatar
heretic heretic is offline
 
Join Date: Nov 2001
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

by looking at your forum, since the style "bayskate layout" seems to have the header made differently, you would need to keep the template set seperate from the others.


templates are the actual HTML bits the forum code puts together, the code assembles the bits and puts in the information, then sends it to the browser.

if your styles had EXACTLY the same layout in the templates (i.e. whenevery you edited a template, you have always done all 3), then all you would need to do is go to edit style properties under styles and choose a template set for each one. Make them all the same set, and when you have all 3 styles using the same template set, then you can delete the others. This will leave only one template set to use. All images and colors will remain different.

if there's any difference that you've put in the templates to make the styles look different, then it would be best to keep a seperate template for each style.


I can't really explain if further.. if it's still too much trouble, best thing to do is to stick it out and wait for vb3, which will give you the ability to edit all templates at once
Reply With Quote
  #24  
Old 06-30-2002, 05:31 PM
Amax
Guest
 
Posts: n/a
Default

You actually explained that really well! I guess its not so hard afterall to edit each template individually, especially when I only have 3, some people have many more. It looks like the last time I tried to edit my templates I had done something wrong, but I did it right this time. So thanks for your help, Now I get it! And yeah, I heard vb3 is going to be much better with templates.
Reply With Quote
  #25  
Old 06-30-2002, 09:31 PM
heretic's Avatar
heretic heretic is offline
 
Join Date: Nov 2001
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad I could help

at one time I had about 16 template sets
Reply With Quote
  #26  
Old 06-30-2002, 09:34 PM
Amax
Guest
 
Posts: n/a
Default

Then I have no idea what I'm complaining about
Reply With Quote
  #27  
Old 01-25-2003, 03:26 AM
imported_gopherhockey imported_gopherhockey is offline
 
Join Date: Jan 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I apologize for jumping in late here, but could someone explain one part of this a little further for me?

Here is my setup: 2 styles, 2 templates. Default and Blue

Default is obviously what I started with, many templates were modified (many!) before I created the new set Blue.

I created Blue out of Default (sounds like a bible story now doesn't it? hehe) Anyway.. blue only requires one or two templates to be different (header is one of them). The rest are a giant PAIN because when I modify one, I have to jump over and modify the other.

Then I notice the Template Set drop-down box. It shows both default and Blue. One might think if I only wanted to use one set I could change all these to default except for the ones I do want to keep separate. However, this doesn't seem to work.

"default" in this instance doesn't seem to necessarily reference the Default style templates that I have modified, but the actual real default un-modified template.

Here is an example:

I go into my Default style, memberlist template and modify it so it shows the msn, aol etc. icons. Now I jump over and started editing blue (cut & paste). Now I have 2 edited versions - both identical, but have to keep both updated. While editing the blue style (still memberlist template) I figure I'll select the default template set figuring it will take on any modifications I make in the default template so I won't have to cut & paste again. However, what I see then is the ORIGINAL default template - the one that existed before I ever modified it.

This means there are basically 3 things.

1. Default (modified) templates in the default style
2. Blue (modified) templates in the blue style
3. "Default" templates for both styles, un-modified originals.

Is this sounding correct?

Having said all this.. it is possible to do what I wanted to do? I mean.. keep maybe one or two separate templates, then let the rest of the templates from the blue style revert back to my Default style?

I better not say any more, I'm getting confused again..
Reply With Quote
  #28  
Old 01-26-2003, 06:50 AM
Sanctum Sanctum is offline
 
Join Date: Oct 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not make things simple on yourself and either delete or set one for your forum. In the usercp find the setting to over users settings for the style / template and select yes you want to override it. Then go to that particular template set and modify as needed. Then never ever afterwards touch the others again...at leats not until your confortable modifying them.
Reply With Quote
  #29  
Old 01-26-2003, 03:13 PM
imported_gopherhockey imported_gopherhockey is offline
 
Join Date: Jan 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry but that just doesn't help me at all.

The problem is that I NEED to have a few separate templates.. just not the whole set.

I'm more than comfortable editing them.. I just don't like having to keep more than one up to date if the don't need to be different between styles. Those that do need to be different means I cannot do what you are suggesting.

If I could go with just one I would have done that.

This doesn't answer whether or not you can have the best of both worlds as described in my earlier post.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:48 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.03559 seconds
  • Memory Usage 2,234KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete