The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ill try and keep this short. I run a World of Warcraft Guild site and Im looking for a mod that will automatically change the color of certain words found in the forums.
So for example. Theres 9 classes in WoW. Id like any character name mentioned in the site that is a hunter to show up in the hunter Green. So lets say I have 10 members. Vrokar - Warrior Hagzrags - Priest Chatoo - Priest Hurgon - Shaman Chubsy - Hunter Nekroga - Hunter Melchom - Warlock Nasuk - Mage Skevil - Mage Jimmyjohn - Mage Anytime the name Skevil, Jimmyjohn or Nasuk is mentioned they names would automatically show up mage blue. Id want to be able to add key words or names to these "Class" groups as well. Any way to do this? Or any mod you know of able to do this? |
#2
|
||||
|
||||
![]()
You can use Replacement Variables which are built into VB.
Style & Templates > Replacement Variable Manager Simply search for the words desired and replace them with the same word, but wrapped in a color tag. |
#3
|
|||
|
|||
![]()
Ahh ive tried that. When I do it rather then using the code and changing the color of the text it tosses it all in as text. So instead of Getting Druid I end up with (color="FF7C0A")Druid(/color)
|
#4
|
|||
|
|||
![]()
That is your problem right there....it should be: <font color="FF7C0A">Druid</font>
|
#5
|
|||
|
|||
![]()
the ( ) were only used for an example. But ya adding "font" to it worked. Although ive never had to do that before. Odd. Next step... Need to add multiple listings of each and would rather not have a replacement variable for every single guild member. Any ideas?
|
#6
|
||||
|
||||
![]()
I'm rather confused what you mean? What exactly are you trying to achieve?
I might be misinterpreting, but couldn't you achieve that by moving the users you wish to a secondary group which will override their current user title or what not to the one you wish? |
#7
|
|||
|
|||
![]() Quote:
Now that I think of it. Couldnt I create a BB code? [class=priest]name here[/priest] and have the bb code set to change the color to the standar class color? |
#8
|
||||
|
||||
![]()
Add a new BB Code:
1.1 -- Title: WoW Class Names 1.2 -- Tag: class 1.3 -- Replacement: <span class='{option}'>{param}</span> 1.4 -- Example: [class=priest]Priest[/class] 1.6 -- Use {option}: Yes Add this to your Additional CSS: .priest { color:#000000; } Replace the color with the one you'd like. And then add the rest of the classes. I would suggest you also make buttons for each class from a dropdown, making it easier to select the class you are refering to. [class=priest]Priest[/class] The text in green refers to the actual style class which you are defining in your Additional CSS. Whilst the text in Red is the actual text that appears in your threads. I hope this helps. |
#9
|
|||
|
|||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|