The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
World of Warcraft Wowhead Item tooltips for vBulletin
![]() Developer Last Online: Jun 2014 ![]() ![]()
** Discontinued thread !
See https://vborg.vbsupport.ru/showthread.php?t=239911 for current thread in 3.8 modification areas. Show Your Support
|
Comments |
#142
|
||||
|
||||
![]() Quote:
if you need to link a spell, using the URL tags will work, do not use item tags. HTML Code:
[url=http://ru.wowhead.com/?spell=23214]Spell [/url] |
#143
|
||||
|
||||
![]()
just a quick update,
I do have a rudimentary spell, quest, achievement support worked out. There may be a bbcode tag for this but i don't think i'll have one. There is no reliable, accurate method to get a proper spell ID from a keyword (for example, search wowhead.com for `Blood boil' ) Achievements are the same way. Yes yes i know that someone write a rather complex set of "interfaces" to pull stuff from wowhead but i want something light that requires very little configuration and maintenance. Support for spells etc will be done by pasting wowhead URLs. The lookup is done and the name is retrieved and stored for so that it doesnt keep hitting wowhead for lookups. |
#144
|
|||
|
|||
![]()
2 Sweede: Excelent!! Finally i have no problem with loading page with a LOT items in posts. I tried to send post with 200 items. Post sending took about 10s. Any another post show is loaded almost instantly.
|
#145
|
|||
|
|||
![]()
version 0.6.0 don't work with russian links, for example I put link http://ru.wowhead.com/?item=45244 and then this url convert to next code:
[url=http://ru.wowhead.com/?item=45244][code][/code][/url] and when I use code [ITEM]Наголенники молниеносной расправы[/ITEM] I was receive an error: Code:
12:06:49 called in wowhead_item::start:415 Item not found! |
#146
|
||||
|
||||
![]()
Russian text is getting mangled in php / vbulletin on my test server. I don't think php is compiled with proper support for russian characters.
i won't be able to get to that one just yet, sorry ![]() However, about the memory load on the improved cache.. I write a script to crawl wowhead and import tons of items, and modified my code a little bit to show memory used before the cache variable is created and after. Number of Rows: 12483 05:06:13 called in wowhead_item::CreateCache:54 Memory before: 3,782,776 05:06:14 called in wowhead_item::CreateCache:65 Memory after: 9,260,188 ( 5,477,412) 12480 items using 5.4mb of memory or 438 bytes per item. I don't consider this to bad since most databases will only have 400-500 items, maybe 1,000, which would put memory around 440k Going to push through and crawl item IDs up to 55,000 and see how large i can make this. |
#147
|
|||
|
|||
![]()
2 sweede: One of my users found this bug:
If you have some hyperlinks to wowhead in post and use WYSWIG editor, after save changes the wowhead links are totaly broken. Try next steps: - Post new post like this: HTML Code:
[URL="http://wowhead.com/?faction=1011"]Wowhead[/URL] [URL="http://google.com"]Google[/URL] - Then edit this post (ajax or advanced edit, it doesn't matter) with WYSWIG enabled and save it again. - After this, you get post with this exactly: Code:
fhioasdfhosdfsad Google Can you look at this please? Lot of users on my forum wrote a very nice guides with many hyperlinks to wowhead, so when someone edit post in WYSWIG and save it, ALL of them will be lost ![]() Thanks Holy |
#148
|
||||
|
||||
![]()
Disable WYSIWYG for now, and go to (provided you are admin and can make yourself superadmin in the config file) Execute SQL Query,
from the automatic query select "Show Standard Editor Toolbar" Some of that is fixed in 0.6.0 the rest will be fixed when i upload 0.6.1 Update. |
#149
|
|||
|
|||
![]()
2 sweede: Upgraded to 0.6.1 and links now stay OK, but the text are changed by Wowhead title.
Use this: HTML Code:
[url=http://www.wowhead.com/?faction=1011]click me[/url] HTML Code:
[url=http://www.wowhead.com/?faction=1011]Lower City[/url] ![]() EDIT: Sorry, i see, this is a new feature. Looks cool and works fine for achivs, spells, quests, ... etc. EXCELENT!! But, bad thig is what i wrote before edit. Modifing ALL the hyperlinks text not good in some case. So, maybe limit that for links inside some TAGS will be better ... like a [ITEM]http://www.wowhead.com/?quest=10985[/ITEM] -> this will be autohyperlinked to [A Distraction for Akama]. I know, this is not a "item" exactly, but it is easiest way for users ... ONE TAG do LOT of MAGIC ![]() BTW: Please add brackets ( "[" and "]" ) in autohyperlink |
#150
|
|||
|
|||
![]()
version 0.6.1
1) links like http://ru.wowhead.com/?faction=935 work perfect (without any errors and russian link names also displayed correctly) 2) if I post 2 different wowhead (english) links I see a bug with wrong link names (I was use standart editor). Example: posting Code:
http://www.wowhead.com/?item=28742 http://www.wowhead.com/?item=39216 Code:
[Pantaloons of Repentance] [Pantaloons of Repentance] When I add one more links - it's also use link name from previous wowhead link. |
#151
|
||||
|
||||
![]() Quote:
Quote:
|
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|