Jump to content

  • Curse Sites
Help
- - - - -

Guild Wars 2 Database Syndication


  • Please log in to reply
8 replies to this topic

#1 Khalija

Khalija

    Leaf on the Wind

  • Administrators
  • Curse Premium
  • 4181 posts
  • Profession:Mesmer
  • Server:Jade Quarry

Posted 27 August 2012 - 08:09 PM

Posted Image


Hello everyone! A lot of people have been asking how they can have GW2DB tooltips on their site like we do here. To take advantage of the tooltip functionality you would need to make sure your website includes the JQuery Javascript library as well as our tooltip library. For that, simply add the following two lines to your website's HTML template:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="http://static-ascalon.cursecdn.com/1-0-4619-33130/js/syndication/tt.js"></script>
Once that's done, any links to entries on GW2DB will receive the tooltip, for example:
<a href="http://www.gw2db.com/skills/521-air-attunement">Air Attunement</a>
Or, if your forum uses BBcode:
[url="http://www.gw2db.com/skills/521-air-attunement"]Air Attunement[/url]

If you have any questions about adding syndication to your site, please ask here. Otherwise, all other feedback and suggetions for the GW2DB should be posted in this thread.



Posted Image


Many addon authors have been hard at work updating their addons for Patch 5.0.4 and Mists of Pandaria for World of Warcraft. You can find the complete list on Curse! Now might be a good time to take advantage of the Curse Client to update your addons, and the one click update for Premium users! If you are already using Curse Client, be sure to check this box in the options to help populate WoWDB with data!

#2 crises

crises

    Pale Tree Seedling

  • New Members
  • 7 posts

Posted 31 August 2012 - 02:55 PM

It doesn't work. Javascript fails at tooltip function, i've checked both with various versions of your javascript file and jquery. Also i use a IP.Board like you, so... i dont know what more to do.

#3 sanktanglia

sanktanglia

    GW2DB Developer

  • Curse Staff
  • Curse Premium
  • 127 posts
  • Server:Anvil Rock

Posted 31 August 2012 - 04:14 PM

@crises: can you link it to me? the #1 cause of it not working is people including jquery twice

#4 crises

crises

    Pale Tree Seedling

  • New Members
  • 7 posts

Posted 31 August 2012 - 04:46 PM

[quote name='sanktanglia' timestamp='1346429690' post='1855914']
@crises: can you link it to me? the #1 cause of it not working is people including jquery twice
[/quote]
I made sure not to include jquery twice, give me two minutes and ill send u a PM with the link.

#5 Thuley

Thuley

    Pale Tree Seedling

  • New Members
  • 9 posts
  • Server:Ehmry Bay

Posted 02 October 2012 - 07:27 AM

Could you possibly create a media tag for IP.Board for the GW2DB items?  I just don't know enough about regex etc to make this work.

In IP.Board it's under Look & Feel -> Post Content -> Manage Media Tag

It should be possible to make it so that when someone posts the URL to an item in the GW2DB like [code]http://www.gw2db.com/items/70517-ascalonian-leather-chestguard[/code] that the media tag converts that into [code]<a href="http://www.gw2db.com/items/70517-ascalonian-leather-chestguard">Ascalonian Leather Chestguard</a>[/code].

As an extension of that request it would be even more grand to create a BBcode that would work such that a user would simply post

[code][gw2]Ascalonian Leather Chestguard[/gw2][/code] and it would convert it into [code]<a href="http://www.gw2db.com/items/70517-ascalonian-leather-chestguard">Ascalonian Leather Chestguard</a>[/code] with tooltip.

There is a guy who tried to create the BB code for myBB but his effort seems to have fizzled.

Since you guys are using IP.Board it would be grand if you could create the BB code for IPB and release it as a mod. ;)

Thanks in advance for any kind of effort you can put into this, the media tag alone would be a big help.

#6 joeyjordi

joeyjordi

    Pale Tree Seedling

  • New Members
  • 1 posts

Posted 24 October 2012 - 06:09 PM

heeyy guys i cant login gw2db. cant open that website is it down or what ?

#7 Khalija

Khalija

    Leaf on the Wind

  • Administrators
  • Curse Premium
  • 4181 posts
  • Profession:Mesmer
  • Server:Jade Quarry

Posted 24 October 2012 - 06:33 PM

[quote name='joeyjordi' timestamp='1351102154' post='2040362']
heeyy guys i cant login gw2db. cant open that website is it down or what ?
[/quote]

No, it isn't down.

http://www.downforeveryoneorjustme.com/

Feel free to PM me if you have a question regarding moderation, want to leave some feedback, or just want to chat!


#8 Wynterarwyn

Wynterarwyn

    Vanguard Scout

  • Curse Premium
  • Curse Premium
  • 217 posts
  • Location:Cincinnati, Ohio
  • Guild Tag:[TOT]
  • Server:Henge of Denravi

Posted 05 June 2013 - 08:13 AM

Hi, I'm trying to incorperate the tooltips on a wordpress based website. Wordpress includes jquery by default, however when I add just

[CODE]
<script type="text/javascript" src="http://static-ascalon.cursecdn.com/1-0-4619-33130/js/syndication/tt.js"></script>
[/CODE]

To my wordpress header file All I get is a loading tooltip, but nothing ever loads.

Using
[CODE]<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="http://static-ascalon.cursecdn.com/1-0-4619-33130/js/syndication/tt.js"></script>[/CODE]

Causes other issues on the site. Such as certain scripts which use jquery not working properly. Any idea what might be going on?

Thanks,
Angel


[EDIT]
Never mind, strangely enough all the sudden just having
[CODE]
<script type="text/javascript" src="http://static-ascalon.cursecdn.com/1-0-4619-33130/js/syndication/tt.js"></script>
[/CODE]
started working...lol
[/EDIT]

Edited by Wynterarwyn, 05 June 2013 - 08:23 AM.

"I shall be telling this with a sigh Somewhere ages and ages hence: Two roads diverged in a wood, and I, I took the one less traveled by, And that has made all the difference." Robert Frost

www.TravelersOfTyria.com ~ A friendly, social PVE guild on the Henge of Denravi


#9 Avatar_Maggew

Avatar_Maggew

    Pale Tree Seedling

  • New Members
  • 4 posts

Posted 04 March 2014 - 06:22 PM

This was working earlier on my [url="http://magew.com/gw2"]elementalist blog[/url] - now it doesn't.

Any ideas?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users