crazyace
01-07-2011, 10:00 PM
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 <meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" /> and below it add the MMO-Database code
MMO-Database Code:
<script type="text/javascript" src="http://db.mmo-champion.com/tt.js"></script>
Now save and go create a test post.
Post example:
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 (http://www.potentguild.com/forum/content.php?20-MMO-Database-Items) <--- Check it out
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 <meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" /> and below it add the MMO-Database code
MMO-Database Code:
<script type="text/javascript" src="http://db.mmo-champion.com/tt.js"></script>
Now save and go create a test post.
Post example:
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 (http://www.potentguild.com/forum/content.php?20-MMO-Database-Items) <--- Check it out