23.02.2012, 15:10
Eine neue Erweiterung wurde veröffentlicht: WoW Data
Zitat:This mod allows users to include links with tooltips in their forum posts, PMs etc. Usage is simple and robust. Simply use standard bracketed "tags" to include different data types. The currently supported tags are; character, guild, arena, and item. For example, to link a guild you can easily assume that the guild is on your server (which is a mod setting available in admin > settings > WoW Data) you simply type [guild]This Guild is Awesome[/guild] into a message and it is converted to a link to the guild page on battle.net and when the mouse is over the link a tooltip is displayed showing some basic guild information. To specify a different server (or "realm" as Blizzard calls them) you give the guild tag a parameter of "realm" and set it. E.g. [guild realm=Thrall]This Guild is Awesome[/guild].
Unique (so far) to this mod is the ability to specify a specific item when multiple items share the same name. This is done by passing an "ilevel" or difficulty. This is a little more complicated and I'd suggest using one or the other to avoid confusion among your users. The syntax for each is as follows: [item=Heroic]Hand of Morchok[/item] or [item ilevel=410]Hand of Morchok[/item]. These examples will result in identical output. Both were included as a precaution against Blizzard introducing more items with the same name not linked specifically to a difficulty level. Use whichever seems easier to explain to your users.
Feedback is appreciated! You can find us at the following link:
(PS: don't forget to rate!)
WoW Data, from MMO Web Tools
WoWData.php -- MyBB plugin for querying Blizzard's World of Warcraft API
version 0.1.0, February 17th, 2012
Basic ideas based upon the work of Daniel Major in his wowitem plugin.
Tooltips powered by DarkTip: https://github.com/darkspotinthecorner/DarkTip
and by jquery.qtip.min: http://craigsworks.com/projects/qtip/
Copyright © 2012 Luke Rebarchik
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Luke Rebarchik mmowebtools@gmail.com