View Single Post
  #22  
Old 03-05-2011, 04:16 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GeometriX_ZA View Post
After struggling with this plugin, then the installation of Wowhead tooltips (BCMath was showing up as disabled even though it's enabled on my server), I decided to poke around at other options and found a surprisingly simple solution that requires no plugins or files to upload:

Grab the code to run the Wowhead's own script from here: http://www.wowhead.com/tooltips. Paste it into your header includes file.
Then create a new BBCode item like this: <a href="http://www.wowhead.com/item={option}">{param}</a>

I hope someone else can put this to use and save themselves the time it took me to figure this all out.

I laughed at wowhead tooltip. Sure it can do a lot more than what wowhead.com provides us, but we don't have to pay for wowhead.com

After long delays I've finally added vbb4 to my guild site, so these mods will get updated again.

I would like to make it clear that the ONLY thing this mod is going to provide is the automatic include of the wowhead power.js script that lets you put mouse overs on wowhead URLs and the ability to turn [item]Item Name[/item] into a tooltip style link, but most importantly NO additional files to upload and manage.

Since wowhead doesnt offer any direct way to distinguish between heroic and non-heroic items through XML (i.e. wowhead.com/item=Boots&xml ), I will have to re-design the method that i use to look up item names.

The problem with searching is with item names that may not be complete or item names that are partial names to acheivements, spells, gear, etc. Without adding a multitude of files to manage each type of search & sort (wowhead tooltips has over 230 files to upload in 29 folders), I won't be adding a huge, massive amount of features.
Attached Files
File Type: xml product-wowhead_itemstats.xml (33.2 KB, 38 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01343 seconds
  • Memory Usage 1,787KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete