This is awesome and so easy to install. Only problem is the item link is using my template's default color not purple or whatever the item quality is. Any ideas?
They work fine until you edit a post and save it, then it changes the "item" tag into a URL tag. What it does then is that it looses the class attribute from the URL link.
The way around this is NOT to use the WYSIWYG Editor controls.
in the Admin CP, go to vbulletin options -> Message Posting Interface Options and change the three options under "Enable Clickable Message Formatting Controls" to "Enable Standard Controls"
Now, since some of your users may have the wrong option checked, you can mass update them if you set an option in the config.php file.
Code:
$config['SpecialUsers']['canrunqueries'] = '1';
or whatever your user id is.
then go to
Maintenance -> Execute SQL Query and from the drop down list select "Show Standard Editor Toolbar"
This should add information about the bbcode to misc.php?do=bbcode.
Is there an easy way of doing that ? There doesnt seem to be a lot of documentation on adding stuff through the built in API of vBulletin (or even that there IS an API for vBulletin!).
Edit: I added the info about the bbcode to the location listed. It's Q&D but thats why plugins and hook locations were created right
sergiod06 , not for custom HTML pages. I'm sure that there is a way to search & replace items via plugin hooks but there isnt much reason to do that. if you need to add item links, the proper format for the item mouseover can be found at wowhead.com
HTML Code:
<a class="q5" href="http://www.wowhead.com/?item=19019">Thunderfury, Blessed Blade of the Windseeker</a>
q5 is legendary
q4 is epic
q3 is rare
q2 is uncommon
q1 is common
q0 is junk
I have vbAdvanced, is it possible that the [item]Name[/item] work on custom html pages?
Now that i think about it, there may be a way to run the bbcode processor over an HTML based template w/bbcode in it using the parse_templates hook or something horribly inefficient like that
Now when you say "Custom HTML page" , do you mean
Vba- >Add Page- > Page type of ??
Installed this yesterday and it worked fine on the test server.
Just gone onto the "live edition" of the forum and sadly does not work any longer. It's on a fresh install of vBulletin and is one of the first mods i've gone to add.
When importing the product I get this error appear briefly:
Code:
Parse error: syntax error, unexpected $end in D:\wamp\www\forum\admincp\plugin.php(1970) : eval()'d code on line 4
The product then continues to install as normal but sadly no longer functions. Using the item code [ item] <Item name here> [ /item] causes the item name to become underlined and changed into a link to the WoWhead page for that item.
Parse error: syntax error, unexpected $end in D:\wamp\www\forum\admincp\plugin.php(1970) : eval()'d code on line 4
The product then continues to install as normal but sadly no longer functions. Using the item code [ item] <Item name here> [ /item] causes the item name to become underlined and changed into a link to the WoWhead page for that item.
Any suggestions?
Uninstall the product completly.
Download the latest 0.3.1a version and add the product again.