Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
World of Warcraft MMO-Database Linking Details »»
World of Warcraft MMO-Database Linking
Version: 1.0, by crazyace crazyace is offline
Developer Last Online: Sep 2012 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 01-07-2011 Last Update: Never Installs: 14
Template Edits
Re-useable Code Translations  
No support by the author.

I would like to share with you a very easy edit to allow you to link MMO-Database items to your forum with tool tips. With using this edit you can do the following.
  • Link items with correct item color
  • Drop links to items in your post and they will auto parse after you submit your post
  • Item tooltips

Note: You must have "Automatically parse links in text" checked when posting


Install

In your admin panel click on: Styles & Templates -> Style Manager

Under the style that you want to edit click the drop down and choose "Edit Templates"

Find "headinclude" in the template list and double click it.

Find
Code:
<meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" />
and below it add the MMO-Database code


MMO-Database Code:
Code:
<script type="text/javascript" src="http://db.mmo-champion.com/tt.js"></script>

Now save and go create a test post.

Post example:
Code:
I just got a new http://db.mmo-champion.com/i/34995/brutal-gladiators-chopper and its really awesome
Important! You must now remove the trailing "/" at the end of the item's URL when you post it. If not it will no longer auto change the name and color for you. Something changed in the java code they use.


Make sure to press F5 to refresh your browser to see the changes take place.


Demo <--- Check it out

Screenshots

File Type: png link example.PNG (3.1 KB, 0 views)
File Type: png tooltip.png (14.1 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 01-10-2011, 06:32 PM
Lazorbeam Lazorbeam is offline
 
Join Date: Aug 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool, I'm using a similar addon and it's a resource hog as it loads on every page regardless if it is needed or not. I think this has to do with putting the code within header. Is there a way around this?
Reply With Quote
  #3  
Old 01-10-2011, 10:04 PM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Depends on the MOD really. But using the header can help a bit.
Reply With Quote
  #4  
Old 01-14-2011, 05:48 PM
jimfries's Avatar
jimfries jimfries is offline
 
Join Date: Dec 2009
Location: Steel City
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very very cool.

Is this possible to use for wowhead.com also? I have users that frequent both websites (I personally am a fan of mmo-champion.com)
Reply With Quote
  #5  
Old 01-15-2011, 06:03 PM
Quickness Quickness is offline
 
Join Date: Oct 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It only seems to work for me when I do a preview of the post. After I actually post it, then URLs are just URLs, they do not change or give you a tooltip.

Any thoughts?
Reply With Quote
  #6  
Old 01-16-2011, 01:57 AM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jimfries View Post
Very very cool.

Is this possible to use for wowhead.com also? I have users that frequent both websites (I personally am a fan of mmo-champion.com)
You can do wowhead, but it requires BBCode. It doesn't work as easy as the MMO Champion hack.


Quote:
Originally Posted by Quickness View Post
It only seems to work for me when I do a preview of the post. After I actually post it, then URLs are just URLs, they do not change or give you a tooltip.

Any thoughts?
After you make the post it might not show up right away. You can sometimes just press F5 to refresh the page and it will work. Or just leave the post and come back.
Reply With Quote
  #7  
Old 03-18-2011, 01:08 PM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Important! You must now remove the trailing "/" at the end of the item's URL when you post it. If not it will no longer auto change the name and color for you. Something changed in the java code they use.
Reply With Quote
  #8  
Old 03-21-2011, 03:59 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by crazyace View Post
You can do wowhead, but it requires BBCode. It doesn't work as easy as the MMO Champion hack.
The way that you are doing things, using the full mmo link, will work exactly the same with wowhead.com


You can put the url to wowheads power.js file and post the wowhead links (http://www.wowhead.com/item=44094)
Reply With Quote
  #9  
Old 05-03-2011, 11:21 AM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweede View Post
The way that you are doing things, using the full mmo link, will work exactly the same with wowhead.com


You can put the url to wowheads power.js file and post the wowhead links (http://www.wowhead.com/item=44094)
Looks like I have been corrected Thanks for the info.
Reply With Quote
  #10  
Old 01-10-2012, 02:16 PM
Bulbucan Bulbucan is offline
 
Join Date: Mar 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there any way to modify it to show custom items from private server database?
Reply With Quote
Reply

Thread Tools

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 11:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10294 seconds
  • Memory Usage 2,306KB
  • Queries Executed 24 (?)
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_code
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete