Active
Project:
Lootz Item Filter
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 May 2010 at 19:01 UTC
Updated:
25 May 2010 at 16:48 UTC
I am trying to link to enchants using the [item]item#[/item] but it just shows the dead gray link.
Is there a way to accomplish the full functionality of the wowhead scripts within Lootz or Drupal?
It would be nice to be able to link Achievements and other things besides items.
Comments
Comment #1
andy68man commentedAt the moment this isn't part of the module - it's just for linking to items. To get it to lookup other things it would require a rewrite which I'm not skilled enough to do without going blind. I've just been able to help out squidging bugs when wowhead change their site etc. If you are good at coding feel free to jump in and give it a go, I might be able to help develop it with you. I'm alrightish at php coding but haven't written drupal modules before.
You'd need to get it to differentiate between:
Items
Item sets
NPCs
Quests
Zones
Talents
Professions
Mounts
Companions
Achievements
Abilities
Objects
Factions
Uncategorized Spells
World Events
The search facility could work, you'd have to mod the search string to have the correct item type at the end depending on the input ie http://www.wowhead.com/search?q=string#quests
You'd also have to rewrite the filter to say [item=spell]39954[item] or [item=spell]Fan of Knives[/item] and have it default to item if none is entered or something. It would complicate the module quite a bit though, not sure how people would get on with it.
Let me know if you get anywhere poking at it, we can take turns if you get stuck :)
Comment #2
JoshuaF commentedI'd love to help unfortunately I don't have the skill required in php to do the work.
I understand exactly what your saying, as I do program in other languages but php is a bit confusing for me still.
My current work around is to just use the wowhead script on the site, and do the full wowhead links so something like this:
Major Armor (http://www.wowhead.com/spell=27961/)
instead of
[Enchant Cloak - Major Armor]
The tooltip works either way it's just much cleaner looking if lootz could handle it.