Syndicate aion legion
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 We can link now ITEMS from game ;)

Go down 
AuthorMessage
Hirius
Admin
Hirius


Posts : 281
Reputation : 505
Join date : 2009-07-11
Age : 53
Location : Spain

We can link now ITEMS from game ;) Empty
PostSubject: We can link now ITEMS from game ;)   We can link now ITEMS from game ;) I_icon_minitimeSun Jul 12, 2009 10:22 pm

ok i just finished to put a javascript code so we can LINK items directly from:

http://www.aionarmory.com

into our forum.....

how to do it:


Whenever you want to include an item tooltip in a news story, comment, or forum post, all you need to do is create a AionArmory link to the item. Here's are some examples:

* ItemItems:<a href="http://www.aionarmory.com/item.aspx?id=100900189">Abominable Cruelty</a> (Abominable Cruelty)
* NPCNPCs:<a href="http://www.aionarmory.com/npc.aspx?id=203132">Nemia</a> (Nemia)
* SpellSpells:<a href="http://www.aionarmory.com/spell.aspx?id=965">Healing Light I</a> (Healing Light I)

Customizing Links

Links can be customized by applying a "class" attribute to the anchor tag. Here are some of the options we currently offer.

* Auto label: If you would like your links to have the item name and rarity color automatically applied for you, simply use the class attribute: "aiondb-item-text".
For example: <a class="aiondb-item-text" href="http://www.aionarmory.com/item.aspx?id=435134">Unknown Item</a> will display Abominable Cruelty
* Links with Icons: To include an icon with your link, as well as the label, use one of the following three class attributes: "aiondb-item-full-small" for a small icon, "aiondb-item-full-medium" for a medium icon, or "aiondb-item-full-large" for a large icon.
For example: <a class="aiondb-item-full-small" href="http://www.aionarmory.com/item.aspx?id=100900189">Abominable Cruelty</a> will display
Abominable Cruelty

Changing the class attribute to aiondb-item-full-medium will produce:
Abominable Cruelty

And to aiondb-item-full-large:
Abominable Cruelty


-----------------------


Now that we have the code, we just need the code to the link.
To do it just right click to the item name on the database and take the link and paste it on the codes i posted above.:

i.e.:

we will use a simple link to an item

<a href="http://www.aionarmory.com/item.aspx?id=100900189">Abominable Cruelty</a>

ok, on the red part of the code paste the code from right click the item on database (link to the item)
on the yellow part of the code put the name of the item...

Thats all Wink


hope this help us Smile
Back to top Go down
https://syndicate.superforo.net
Hirius
Admin
Hirius


Posts : 281
Reputation : 505
Join date : 2009-07-11
Age : 53
Location : Spain

We can link now ITEMS from game ;) Empty
PostSubject: Re: We can link now ITEMS from game ;)   We can link now ITEMS from game ;) I_icon_minitimeSun Jul 12, 2009 10:30 pm

ummmmm need to fix it..... just work on preview the post...
Back to top Go down
https://syndicate.superforo.net
Hirius
Admin
Hirius


Posts : 281
Reputation : 505
Join date : 2009-07-11
Age : 53
Location : Spain

We can link now ITEMS from game ;) Empty
PostSubject: Re: We can link now ITEMS from game ;)   We can link now ITEMS from game ;) I_icon_minitimeSun Jul 12, 2009 10:35 pm

ok fixed....


to make it work :

go to

Profile tab (found on Navigation Bar); or My Profile (found on the Log-In widget) >

Preferences tab >

From that page, scroll down a bit to where Always allow HTML : is keyed on the page, and select Yes next to it.
Be sure that you Save the settings afterwards.

enjoy it Wink
Back to top Go down
https://syndicate.superforo.net
Sponsored content





We can link now ITEMS from game ;) Empty
PostSubject: Re: We can link now ITEMS from game ;)   We can link now ITEMS from game ;) I_icon_minitime

Back to top Go down
 
We can link now ITEMS from game ;)
Back to top 
Page 1 of 1
 Similar topics
-
» testing items link
» The best game ...
» ¡¡¡Asmodian Girls Power!!!
» Noticias Closed Beta 5 / News Closed Beta 5
» It is fun game Swtor,come to see that or you will like it.

Permissions in this forum:You cannot reply to topics in this forum
Syndicate aion legion :: GAMEPLAY :: General-
Jump to: