Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Trader (http://www.bvlist.com/forumdisplay.php?f=29)
-   -   Seedbonus On Login (http://www.bvlist.com/showthread.php?t=12480)

BamBam0077 10th January 2022 12:40

Seedbonus On Login
 
Add into index.php script should refresh and add 2.0 seedbonus on login or while logged in it will update every time while logged in to make seedbonus points 2.0 is set though yet to be tested so give it a turn.

Code:

$seedbonus = $CURUSER[“seedbonus”];

/* seedbonus everytime your on the index page or script :) */
SQL_Query_exec("UPDATE users SET seedbonus = “.$CURUSER[“seedbonus”].”+2.0 WHERE id = ".$CURUSER["id"]."") ;

!!Requires Seedbonus Hack: https://torrenttrader.uk/topic?topicid=9722

szaby 10th January 2022 15:06

Hello!

This is not need:
PHP Code:

$seedbonus $CURUSER[“seedbonus”]; 


BamBam0077 10th January 2022 17:01

Okay thanks that’s just in case you wanted to use another variable other then $CURUSER[“seedbonus”] inside the sql_query

darkalchemy 10th January 2022 18:23

So, a user could just continuously hit refresh and get enough points to buy upload credit or anything else that is available.

You should probably add a min time between updates. A simple expiring cache would do for that.

xblade 10th January 2022 19:15

Quote:

Originally Posted by BamBam0077 (Post 56021)
Add into index.php script should refresh and add 2.0 seedbonus on login or while logged in it will update every time while logged in to make seedbonus points 2.0 is set though yet to be tested so give it a turn.

Code:

$seedbonus = $CURUSER[“seedbonus”];

/* seedbonus everytime your on the index page or script :) */
SQL_Query_exec("UPDATE users SET seedbonus = “.$CURUSER[“seedbonus”].”+2.0 WHERE id = ".$CURUSER["id"]."") ;

!!Requires Seedbonus Hack: https://torrenttrader.uk/topic?topicid=9722

Code:

$seedbonus = $CURUSER["seedbonus"];
SQL_Query_exec("UPDATE users SET seedbonus = ".$CURUSER["seedbonus"]."+2.0 WHERE id = ".$CURUSER["id"]."") ;

do you think this is the long way about this Lol
add to the login page

BamBam0077 10th January 2022 21:01

It was for a demo I just need to add a timer is so it can add points when we setup so for now it updates seedbonus from 0.0 to 2.0 each refresh as far as I understand so it was to basically get more bonus outta the system so they didn't have to just download comment etc a bonus gift for every member of you know what I mean. Was just an idea

Add inside of header.php
Code:

       
       

                          if (!$CURUSER){
                    echo "[".T_("LOGIN")."] ".T_("OR")." [".T_("SIGNUP")."]";
                }else{
$bonus=$CURUSER['seedbonus'];
                    print (T_("LOGGED_IN_AS").": ".$CURUSER["username"]."

Seedbonus :".$bonus."");


                    echo " [".T_("LOGOUT")."] ";
                    if ($CURUSER["control_panel"]=="yes") {
                        print("[".T_("STAFFCP")."] ");
                    }
           
                    //check for new pm's
                    $res = SQL_Query_exec("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')");
                    $arr = mysqli_fetch_row($res);
                    $unreadmail = $arr[0];
                    if ($unreadmail){
                        print("[$unreadmail ".P_("NEWPM", $unreadmail)."]"); 
                    }else{
                        print("[".T_("YOUR_MESSAGES")."] ");
                    }
                    //end check for pm's
                }
                ?>
       

       

https://images2.imgbox.com/60/20/ccmqo5nR_o.png https://images2.imgbox.com/a5/30/CLIxgxtE_o.png https://images2.imgbox.com/25/14/uHg9RHVh_o.png


Insert into index.php
Code:

/* seedbonus everytime your on the index page or script :) */
SQL_Query_exec("UPDATE users SET seedbonus=".$CURUSER['seedbonus']."+2.0 where seedbonus = ".$CURUSER['seedbonus']." ");


https://images2.imgbox.com/eb/f8/oU9Q0ba7_o.png https://images2.imgbox.com/da/d0/y56uce8K_o.png https://images2.imgbox.com/72/9e/CY3d89GE_o.png

Elena 11th January 2022 13:59

F5 press and your server will die + bonuses will drop like rain on your account.
Well, at least think with your head before you show such nonsense.
Bonuses are only credited for seeding for the distribution. You can give a bonus to the person who uploaded the release, but not what you wrote here. Bullshit...

BamBam0077 12th January 2022 08:09

PHP Code:

//seedbonus everytime your on the index page.
//SQL_Query_exec("UPDATE users SET seedbonus=".$CURUSER['seedbonus']."+2.0 where seedbonus = ".$CURUSER['seedbonus']." ");

if($CURUSER["class"] > ) { 
// vip+ 2.0 bonuspoints on refresh
/* seedbonus everytime your on the index page or script :) */
SQL_Query_exec("UPDATE users SET seedbonus=".$CURUSER['seedbonus']."+4.0 where seedbonus = ".$CURUSER['seedbonus']." ");


yeah it is such bullshit it does what I said
so anyway I modded it for VIP+ can refresh page and make 4.0 seedbonus on refreshs each time. So when I logged in as member or power user I can refresh all I like and no changes be upgraded to VIP+ you can refresh page as much as you want to start gaining 2.0+ seedbonus. Enjoy! :ok:

hon 8th February 2022 09:24

TorrentTrader.uk is not the official TorrentTrader site.

The original site is TorrentTrader.org

xblade 9th February 2022 13:27

Quote:

Originally Posted by hon (Post 56084)
TorrentTrader.uk is not the official TorrentTrader site.

The original site is TorrentTrader.org

true and thay should call it something else not torrent trader

torrent trader is org and its flasher code so stop taking the piss uk

Side not what can you offer


All times are GMT +2. The time now is 22:56.

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