The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
WoW Character BBCode Details »» | |||||||||||||||||||||||||
This is a continuation of the project, https://vborg.vbsupport.ru/showthread.php?t=160418 . I have made several modifications to the original authors code and several have asked for my modifications.
Because of this and the original authors lack of updating the original modification, I have decided to upload this package for all to use. All credit goes to the original author(s) of the utility as i have only cleaned up the code and packaged it for easy usage. WARNING! This is very beta at this time. I have added the product now to force myself to update and maintain the plugin and to share it with the rest of my fellow World of Warcraft webmasters Installation
Changelog
Usage Using the character code is easy enough, [char]CHARACTER[/char] if default realm option is set and character links is on same realm. For characters not on the same realm as the default, [char=SERVER]CHARACTER[/char] For example, [char=Vek'nilash]Azaril[/char] Or, if you want to link a character profile from another locale (i.e. EU realms) , you simply add EU- before the server name. [char=EU-Vek'nilash]Azaril[/char] The same thing applies to linking US realm characters from a EU default forum. See a working example at http://www.dramaloot.com/index.php?id=officer_cl (This is a vbadvanced custom page using the BBCode page type). Added German translation for what i currently have localized. Provided by jluerken http://www.wow-relaxed.de Show Your Support
|
Comments |
#82
|
||||
|
||||
you need to give me more information than just "it doesnt work". What character/realm locale (eu/us) are you trying to link.
Something like that is most likely that the character isn't found in the armory. |
#83
|
|||
|
|||
I'm now getting the blank black box with "Level:" for all the mouseovers on my frontpage module. It appears it's because of an Armory issue, though it's super frustrating right now because half the time it's working and half the time it looks like I have a massively broken mod (not your fault here.)
Possibility on caching data perhaps or something along those lines for when the PoS we know as the WoW Armory is broken (which is a lot, I'm afraid.) Here's a screenie of what has been happening on and off recently: http://img299.imageshack.us/img299/8...ererrorae1.jpg |
#84
|
|||
|
|||
This is a creative way of doing this but wouldnt it be better with a bbcode? It currently breaks whenever you edit a post.
|
#85
|
||||
|
||||
Great update Sweede...
I've been traveling allot and haven't had the time to update anything... keep the ball rolling... If I come across anything new I shall feed it your way... Good Luck 2 ya |
#86
|
||||
|
||||
Quote:
Expecting every user to enter the bbcode exactly right every time would be foolish on my part. I would rather spend time supporting actual problems in my code than making sure that every user that says "it doesnt work" has their bbcode setup properly first. I may have a solution that would satisfy all of us though. |
#87
|
||||
|
||||
Quote:
Code:
INSERT INTO `vb3_bbcode` VALUES ('','char','<a href="http://www.wowarmory.com/character-sheet.xml?r=%2$s&n=%1$s" target="new" onmouseover=\'ajax_showTooltip("ajax.php?do=wowcharcode&server=%2$s&char=%1$s",this); return false\' onmouseout=\'ajax_hideTooltip()\'><strong><%2$s: %1$s></strong></a>' '[char=Vek'nilash]Dragontaru[/char]', 'Character BB Code',1, 'Character Code Tag','',1) The problem is when a server with a ' in it, such as vek'nilash. Vbulletin doesnt escape the param/option variables to work within javascript (changing them to their character code equivelent) Also using the bbcode in this way does not allow you to setup your "default realm" in an easy and simple manner, and several other planned options. |
#88
|
|||
|
|||
Heres a link to my forum so you can see the problem im having. Please if you could help me fix it I would really appreciate it!
http://www.guilddarkstorm.com/forum/showthread.php?t=86 |
#89
|
|||
|
|||
Yesterday, while spending 8+ hours on emergency Sunwell site work due to a Blizzard ninja major content patch, my front page module with the Officers listed gave me only the small black box with Level: inside.
Today, it works fine again. I never know which days the data pulls and which it does not. It's boggling. Regardless, when it DOES work it's very, very nice! Misc. daily rant not relating to this thread: I despise Blizzard's PoS Armory. |
#90
|
|||
|
|||
I've got it. There is an error with the char code of this product.
Solution - Create an new BBCode: Title: What you want Tag: armory (IMPORTANT: NOT char) Code: <a href="http://eu.wowarmory.com/character-sheet.xml?r=Aegwynn&n={param}" target="new" onmouseover='ajax_showTooltip("ajax.php?do=wowchar code&server=Aegwynn&char={param}",this); return false' onmouseout='ajax_hideTooltip()'><strong><{param }></strong></a> Example: [armory]Klappzwerg[/armory] Description: What you want {option} usage: OFF Remove Tag If Empty: No Disable BB Code....: Yes Disable Smileys....: Yes Disable Word Wrapping: Yes Change the realm in the code to your default code. With this code its not possible to use another server, but i think you have a guild and your frinds are on the same. If you want it with other server, you should create a second BBCode with {option} enabled and then try to insert that. Have fun! |
#91
|
||||
|
||||
I will try to update today with a version that will email the forum admin a whole bunch of error related stuff when you mouse over a tooltip. you can then forward those to me and i can see what i need to fix to either prevent these silly errors or create work arounds and do some real error handeling.
working 12hrs + raid + sleep has taken a lot of my time away from fully supporting this (and my other) product. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|