Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Free Torrent Source
Reply
  #1  
Old 3rd January 2010, 01:52
benjaminbih benjaminbih is offline
Senior Member
 
Join Date: Jul 2008
Bosnia-Herzegovina
Posts: 70
Default [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


Reply With Quote
The Following 3 Users Say Thank You to benjaminbih For This Useful Post:
Edgein (3rd January 2010), Phogo (8th January 2010), yoligim (3rd January 2010)
  #2  
Old 3rd January 2010, 10:23
Edgein's Avatar
Edgein Edgein is offline
Senior Member
 
Join Date: Sep 2008
Netherlands
Posts: 154
Default
Yess m8

nice done
works great now
Reply With Quote
  #3  
Old 8th January 2010, 12:15
xxx2008 xxx2008 is offline
Senior Member
 
Join Date: Jul 2009
P2P
Posts: 33
Default
thxxxx m8
is works
Reply With Quote
Reply

Tags
11 , fix , fts , make , poll , work

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PM does not work torrentfreak Torrent Strike 1 20th January 2010 21:03
Make leftmenu work right benjaminbih Mods & Themes 0 25th December 2009 02:00
Help making a mod work with ajax instead! Viperia Torrent Trader 0 19th August 2009 15:58
XBT tracker will work on ysn?? Azurious Yuna Scatari Edition (YSE) 1 30th January 2009 16:36
the [img][/img] tag doesn't work? roland1000 TBDev 4 23rd July 2008 22:43



All times are GMT +2. The time now is 01:22. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.