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 |
#152
|
|||
|
|||
Quote:
Warning: Invalid argument supplied for foreach() in [path]/includes/functions_wowcharcode.php on line 704 any idea how to fix that? Thanks! |
#153
|
||||
|
||||
ooo
disable the plugin named "build block" at the member_builg_blocks_start hook. |
#154
|
|||
|
|||
thanks for the quick reply. =) looks like that did the trick. thanks.
|
#155
|
|||
|
|||
sorry for the spammage....but has anyone figured out how to make this work with servers that have two-word names (ie Emerald Dream)? Thanks!
|
#156
|
||||
|
||||
Not a problem.
However, i've written a lot of hacky code in the current incarnation of this mod and i'm feeling like to really go further with it, i need to re-write it. in the mean time, open up the functions_wowcharcode.php file, find the line like this, $this->SetFetchURL( "http://" . $this->locale . ".wowarmory.com/character-sheet.xml?r=" . urlencode($this->realmname) . "&n=" . urlencode($this->charname) ); add the following, $this->realmname = str_replace("+", " ", $this->realmname); before it. |
#157
|
|||
|
|||
Quote:
|
#158
|
||||
|
||||
Quote:
also i found your problem for the wysiwyg editor problems in your wysiwyg fix plugin it is alot simpler to fix than you think. First open up the plugin wysiwyg fix next change the hook to bbcode_create next select all inside code box and replace with: Code:
if ($this->is_wysiwyg()) { $this->unparsed_tags[] = 'char'; } |
#159
|
||||
|
||||
character name and realm...
|
#160
|
||||
|
||||
it wont parse as long as it is a variation of char Also that error i spoke of i still cant fix it my character and realm is Lycomedesnw in Gilneas realm
|
#161
|
||||
|
||||
you are using the 0.4.9 version correct ?
Line 704 in the functions_wowcharcode.php file does not contain the foreach() statement, but line 717 does. if $default isnt set on line 717, most likely classID isnt being set. Armory could be down or the XML cached is invalid (you can empty the cache in the vbulletin options). Your other problem, i don't know what your talking about "it wont parse as long as it is a variation of char". what does that mean? [char="vek'nilash"]character[/char] works but [CHAR="vek'nilash"]character[/CHAR] doesnt? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|