vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Wowhead Item tooltips for World of Warcraft (https://vborg.vbsupport.ru/showthread.php?t=163987)

sweede 03-25-2008 09:53 AM

Quote:

Originally Posted by maelfius (Post 1473893)
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.

sweede 03-25-2008 10:11 AM

Quote:

Originally Posted by jluerken (Post 1474018)
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 ?

sweede 03-25-2008 10:12 AM

Quote:

Originally Posted by andrewkhunn (Post 1463213)
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.

sweede 03-25-2008 02:18 PM

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.

ssslippy 04-04-2008 10:48 AM

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.

sweede 04-04-2008 11:30 AM

Quote:

Originally Posted by ssslippy (Post 1482698)
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

ssslippy 04-05-2008 01:58 AM

So any advice on how to avoid the IE crashes when u mouseover a link?

OLDrCF 04-05-2008 03:16 AM

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?

ssslippy 04-05-2008 04:44 AM

OLDrCF is your host not allowing remote file calls?

OLDrCF 04-05-2008 05:50 AM

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.


All times are GMT. The time now is 07:47 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01285 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete