Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
WoW Character BBCode Details »»
WoW Character BBCode
Version: 0.4.9b, by sweede sweede is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 02-01-2008 Last Update: 11-24-2008 Installs: 94
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

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
  1. Uninstall your existing WoW Char Code installation. I have changed the product ID itself and it may not update everything correctly.
  2. Remove the clientscript/ajax_tooltip and clientscript/phparmory folders if they exist
  3. Upload the contents of the "Upload" Folder to the ROOT directory of your forums (for example, if you have your forums installed in /home/mydir/public_html/forums , you would unzip into that folder.)
  4. Import the product/product-WoWCharBBCode-?.??.xml file

Changelog
  • 0.4.9b
    • Added basic Death Knight support
    • Fixed problem with characters with no professions (common with Death Knights)
  • 0.4.9a
    • Fixed a minor issue with realms in spaces in the name
  • 0.4.9
    • Added wysiwyg support
  • 0.4.8a
    • Fixed a php parse error in functions_wowcharcode.php. you do not need to download the entire zip file, just replace your existing functions_wowcharcode.php file with the attached .php file
  • 0.4.8
  • 0.4.7a
    • Removed some left over debugging statements and info in the product and php file.
  • 0.4.7
    • Changed the backend armory code.
    • Updated caching to not cache Armory results that end up as errors
    • Added character class, race and professions as vbphrases.
    • Added KR and TW Armory locales. (, etc)
    • Some minor fixes.
  • 0.4.4
    • Added Icon caching to help with slow armory. Images are cached by default in the armory folder. chmod this folder to 777 and icons will be automaticly cached to this folder.
    • You can now use the variable $wowchar_code in the postbit (or postbit_legacy) to display the character tooltip in a post.
  • 0.4.3 Fixed issue with rebuilding post cache.
  • 0.4.2 Added option to show/hide realm if a default realm is set.
  • 0.4.1 Fixed an issue if the character doesnt have armory data, Only change is in functions_wowcharcode.php file.
  • 0.4
    • All Character stat text are now phrases. you will find a new Phrase Type in the Phrase Manager ( WoW BBCode Phrases )
    • Added default realm option so one does not need to use the [char=server] option when specifying characters on own realm.
    • Customized the stat display per class and on some specs (such as feral v.s. resto druids). see an example at http://www.dramaloot.com/forums/showthread.php?p=19271
  • 0.3
    • Armory Caching works for both US and EU armorys.
    • Removed un-used files.
    • Put the majority of the codes HTML creation as templates and use vbulletins ajax.php and hooks.
    • Added options for default locale (armory) to use (currently EU and US armories).
    • Added option to disable caching of the Armory (i use it to test armory retrieval)
    • Added ability to specify what armory the character / realm you would like, see usage notes below.
  • 0.2
    • Armory Caching never actually worked properly, this should now be fixed.
    • Remove the includes/functions_wow3bbcode.php file. This has been replaced by a plugin.
    • Remove the clientscript/phparmory/config.php file. This isnt needed.
    • Major updates to phparmory.php
    • Minor Plugin changes + code cleanup.
ToDo
  • New tooltip javascript
  • New character sheet.
  • Create easy to modify interface for character stats to be displayed in tooltip.


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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 05-13-2008, 12:40 AM
Blaine0002's Avatar
Blaine0002 Blaine0002 is offline
 
Join Date: Jul 2003
Location: Wisconsin.
Posts: 1,350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

might want to include mana on it as well
Reply With Quote
  #133  
Old 05-13-2008, 11:12 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Forage View Post
Fair enough, Have you released your raid Progression module on any forums other then your own if so do you have a link of where a package or at least some instructions are available?
Sorry for the uber late delay in replying.

I've fought back and forth through several ideas on how to provide a better degree of customization to this plugin and still haven't really found anything i like yet. However, after watching this really cool video on why more is less ( http://youtube.com/watch?v=vMV4PIEIKY4 , very much worth the 64 minute watch ), i decided on actually using every stat available through the armory XML sheet and providing larger groups. Instead of the roughly 108 (!) stats available through the armory profile, you'll have 7 - 9 to choose from. each class & spec, you'll will be able to choose 3 different stat groups.

melee, spell, defense, arena, ranged, Pets, Resistances and a Class block and im sure there is another one I'm forgetting

http://underthemain.net/forums/showthread.php?t=2


The progression thing is more of a vba CMPS hack. I've been re-writing some of it though since it was very much copy & paste coded :x
Reply With Quote
  #134  
Old 05-13-2008, 11:13 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Blaine0002 View Post
find
$wowchar_code .= " onmouseover='ajax_showTooltip(\"".$vbulletin->options['bburl']."/ajax.php?do=wowcharcode&server={xserver}&char={cha rname}\",this);";
in the WoW Char Code Postbit plugin

replace with
$wowchar_code .= " onmouseover='ajax_showTooltip(\"".$vbulletin->options['bburl']."/clientscript/wowbbcode_js/ajax.php?do=wowcharcode&server={xserver}&char={cha rname}\",this);";

Im not sure what you are trying to do here except create a lot of 404 errors ?

there is no ajax.php file in the clientscript/wowbbcode_js directory. I use the ajax.php file of vbulletin.
Reply With Quote
  #135  
Old 05-13-2008, 12:25 PM
Blaine0002's Avatar
Blaine0002 Blaine0002 is offline
 
Join Date: Jul 2003
Location: Wisconsin.
Posts: 1,350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, my bad meant for the ajax.js file.
Reply With Quote
  #136  
Old 05-13-2008, 12:34 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right, there is an ajax.js, but it does not do what you are thinking it does. The code snip you posted above is something you definitely don't want to do.
Reply With Quote
  #137  
Old 05-13-2008, 10:57 PM
Blaine0002's Avatar
Blaine0002 Blaine0002 is offline
 
Join Date: Jul 2003
Location: Wisconsin.
Posts: 1,350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all i remember is having to do something with a url in one of the products in order to get the rollover to work :-/ cant quite remember tho.

anyways.

add mana
Reply With Quote
  #138  
Old 05-14-2008, 11:52 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

o.

well, this coming weekend i should have a pretty big update that changes how it looks and gives the forum admin easier ways to configure whats shown.
Reply With Quote
  #139  
Old 05-18-2008, 12:15 PM
Forage Forage is offline
 
Join Date: Mar 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweede View Post
The progression thing is more of a vba CMPS hack. I've been re-writing some of it though since it was very much copy & paste coded :x
Even copy and paste coded it's very clean looking and much better then my attempts have been if you decide to release it please let me know I would love to get it.
Reply With Quote
  #140  
Old 05-20-2008, 05:04 PM
DDolphins DDolphins is offline
 
Join Date: Sep 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I searched this thread by my problem hasnt come up yet.

I updated to 3.7 Gold yesterday and along with updating the forum I updated all the addons (Before it was running 3.7 RC1) I updated this one and ran across a small issue

If you go here (where I primarily use the addon) http://www.battlegroundwarriors.com/...ageid=officers

Hovering over any particular name gives a tooltip but where all the stats should be it just says 'Array'

Any idea what is causing the problem? I know its a vbadvanced page but even in an actual post it does the same thing.

Also I never knew you were on Kargath server. I've probably seen you around a few times.
Reply With Quote
  #141  
Old 05-20-2008, 08:32 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i joined No Quarter for a short time on kargath. After a little while in the guild, i realized that the guild was not yet at a commitment level that I required as a raid guild.

anyways, did you update the functions_wowcharcode.php file ? that's the only thing i can think of that would cuase this issue. Use the one in the plugin post, not the one in the zip file.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09164 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete