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 make poll work (http://www.bvlist.com/showthread.php?t=4112)

benjaminbih 3rd January 2010 01:52

[FIX] FTS 1.1 make poll work
 
Open /include/factory.php and find:

PHP Code:

    public function pollshow() {
        unset (
$pollexists); 

and change to:
PHP Code:

    public function pollshow() {
    global 
$CURUSER;
        unset (
$pollexists); 

find in same file:
PHP Code:

  $voted true;
  else
  
$voted $arr2

and change to:
PHP Code:

  $voted $arr2;
  else
  
$voted true

still in same file find:
PHP Code:

    print("<form method=post action=index.php>\n"); 

and cahnge to:
PHP Code:

    print("<form method=post action=\"".$_SERVER['PHP_SELF']."\">\n"); 

still in same file find:
PHP Code:

    public function pollwatch() {
        if (
$_SERVER["REQUEST_METHOD"] == "POST")


and change to:
PHP Code:

    public function pollwatch() {
global 
$CURUSER;
        if (
$_SERVER["REQUEST_METHOD"] == "POST"

it think that was all


:relax:

Edgein 3rd January 2010 10:23

Yess m8

nice done
works great now

xxx2008 8th January 2010 12:15

thxxxx m8
is works


All times are GMT +2. The time now is 16:12.

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