Site in read-only mode

This site is now read-only following the release of MyBB 1.8 and the new mods site.

If you are looking for MyBB 1.8 mods please click here to visit the new mods site.

You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.

MyGW2Code

This provides the files for including the Guild Wars 2 tooltip BBCode.

Version: 1.0
Author: Steve Moore
Submitted: 25th July 2012
Last Updated: 26th July 2012
As a fan of Curse.com I decided that I should utilize the new GW2DB tooltip information.

This provides the files for displaying the tooltip properly within posts. This is not for fun but for those who intend to run Guild Wars 2 sites or those who already do.

Not in this release:
  • Skill Calculator
  • Recipe Tooltip
  • Achievement Tooltip
  • Skill Tooltip
  • Guild Upgrades Tooltip
  • Map Tooltip/Display


Will have a quick release to add more features.

To install:
1. Upload all contents of /images/, /inc/, and /jscripts/ to the same area your MyBB installation is located
2. Open up your boards ACP
3. Go to ACP > Configuration > MyCode
4. Click 'Add New MyCode'
5. Do the following below

Quote:
Title: GWItem (Can be whatever you want)
Short Description: This adds the tooltip for linking of items from Curse.com's GW2DB database.
Regular Express: \[gwitem=(.*?)\](.*?)\[/gwitem\] (You can use whatever you wish in place of gw)
Replacement: <a class="listing-icon" href="http://www.gw2db.com/data/items/$1">$2</a> (Do not alter this)
Enabled: Yes
Parse Order: 1 (Can be any number you want)


Quote:
Title: GWRecipe (Can be whatever you want)
Short Description: This adds the tooltip for linking of items from Curse.com's GW2DB database.
Regular Express: \[gwrecipe=(.*?)\](.*?)\[/gwrecipe\] (You can use whatever you wish in place of gw)
Replacement: <a class="listing-icon" href="http://www.gw2db.com/data/recipes/$1">$2</a> (Do not alter this)
Enabled: Yes
Parse Order: 2 (Can be any number you want)


Quote:
Title: GWSkill (Can be whatever you want)
Short Description: This adds the tooltip for linking of items from Curse.com's GW2DB database.
Regular Express: \[gwskill=(.*?)\](.*?)\[/gwskill\] (You can use whatever you wish in place of gw)
Replacement: <a class="listing-icon" href="http://www.gw2db.com/data/skills/$1">$2</a> (Do not alter this)
Enabled: Yes
Parse Order: 3 (Can be any number you want)


6. Save and done

As I expand on this more I will include more MyCode's. Looking to add Recipes and Achievements next.


Support Thread: http://community.mybb.com/thread-123181.html

Previews:Preview Image 5791