Instead of spamming his thread with xml files of this hack, i decided to post here so that people can take full advantage of it, get notices of updates, etc.
Changelog
0.7.5
Removed old vbulletin option
Updated URL
0.7.4
When Item ID is used without a piped option (i.e. [item=12345|lang]Item Name[/item] ) , the default language was never set and rendered all item tags after invalid
0.7.3
Added changes provided by sub_ubi, thanks
To Do
Export functions from the init_startup hook so that it may be used in other scripts like EqDKP by including the global.php vbulletin file
Also sent this question via PM, but reposted here for posterity's sake:
Quote:
Originally Posted by andrewkhunn
I'm having some difficulty with the latest version of the Wowhead Item Stats script. Somewhere along the line, my users decided to create item links of the following variety:
[item=12345]Bijou's Belongings[/item]
These style links are now horribly broken. In fact, when introduced in an otherwise normal item link list such as:
Not only is the [item=12345]Bijou's Belongings[/item] entry returning orange brackets, but all valid item links below that entry in the same post are broken as well.
Can you think of any reason why this may be occurring and what a possible fix might be? We currently have around 3,238 posts affected by this issue and, short of doing a search/replace with some combination of PHP and SQL scripting, don't have a solution to get these malformed links working again.
I tried to add custom bbcode so users could highlight the item, and get the tags inserted around it, but that seemed to break it.. what parameters should I use in the custom code?
fixed the issue, will be putting an update here shortly
I'm still having an issue with the invalid item links (e.g. [item=12345]Bijou's Belongings[/item]). Although I upgraded to 0.7.4 and regenerated the post cache, those style item links are still returning invalid.
If I edit a post with an invalid item link, change nothing and save, the item link is magically working. It sounds to me like there is something wonky going on with the post cache.
I'm still having an issue with the invalid item links (e.g. [item=12345]Bijou's Belongings[/item]). Although I upgraded to 0.7.4 and regenerated the post cache, those style item links are still returning invalid.
If I edit a post with an invalid item link, change nothing and save, the item link is magically working. It sounds to me like there is something wonky going on with the post cache.
Any ideas?
I had this issue before, i'm pretty sure the answer is in my vb 3.6 thread (follow the link in this post to the previous mod which links back to the previous 3.6 mod)