The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
<font face="Century Gothic">Hello, I have a question regarding Sub-forums. I see on other forums that they have the bold text that normally says "sub-forums" replaced with another name such as "Check this." I replaced the sub-forum to say what I wanted it to, but now I can't choose sub-forums when I need it to. How do I make an additional phrase and still keep it to say sub-forums?
Thanks!</font> |
#2
|
||||
|
||||
![]()
I'm not sure I follow. Do you have images to show what it currently looks like and what you want it to look like?
|
#3
|
||||
|
||||
![]()
For example, I have replaced the phrase "Sub-Forums" with "Don't forget to check:" which you can see here. Since I edited the phrase it doesn't show Sub-forums anymore as you can see here.
However, this forum has multiple phrases. Which I can't figure out how they did it. http://i.imgur.com/dNpBS.jpg I apologize if I am still unclear to you. |
#4
|
||||
|
||||
![]()
Ah, OK, so you only want it changed for some forums. You will need to edit the template and replace the phrase with a condition like:
HTML Code:
<if condition="$forum[forumid] == xx">Custom Text here<else />phrase here</if> |
#5
|
||||
|
||||
![]()
What template would I be editing? I'm learning with Vb, fairly new.
Thanks! |
#6
|
||||
|
||||
![]()
Ah, sorry..... To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
|
#7
|
||||
|
||||
![]()
Okay, I added the code where the phrase is and now I got this where the sub-forums used to be: Custom Text herephrase here:
How do I make it what I want it to say? |
#8
|
||||
|
||||
![]()
You would change "Custom Text Here" to what you want it to say, and change "phrase here" to the phrase that was listed there - $vbphrase[something]. (You can see the default template by clicking View Default.)
|
#9
|
||||
|
||||
![]()
I'm confused and I'm not sure how this would give me options on different sub-forums if it's one phrase only.
|
#10
|
||||
|
||||
![]()
Well, if you have several forums you want to do this on, you would expand the condition a bit. Or, you can write a plugin to do the same thing. Are you familiar with php coding at all?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|