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

Reply
 
Thread Tools
World of Warcraft Wowhead Item tooltips for vBulletin Details »»
World of Warcraft Wowhead Item tooltips for vBulletin
Version: 0.7.5, by sweede sweede is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 04-05-2010 Last Update: 04-19-2010 Installs: 31
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Translations  
No support by the author.

** Discontinued thread https://vborg.vbsupport.ru/showthread.php?t=183035 for current thread in 3.8 modification areas.

Since Wowhead (and thottbot) have both released an easy method of adding item tips to your website.

http://www.wowhead.com/?forums&topic=3464&p=35822

I then created this mod to be able to easily add this functionality to any vbulletin installation without uploading external files.

The inspiration for this mod comes from https://vborg.vbsupport.ru/showthread.php?t=141177 , Gryphon gItemStats mod.

Instead of spamming his thread with xml files of this hack, i decided to post here so that people can take full advantage of it, get notices of updates, etc.


Changelog
  • 0.7.5
    • Removed old vbulletin option
    • Updated URL
  • 0.7.4
    • When Item ID is used without a piped option (i.e. [item=12345|lang]Item Name[/item] ) , the default language was never set and rendered all item tags after invalid
  • 0.7.3
    • Added changes provided by sub_ubi, thanks

To Do
  • Export functions from the init_startup hook so that it may be used in other scripts like EqDKP by including the global.php vbulletin file

Download Now

File Type: xml product-wowhead_itemstats_0.7.5.xml (33.4 KB, 219 views)

Show Your Support

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

Comments
  #2  
Old 04-06-2010, 12:24 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New thread in 3.8 area requires new Reserved First post !
Reply With Quote
  #3  
Old 04-07-2010, 03:35 AM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First?

Also, there going to be a 4.x update soon? *begs* PUHLEESE!
Reply With Quote
  #4  
Old 04-14-2010, 07:52 PM
andrewkhunn andrewkhunn is offline
 
Join Date: Feb 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also sent this question via PM, but reposted here for posterity's sake:

Quote:
Originally Posted by andrewkhunn
I'm having some difficulty with the latest version of the Wowhead Item Stats script. Somewhere along the line, my users decided to create item links of the following variety:

[item=12345]Bijou's Belongings[/item]

These style links are now horribly broken. In fact, when introduced in an otherwise normal item link list such as:

[item]Bijou's Belongings[/item]
[item]12345[/item]
[item=12345]Bijou's Belongings[/item]
[item]Bijou's Belongings[/item]
[item]12345[/item]

Not only is the [item=12345]Bijou's Belongings[/item] entry returning orange brackets, but all valid item links below that entry in the same post are broken as well.

Can you think of any reason why this may be occurring and what a possible fix might be? We currently have around 3,238 posts affected by this issue and, short of doing a search/replace with some combination of PHP and SQL scripting, don't have a solution to get these malformed links working again.
Reply With Quote
  #5  
Old 04-15-2010, 12:43 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fixed the issue, will be putting an update here shortly
Reply With Quote
  #6  
Old 04-15-2010, 01:13 PM
andrewkhunn andrewkhunn is offline
 
Join Date: Feb 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweede View Post
fixed the issue, will be putting an update here shortly
Thanks so much for the quick fix Sweede! Everything is now working as before.
Reply With Quote
  #7  
Old 04-16-2010, 05:18 AM
RustyDogma RustyDogma is offline
 
Join Date: May 2009
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to add custom bbcode so users could highlight the item, and get the tags inserted around it, but that seemed to break it.. what parameters should I use in the custom code?
Reply With Quote
  #8  
Old 04-16-2010, 07:36 PM
Renny Renny is offline
 
Join Date: Mar 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you dont need to upload any external files with wowhead anyway :S
Reply With Quote
  #9  
Old 04-17-2010, 05:00 AM
andrewkhunn andrewkhunn is offline
 
Join Date: Feb 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweede View Post
fixed the issue, will be putting an update here shortly
I'm still having an issue with the invalid item links (e.g. [item=12345]Bijou's Belongings[/item]). Although I upgraded to 0.7.4 and regenerated the post cache, those style item links are still returning invalid.

If I edit a post with an invalid item link, change nothing and save, the item link is magically working. It sounds to me like there is something wonky going on with the post cache.

Any ideas?
Reply With Quote
  #10  
Old 04-17-2010, 10:18 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andrewkhunn View Post
I'm still having an issue with the invalid item links (e.g. [item=12345]Bijou's Belongings[/item]). Although I upgraded to 0.7.4 and regenerated the post cache, those style item links are still returning invalid.

If I edit a post with an invalid item link, change nothing and save, the item link is magically working. It sounds to me like there is something wonky going on with the post cache.

Any ideas?
I had this issue before, i'm pretty sure the answer is in my vb 3.6 thread (follow the link in this post to the previous mod which links back to the previous 3.6 mod)
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 04:33 AM.


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.04718 seconds
  • Memory Usage 2,322KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete