Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Simple tip for boards with many styles
Lurk
Join Date: Feb 2004
Posts: 99

Garden Grove, CA
by Lurk Lurk is offline 20 Jun 2004

This may not be a good tip, but it's very useful and reduces time for people hacking boards with many styles. This lets you mass modify/add templates without messing with the 'Master Style' that you can view in debug mode.

Create a main style. (note: this style does not have to be selectable)

I'm going to use 'Default Style' for this example
Create it so that your styles will be like this:
Default Style
-Style 1
--Child of Style 1
-etc
-etc
-etc
Attached Images
File Type: jpg screenshot.jpg (113.3 KB, 257 views)
Views: 2711
Reply With Quote
Comments
  #2  
Old 20 Jun 2004, 20:09
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
This may not be a good tip
This IS a good tip.
__________________
Logician's Blog | WebTemplates for vb 4.x : VB Integrated Content Management System
Reply With Quote
  #3  
Old 20 Jun 2004, 20:31
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Ive been doing that with my newest project. I find that haveing a default master style just for my template edits makes it easy to add child forums with a different look to them.
Reply With Quote
  #4  
Old 20 Jun 2004, 20:43
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
We are doing this on vb.org as well

we even did it on vb2, but there it was a hack ^^
Reply With Quote
  #5  
Old 20 Jun 2004, 22:33
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Real name: George E Collins Jr
been doing this ever since vB3 came out.
Reply With Quote
  #6  
Old 23 Jun 2004, 19:11
Lurk Lurk is offline
 
Join Date: Feb 2004
yeah, well, i didn't like modifying the master style which i think you can access only in debug mode.
Reply With Quote
  #7  
Old 23 Jun 2004, 19:18
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Havent i been forcing this apon everyone since vB3 came ouyt?
__________________
Looking for ImpEx?
Reply With Quote
  #8  
Old 23 Jun 2004, 19:40
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
Originally Posted by Lurk
yeah, well, i didn't like modifying the master style which i think you can access only in debug mode.
you shouldn't do so, as the master style itself gets overwritten with each version upgrade...
Reply With Quote
  #9  
Old 23 Jun 2004, 20:27
Ryan Ashbrook's Avatar
Ryan Ashbrook Ryan Ashbrook is offline
 
Join Date: Dec 2002
I've been doing this myself as well, it is very handy.
__________________
Ryan Ashbrook
Reply With Quote
  #10  
Old 30 Apr 2005, 20:53
angelicGrace angelicGrace is offline
 
Join Date: Jun 2004
Real name: Christina
lol I did that totaly by accident. when i added my first style i made it a child of the defualt and so when i went to install my first template modification, i found totaly by accident, that i only needed to edit the template to the default and not the rest. Definatly made for a happly surprised newbie to all of this.
Reply With Quote
  #11  
Old 06 May 2005, 16:32
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Real name: Lucius Hunk
it's only useful with custom templates, not modified I think
Reply With Quote
  #12  
Old 09 May 2005, 09:43
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
hmm, i don't think so, we don't have much custom templates, but a lot of modified ones, and it's very usefull
Reply With Quote
  #13  
Old 09 May 2005, 11:08
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Real name: Lucius Hunk
Originally Posted by Xenon
hmm, i don't think so, we don't have much custom templates, but a lot of modified ones, and it's very usefull
then when child styles' templates got modified and you have a lot of child styles you still need to edit them one by one. My child styles are unique one by one, I can hardly edit one parent for all.
Reply With Quote
  #14  
Old 09 May 2005, 12:54
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by deathemperor
then when child styles' templates got modified and you have a lot of child styles you still need to edit them one by one. My child styles are unique one by one, I can hardly edit one parent for all.
It's only not very useful if every template in the child styles is unique.

If not, its still useful for any template that is not unique.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #15  
Old 09 May 2005, 17:04
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
of course, if every childstyle is totally unique, then it wouldn't help.

It depends on the situation of course, but for example here on vb.org it is very usefull for normal templates
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:47.

Layout Options | Width: Wide Color: