![]() |
specific style for only one forumid?
what i try to acomplish to use a specifuc html style for a unique forum only, for example forumid 3. so instead of using the classic forumdisplay_threadslist template for example, i want to use a new one. there is always my hard way:
create a new template and use a if condition for the forumid to select the specific template... i'm not good at all with multiple style integration. can you recommend me what is the best aproach? |
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=43325" target="_blank">Advanced Templates</a> can help.. After the installation, edit your relevant template and use this format:
[[($forum[forumid]==X)]] Your specific template for forum X [[/($forum[forumid]==X)]] [[($forum[forumid]!=X)]] Your normal template for other forums [[/($forum[forumid]!=X)]] I didnt test it out but I believe it will work.. |
Why can't you create a new template set, assign it to a style and use that style in only that forum? Easier than hacking.
Or hack forumdisplay: Code:
// there are threads Code:
// there are threads |
that's exacly what i needed chen. thanks! i was gonna do it this way, hacking the gettemplate.
however, i want to learn to create a new template set. anyone knows any links with tutorials? are they available on members area? i could not find them. since styles are part of the default unhacked forums, they should have it included onto the online manual. |
ok i created a new style and looked through it.. it adds all templates. cn i just create my own set? with the 3 templates? without replacement set, etc? and put there only the templataes that i'm interested to have them modified? thanks.
also a little detail: 2.2.7|||Master vBulletin Style Set!!!master!!!|||None|||None|||43|||479||| vBulletin Style Set and master are separated by 3 exclamation marks? can you explain to me what should i replace the "master" word with? ty. |
^ no way in hell this is nakkid....
|
coding is not the same as making template style. i never did one. :)
so i'm a newbie creating template styles... |
oh i see lol.... i still find it hard to believe with all your hacks etc that you are a newbie at making styles etc...
- Mist |
Quote:
or should i use an array just to make sure...? |
All times are GMT. The time now is 01:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|