PDA

View Full Version : What happent to item links?


jimango
03-30-2009, 09:06 AM
Hey what happend to the itemslinks?
I have up to now used the following solution to make mouseover links for items at my forum..
Now the links seems changed.. and i can no longer make mouseover images for items..

This is how i used to do it:

Thanks..

What i now did to make this work was to make an custom BBcode in phpBB3

This way i could add the custom html-replacement

This acctualy works now when i roll my mouse over =D

I did this as the new bbcode:
{TEXT1}
And this as the html-replacement:
<script type="text/javascript" src="http://aoc.yg.com/extern/tooltip.js"></script>
<a href="http://aoc.yg.com/item/{TEXT1}"
onmouseover="ShowToolTip(event, 'http://aoc.yg.com/etooltip/{TEXT2}')">{TEXT1}</a>

The things any member need to do now is:
Girdle of Vernant Fury

this will add and mouseover image for the Girdle of Vernant Fury.
The number of the item will have to be copied from the imagelink found at the items location at aoc.yg.com


The only thing i now have to do is make the link work to ur site
But i have not time to find out now, will update post when i do.
Or if u want to enlighten me, feel free =D

the thing is that i want only the name of the item showing, not the "/somekindofnumber" after name. =D

jimango

The links now look like:
http://aoc.yg.com/tooltip?h=bnay6ylY
instead of the old:
http://aoc.yg.com/tooltip/Helm-of-Vernant-Fury/3b23b591f6a62324a0682de5cad41bf5d/0

so how do i work around this.. the old Helm of Vernant Fury still work at my site.. but i can not add a new item, in the same way..

regards jimango

YGAdmin
03-30-2009, 09:41 AM
Hey what happend to the itemslinks?
I have up to now used the following solution to make mouseover links for items at my forum..
Now the links seems changed.. and i can no longer make mouseover images for items..

Ahh I see the issue this would have with BBCode for forums. We are updating our external tools so we can provide easier ways to display our information. I think the best solution will be for us to adjust our script to automatically add the hover-over effect to item links that way a standard html a ref link would automatically apply the hover-over tooltip code to the link.

I think that will make it much easier to implement. A custom BBCode could also be written if needed to include the script code if editing the templates to add the script is not an option. It would look something like:

Code: {TEXT1}

Example: Helm of Vernant Fury

HTML-Replace:

<script type="text/javascript" src="http://aoc.yg.com/extern/tooltip.js"></script>
<a href="{TEXT2}">{TEXT1}</a>What is great about this is if the script code is added to like the header template of the forums then any standard URL BBCode link would automatically get the tooltip script added to it as well.

Tarka
03-30-2009, 06:45 PM
Btw Jim, www.guildlaunch.com has built in item coding which now links to the yg.com website, just in case you're thinking of switch guild site providers ;)

Siberian
03-30-2009, 08:45 PM
Now to update 100+ links in my "store" :(

jimango
03-30-2009, 09:52 PM
Btw Jim, www.guildlaunch.com has built in item coding which now links to the yg.com website, just in case you're thinking of switch guild site providers ;)

Sorry, i dont see any reason to pay money for somthing i can do myself for free ;p

Tarka
03-31-2009, 12:43 AM
True, but you don't have to pay for it.
Anyhow, if you're a hotshot in html etc, who needs guildlaunch? ;)

YGAdmin
03-31-2009, 02:08 AM
Now to update 100+ links in my "store" :(

Old item links should redirect to their new link automatically. However some do not appear to be doing so. We'll get this fixed.

Siberian
03-31-2009, 05:23 AM
Old item links should redirect to their new link automatically. However some do not appear to be doing so. We'll get this fixed.

Thanks for looking into this, Admin!

YGAdmin
03-31-2009, 08:58 AM
Should be fixed now.

jimango
04-02-2009, 10:32 AM
True, but you don't have to pay for it.
Anyhow, if you're a hotshot in html etc, who needs guildlaunch? ;)

Im no hotshot, i use free cms, and free forum software..
i have my "own" server tho, but cms and forum software is free and easy to learn..
It is also possible to use at some web-hosters with full funksjons..
I see it can be an easy solution to use ur service as well.

I just like to learn how to do it my self ;)