Tooltips don't work

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Tooltips don't work

Postby unfortunately » Sun Aug 31, 2008 10:02 am

Sorry for my bad english.
On my roster there is no tooltips when i mouse over items.
http://roster.garde-imperiale.ze.cx/ind ... nfo&a=c:81

Someone have an idea about how to fix this ?
(I try to reinstall the roster, clear all the addons and savedvariables and retry with a fresh install of the CharacterProfiler but nothing.)
User avatar
unfortunately
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Sat Jul 08, 2006 11:35 am

Re: Tooltips don't work

Postby unfortunately » Sun Aug 31, 2008 3:15 pm

Ok, i found something interesting why i was live editing the page

I take this page (in english)
http://roster.garde-imperiale.ze.cx/ind ... list&a=g:1

In the end of the page, i have something like :
Code: Select all
<script type="text/javascript">
<!--
   var overlib_1 = "Level 33 Femme Humaine Démoniste<br \/>Last Online: Sun Aug 31st, 7:25 AM in Bois de la Pénombre<br \/>Note: [quote]Soutien<br \/>";
   var overlib_2 = "23 / 0 / 0<br \/>";
   var overlib_3 = "<div style="white-space:nowrap;" class="levelbarParent" style="width:200px;"><div class="levelbarChild">XP 32049/48000 : 2<\/div><\/div><table class="expOutline" border="0" cellpadding="0" cellspacing="0" width="200"><tr><td style="background-image: url(''img/expbar-var2.gif'');" width="67%"><img src="img/pixel.gif" height="14" width="1" alt="" \/><\/td><td width="33%"><\/td><\/tr><\/table>";


If i change that to :

Code: Select all
<script type="text/javascript">
<!--
   var overlib_1 = "Level 33 Femme Humaine Démoniste<br \/>Last Online: Sun Aug 31st, 7:25 AM in Bois de la Pénombre<br \/>Note: Soutien<br \/>";
   var overlib_2 = "23 / 0 / 0<br \/>";
   var overlib_3 = "blablabla";


It works.
Maybe this can help to find where my problem is.
User avatar
unfortunately
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Sat Jul 08, 2006 11:35 am

Tooltips don't work

Postby unfortunately » Sun Aug 31, 2008 3:39 pm

Ok so i found a quick but dirty fix :
Edit /www/roster/lib/ functions.lib.php

Line 46, add :
Code: Select all
$content = str_replace('"',"'",$content);


But, wtf ? I'm the only one with this problem ?
Last edited by unfortunately on Sun Aug 31, 2008 3:40 pm, edited 1 time in total.
User avatar
unfortunately
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Sat Jul 08, 2006 11:35 am

Re: Tooltips don't work

Postby tuigii » Tue Sep 02, 2008 2:40 am

Well... interesting !!
(what else to say ?)

But GG for the solution.

I have some ideas, yes, of course. Its like magic.... these quotes issue :scratch:

What is your MAGIC_QUOTES setting in the .htaccess file ?
What's your PHP version ?
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 0 guests