![]() |
Wowhead Item tooltips for World of Warcraft
Please see https://vborg.vbsupport.ru/showthread.php?t=183035 for updated version
|
Can you edit the XML to reflect that it will work on 3.6.5? I had to edit it for min = 3.6.5 and max = 3.6.8.
It works completely on 3.6.5 fyi =D |
It will probably work with anything 3.6.x
i'll update it here in a few. |
Quote:
|
EDIT: I did not see 2.6 released.
I'm getting this error on some of my pages now..... Fatal error: Cannot instantiate non-existent class: vb_xml_parser in /html/forum/global.php(356) : eval()'d code on line 103 |
Worked like a charm! Awesome.
|
Installed and works perfectly. Thank you
|
Awesome, works just as well as I hoped when I wrote that "I wish if someone could just.." post in the other thread. Great work!
|
I'm also working to get it where if you post a wowhead URL , instead of making the URL clickable, it grabs the item name from the URL and create the item link accordingly
i.e. HTML Code:
http://www.wowhead.com/?item=18609 HTML Code:
[item]Anathema[/item] |
I have curl enabled and am getting the following error.
Fatal error: Call to undefined function curl_init() in /usr/home/guild/public_html/forumold/global.php(360) : eval()'d code on line 319 Any ideas? gitemstats links for hyjal and bt are currently broken @ http://www.afraidyet.net - kinda wierd :/ |
Removed the need for CURL , if you aren't having issues, there is no reason to update.
|
Many thanks for coming up with this mod for Wowhead integration!
I've installed and noticed something I was hoping I could tweak in the itemname appearance in post. In my installation the Items names are underlining. I looked at the example on your site and this is not occurring. It did not occur with my previous installation of gItemstats or the original Itemstats product. I looked thru the plugins your xml install but I don't see what would be causing the name to be underlined. Could you point me to the code so I can tweak that please. Example attached. Attachment 72937 |
Are all your links underlined? ;) As far as I know this just inherits these properties from whatever style that is in use. If I test with a style on my board that has default underlining of links, these links are underlined. If I'm using the style that's actually in use, with no link underlining unless hoovering, I don't get any underlines.
Shorter version; You need to set up the CSS for your style. |
Quote:
It is because that your style underlines URL links and the example i have doesnt. however, the new version allows you to set text-decoration: none; in the item URL (along with bod) in your admin options. also my product update should fix a bug in vbulletin http://www.vbulletin.com/forum/proje...?issueid=23842 |
So far,I'm liking this mod. However, like gItemStats, the WYSIWYG editor can mess up the links, though not as badly.
I've found a way around it, thanks to the WoWhead js, simply create an item BBCode. Problem is, I'm not sure what to include in the replacement field. Any ideas? Thanks again for making these changes to the mod. |
Sweede, Thanks for the quick response and adding the option to disable text decoration for item links.
I updated to your new version and its working like a charm. |
What I'm trying to do right now is two things.
1. Create a Custom BB Code, so that you can use the WYSIWYG editor, without it messing up the item tag. I want it to recognize the item tag. 2. Instead of typing item and /item, you simply type the name of the item, highlight it, and click the WoWHead button, which warps the item tags around the item name. However, I'm having a hard time figuring out what to put in the "replace" section. I'll keep trying, but if you have any input, feel free to add it in :) |
Since we're on the same WoW server Az I've been following your site for a while. What DKP setup you guys using? I notice the item history linking modules you had on the main page for a while showing item history and various changes you've been making to your site over the last few weeks. We use EQDKP plus modded but I noticed you were using one with vbphrases involved. (Just recently) Is this custom or something you've found and have been working on yourself? I could incorperate EQDKP plus loot history on our main page but it looks like you have setup a much easier way of doing this. New RS site looks nice =) I'm not running VBadvanced, so our setup is a little different.
WoWHead item stats is much cleaner code than gitemstats was, thank you for this mod. Installed. http://www.afraidyet.net -Radek |
Quote:
we use loot council, but i'm writing an attendance tracker based on a modified version of NRT (http://rabbit.nihilum.eu/nrt.html). I have quite a bit of re-writing to do though. |
This is awesome and so easy to install. Only problem is the item link is using my template's default color not purple or whatever the item quality is. Any ideas?
http://www.tlbguild.org/forums/showthread.php?t=5 |
Quote:
The way around this is NOT to use the WYSIWYG Editor controls. in the Admin CP, go to vbulletin options -> Message Posting Interface Options and change the three options under "Enable Clickable Message Formatting Controls" to "Enable Standard Controls" Now, since some of your users may have the wrong option checked, you can mass update them if you set an option in the config.php file. Code:
$config['SpecialUsers']['canrunqueries'] = '1'; then go to Maintenance -> Execute SQL Query and from the drop down list select "Show Standard Editor Toolbar" |
I have vbAdvanced, is it possible that the [item]Name[/item] work on custom html pages?
|
This should add information about the bbcode to misc.php?do=bbcode.
|
Quote:
Is there an easy way of doing that ? There doesnt seem to be a lot of documentation on adding stuff through the built in API of vBulletin (or even that there IS an API for vBulletin!). Edit: I added the info about the bbcode to the location listed. It's Q&D but thats why plugins and hook locations were created right :) sergiod06 , not for custom HTML pages. I'm sure that there is a way to search & replace items via plugin hooks but there isnt much reason to do that. if you need to add item links, the proper format for the item mouseover can be found at wowhead.com HTML Code:
<a class="q5" href="http://www.wowhead.com/?item=19019">Thunderfury, Blessed Blade of the Windseeker</a> q4 is epic q3 is rare q2 is uncommon q1 is common q0 is junk |
Yes, i've done a custom BBCode page, however the html that is perfect on html page, is messed up on the bbcode page :P
|
Quote:
Now when you say "Custom HTML page" , do you mean Vba- >Add Page- > Page type of ?? Template Page or HTML File page ? |
how can I add a button so that when I type in the item name , I can highlight it and click that button , making it wrap the [ item ] tags around it ?
|
That's on my list of things to do, i'll try to figure it out for an update tomorrow.
|
Installed this yesterday and it worked fine on the test server.
Just gone onto the "live edition" of the forum and sadly does not work any longer. It's on a fresh install of vBulletin and is one of the first mods i've gone to add. When importing the product I get this error appear briefly: Code:
Parse error: syntax error, unexpected $end in D:\wamp\www\forum\admincp\plugin.php(1970) : eval()'d code on line 4 Using just the WoWhead address for the item just stays as the url e.g.: http://www.wowhead.com/?item=33491 Any suggestions? |
Quote:
Download the latest 0.3.1a version and add the product again. |
Quote:
|
Also, im updating the plugin . xml file to include the above plugin and an option to enable/disable the specific hook if you do not use VbAdvanced CMPS
|
Quote:
You instead can enable this for HTML Included pages only by adding Code:
require_once(DIR . '/includes/class_bbcode.php'); You still will have issues with any javascript included in the HTML file though. |
I've been using gitem stats for awhile, but was excited to see this one. Am i completely misunderstanding something or do your users have to know the wowhead item number in order to make this work? With gitem stats you just used [item]name[/item] and it would give you a mouseover tooltip/link. with this, it appears that you have to include the actual wowhead item number when trying to create the link. is that right? if so...is there any way to make this mimic gitem in that regard? i'd hate to expect my users to go and look the item number up everytime they want to post something.
any assistance would be appreciated. Thanks. =) |
This works with [item]Spiteblade[/item] :)
|
What it does is similar to how the itemstats works.
you post an item with the item tag, [item]foo[/item] The first thing it does is it looks up the name foo , in the database (the database stores the item name, the item quality and the item ID). It reads the item ID and quality and writes the URL. If it cannot find the item name there, it checks wowhead to see if the site exists. The URL to a wowhead item is pretty simple, http://www.wowhead.com/?item=[ItemName]&xml , for example http://www.wowhead.com/?item=Nightseye&xml I just read the item ID from the xml and write the URL to match whats required by the wowhead javascript http://www.wowhead.com/?powered |
Quote:
I've found that my users would rather post the item link http://www.wowhead.com/?item=33585 when trying to list their "wish" lists and whatnot... so, i updated the plugin |
Quote:
|
Install the Updated XML file (0.3.5a)
Due to this bug, http://www.vbulletin.com/forum/proje...?issueid=24174 The product name of my template was changed from what it should be to vbulletin and when i exported the product last, the template wasnt included in the export. |
sweede. you just made my day! love it! thank you! =)
|
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|