View Full Version : Don't know where to post this (AkoBook v3.2)
TheWraith
18.06.2004, 16:45
I apologize if this post is in the wrong place. I downloaded AkoBook v3.2 from mamboportal.com and was wondering if there was a fix for the annoying double/single quote issue.
If you submit a guestbook entry of:
This is a "test"
It will be published as:
This is a \"test\".
You can edit the entry from the admin section, where it will initially list the published entry as: (before edit)
This is a \\\"test\\\".
After editing, the guestbook entry displays as intended. Is there a fix anywhere?
X-F4CT0R
18.06.2004, 17:55
I would prefer asking Arthur, the creator. Or Admin in the forum. Try sending him a private message or an email. I hope you know how to do that. If not go on www.mamboportal.com and contact him from there.
TheWraith
18.06.2004, 17:58
I worked for InfoPop (UBB) for over 4 years. I can handle forum navigation ;) Thanks for the response.
leonhouse
18.06.2004, 23:27
Yeah, that's what I was wondering also, if you get any info about fixing that I'd really appreciate it, because it's been doing the same thing on my site.
Leon House ( http://www.LeonHouse.tk ) of The Skip Tracers' Promotions (TSTP) @ http://www.TheSkipTracers.com
tonyskyday
19.06.2004, 00:58
I haven't looked at the code, but it seems like it would be related to you magic_quotes setting and any addslashes() and stripslashes() functions in the code.
But! I could be wrong. I would use the contact form at mamboportal to contact Arthur.
-Tony
Open akobook.php and insert the following line :-
$gbtext = stripslashes($gbtext);
Around line 153 , after :-
# Clear dangerous sql injections
$gbname = mysql_escape_string($gbname);
$gbmail = mysql_escape_string($gbmail);
$gbloca = mysql_escape_string($gbloca);
$gbpage = mysql_escape_string($gbpage);
$gbvote = mysql_escape_string($gbvote);
$gbtext = mysql_escape_string($gbtext);
$gbicq = mysql_escape_string($gbicq);
$gbaim = mysql_escape_string($gbaim);
$gbmsn = mysql_escape_string($gbmsn);
This should fix your problems..
Cheers.
oz.
vBulletin® v3.8.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.