Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Wowhead Item tooltips for World of Warcraft Details »»
Wowhead Item tooltips for World of Warcraft
Version: 0.4.5b, by sweede sweede is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 11-29-2007 Last Update: 05-19-2008 Installs: 90
DB Changes Uses Plugins Auto-Templates
Re-useable Code Translations Is in Beta Stage  
No support by the author.

Please see https://vborg.vbsupport.ru/showthread.php?t=183035 for updated version

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #142  
Old 03-25-2008, 09:53 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maelfius View Post
I am also seeing the vbulletin SQL_DB::escape_string_like errors. A Fix for this would be greatly appreciated.

Unless most of the functions that are defined in vbulletin_wowhead.php (that are duplicated by the vbulletin plugin) are commented out, you get duplicate defined functions. With the functions commented, SQL_DB::escape_string_like errors occur.

This appears to indicate the use of EQDKP hack and the use of the vbulletin mod are mutually exclusive.

The error is most likely because the database class object in EqDKP and Vbulletin share the same name ($db). to work around this, i unset the $db variable and reference the vbulletin DB exclusivly , $vbulletin->db->



Since i do not care about eqdkp data, I had to some how force eqdkp to go into the vbulletin class to pull the data from the database. Since most likely your EqDKP installation and your vbulletin installation will be in different directories (i.e. /forums and /eqdkp ), i have to change the php script local path (via chdir) to the vbulletin directroy, run all of the stuff i need to, then change back to EqDKP.

Currently i have on line 25,
PHP Code:
unset($db); 
Perhaps i should have this before the init.php include from vbulletin.

Please try removing line 25 and placing the following;
before line 13.
PHP Code:
$olddir getcwd();
$eqdkp_db $db// Save EqDKPs database object
unset($db); // delete current EqDKP object 
before line 180 (before chdir($olddir); )

PHP Code:
unset($db); // Delete current Vbulletin Object (we are done with it)
$db $eqdkp_db// Copy EqDKP object back to default
unset($eqdkp_db); // Unset copy of EqDKP Object
chdir($olddir); 
I really can't think of a work around other than re-writing EqDKP and intergrating it within Vbulletin. Not something i think i am prepared to do at this time.
Reply With Quote
  #143  
Old 03-25-2008, 10:11 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken View Post
Is there a way that the items can be shown in German?
I don't know if i can or not.
the plugin works as follows;

https://vborg.vbsupport.ru/showpost....4&postcount=36

the question i would have for you, is that if you visit wowhead.com, is the website in german or english ?
Reply With Quote
  #144  
Old 03-25-2008, 10:12 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andrewkhunn View Post
Adding </base> at the top of the default template worked for me. Dirty workaround though.
This is good news i think , i'll have an update here soon and address that issue.
Reply With Quote
  #145  
Old 03-25-2008, 02:18 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those that are having issues, would you please revert any work aroudns you may have done and try the following.



Plugins & Products -> Add New Plugin

Product WoW Head ItemStats
Hook Location global_complete
Title Wowhead Itemstats base tag fix
Plugin PHP Code
Code:
 $output = preg_replace("/(<base href=\".*\">)/",
"\\1</base>",$output);

Thank you.
Reply With Quote
  #146  
Old 04-04-2008, 10:48 AM
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Posts: 877
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you edit a post the item bold disapears.
Also I tried doing the above edit however is there a way to avoid the IE error if the page has not finished loading?

Is there a way to make it so the links dont function till the page loads.
Reply With Quote
  #147  
Old 04-04-2008, 11:30 AM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ssslippy View Post
If you edit a post the item bold disapears.

https://vborg.vbsupport.ru/showpost....2&postcount=21

The Ajax editor doesnt understand what is going on since i take the item bbcode and turn it into a URL. when you edit or make a post with the WYSIWYG editor interface, it just thinks your making a normal URL type bbcode tag and drops the css information about the item link
Reply With Quote
  #148  
Old 04-05-2008, 01:58 AM
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Posts: 877
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So any advice on how to avoid the IE crashes when u mouseover a link?
Reply With Quote
  #149  
Old 04-05-2008, 03:16 AM
OLDrCF OLDrCF is offline
 
Join Date: Mar 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this mod on 3.6.9 and it's buggered the site, can't access it or the admin panel, error get is:

Fatal error: Cannot redeclare http_get() in ......../includes/init.php(336) : eval()'d code on line 60

Can any help me getting this fixed pleasE?
Reply With Quote
  #150  
Old 04-05-2008, 04:44 AM
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Posts: 877
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OLDrCF is your host not allowing remote file calls?
Reply With Quote
  #151  
Old 04-05-2008, 05:50 AM
OLDrCF OLDrCF is offline
 
Join Date: Mar 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

According to them Fsockopen was enabled (if that's the one) but not sure otherwise ... I just want to remove the mod and get the forums working at this stage and will investigate further afterwards.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06153 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete