Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Free Torrent Source (http://www.bvlist.com/forumdisplay.php?f=25)
-   -   [FIX] FTS 1.1 not usable buttons on topic display in IE and JS error (http://www.bvlist.com/showthread.php?t=4097)

benjaminbih 31st December 2009 00:12

[FIX] FTS 1.1 not usable buttons on topic display in IE and JS error
 
1 Attachment(s)
[B][SIZE=2]If you use FTS and if you have issues with clickable buttons in IE like me.
Then replace the file /forums/while.php with my file.

A javascript error is also fixed, the error was in "Reply with quote" because the quoted text was not formatted for JS or JSON. So you get an error like "Missing ')' after argument".

[COLOR=Red]Thanks are welcome, and also welcome but more welcome is the help of other members that use FTS to post FIX

Edgein 31st December 2009 20:34

Thx m8 good job

Vazze 30th January 2010 01:16

If you get the [function.json-encode]: Invalid UTF-8 sequence in argument

Change: line 176/177
PHP Code:

$quotea json_encode(htmlspecialchars("Re: $arrq[subject]"));
$quoteb json_encode("<<<@!1!@>>>"); 

To

PHP Code:

       $quotea utf8_encode(htmlspecialchars("Re: $arrq[subject]"));
       
$quoteb utf8_encode("<<<@!2!@>>>"); 

Yeah, the PHP "quote" is wrong, but you'll only change the json_encode to utf8_encode and you'll be set.


All times are GMT +2. The time now is 08:42.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.