Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

That dont do shit looks like an lame attempt to advertize there site.. You can change it or remove it.. I remove all other sites urls from my phps other then well torrenttrader.org..
change

SQL_Query_exec("INSERT INTO warnings (userid, reason, added, expiry, warnedby, type) VALUES ($user,'".$reason."','".get_date_time()."','".$expiretime."','0','HnR')");

to



SQL_Query_exec("INSERT INTO warnings (userid, reason, added, expiry, warnedby, type) VALUES ($user,".sqlesc($reason).",".sqlesc(get_date_time()).",".sqlesc($expiretime).",'0','HnR')");
from what i seen my classfield_block.php works fine on the middle block but some themes mess up the middle block so its at the bottom:( H20 is 1 of them NB-TT-3x is another...  kind of silly to have the middle block as an footer oh well..
i put

error_reporting(E_ALL ^ E_NOTICE);
in the top of pages i am working on and just rem it out if done working on the page, and its fine..  If you did not change anything lol then should not error out..

the error_reporting at the top of phps over-rides the 1 in functions

if using the SQL_Query_exec for sql stuff it logs the errors in it anyway to your_siteurl/admincp.php?action=sqlerr no matter what the display is set to.  Just hiding the silly errors makes your site look less like newbies heheh and more secure.
thats normal, its the header redirect... On my site i turned off displaying errors globally and just turn them on in phps i am working on
my guess it might be something to do with this in torrents-upload



//update seedbox

if(get_user_class($CURUSER) > 4) {

                if ($_POST["seedbox"] == "yes") {

                $updateset[] = "seedbox = 'yes'";

                                }else{

                $updateset[] = "seedbox = 'no'";

                }

}




change to







//update seedbox

if($CURUSER["class") > 4) {

                if ($_POST["seedbox"] == "yes") {

                $seedbox = 'yes';

                                }else{

                $seedbox = 'no';

                }

}




an little more work but closer to who has an seed box is to add an new db like



ALTER TABLE `users` ADD `has_seedbox` enum('yes','no') NOT NULL default 'no';




but then you would have to have an way to edit it on account-details.. but its not really that hard lol

then once you set it up with the people that have an seedbox use





 //update seedbox

if($CURUSER["has_seedbox") > 4) {

                if ($_POST["seedbox"] == "yes") {

                $seedbox = 'yes';

                                }else{

                $seedbox = 'no';

                }

}

it might be an .js loading issue or conflict with another, 1st off I would check to make sure the .js is even loaded in the header in that theme. 1 draw back with having multi themes and custom java scripts is they have to be loaded in each 1 of the themes in the header.php.. some work if you have an site like mine and have like 20+ themes all active..
well ofcourse if you add it the banned ip.... you will have issues

But this addon has no auto ban or any other system in it... its just an display!!!!!!!!!!!!!!!!!!!!
@darknova my guess you not loading the .js in the theme you using to login with...

@webnight thats 2.01.... LOL good luck anyone else using it!!!
a: you cant use $user info in login_block in only the current user viewing the block!!!

b: you cant give rep to yourself anyway!!!!

c: change $user to $CURUSER and you might get someplace!!!!!!!!!!!!!!!!!!!!!!!
well its under the users table variable reputation .. anyone with an 1/4 of an brain could figure out how to call it:)

I could maybe see if in another table but .. users LOL!!!!!
[MOD] Popup MP — 2013-02-24 10:06:53 in v2 Only Mods Complete
untested.. change

De <b><?php echo $sender;?></b> le <?php echo $arr["added"];?> [il y a <?php echo $elapsed;?> ]



to

De <b><?php echo $sender;?></b> le <?php echo utc_to_tz($arr["added"]);?> [il y a <?php echo $elapsed;?> ]
change this in cleanup



//=== Remove donor status if time up and set class to power user ===//

$res = SQL_Query_exec("SELECT id, modcomment FROM users WHERE donor='yes' AND donoruntil < NOW() AND donoruntil <> '0000-00-00 00:00:00'");

if (mysql_num_rows($res) > 0) {

       $dt = sqlesc(get_date_time());

       $subject = sqlesc("VIP status removed by System.");

       $msg = sqlesc("Your VIP status has timed out and has been auto-removed by the System. We would like to thank you once again for supporting " . $site_config['SITENAME'] . ". If you wish to re-new your VIP, you can do so by clicking [url=".%20%24site_config%5B"] . "/donate.php]HERE[/url]. Cheers!n");

       while ($arr = mysql_fetch_assoc($res)) {

               ///--- Autosystem modcomment ---//

               $modcomment = htmlspecialchars($arr["modcomment"]);

               $modcomment = gmdate("Y-m-d H:i") . " - VIP status removed by System.n" . $modcomment;

               $modcom = sqlesc($modcomment);

               SQL_Query_exec("UPDATE users SET class = '2', donor = 'no', donoruntil = '0000-00-00 00:00:00', modcomment = $modcom WHERE id = $arr[id]");

               SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, subject, poster) VALUES(0, $arr[id], $dt, $msg, $subject, 0)");

       }

}




to




 //=== Remove donor status if time up and set class to power user ===//

$res = SQL_Query_exec("SELECT id, modcomment,class FROM users WHERE donor='yes' AND donoruntil < NOW() AND donoruntil <> '0000-00-00 00:00:00'");

if (mysql_num_rows($res) > 0) {

       $dt = sqlesc(get_date_time());

       $subject = sqlesc("VIP status removed by System.");

       $msg = sqlesc("Your VIP status has timed out and has been auto-removed by the System. We would like to thank you once again for supporting " . $site_config['SITENAME'] . ". If you wish to re-new your VIP, you can do so by clicking [url=".%20%24site_config%5B"] . "/donate.php]HERE[/url]. Cheers!n");

       while ($arr = mysql_fetch_assoc($res)) {

               ///--- Autosystem modcomment ---//

               $modcomment = htmlspecialchars($arr["modcomment"]);

               $modcomment = gmdate("Y-m-d H:i") . " - VIP status removed by System.n" . $modcomment;

               $modcom = sqlesc($modcomment);

               if ($arr["class"]<=3)   // Change this to your vip class if well diferent...

               SQL_Query_exec("UPDATE users SET class = '2', donor = 'no', donoruntil = '0000-00-00 00:00:00', modcomment = $modcom WHERE id = $arr[id]");

               else

               SQL_Query_exec("UPDATE users SET donor = 'no', donoruntil = '0000-00-00 00:00:00', modcomment = $modcom WHERE id = $arr[id]");



               SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, subject, poster) VALUES(0, $arr[id], $dt, $msg, $subject, 0)");

       }

}


[/code]
not really sure they might show if UTF-8 db and files saved in UTF-8 too

You could try changing it temp and then dling from your site a new torrent to see.
tech in account-details points should be view-able to staff no matter if they above level 3...

in the login_block 1 could use



       if ($CURUSER["class"]<=$site_config['maxmotm']) {

   $motm_current_query = @mysql_fetch_row(@SQL_Query_exec("SELECT motm.points FROM motm WHERE month = " . date("m") . " && year = " . date("y") . " && id = ".$CURUSER["id"]));

   $motm_current =  number_format(0+$motm_current_query[0],1);

   print ("<br />Current Member of the Month Points: ".$motm_current);

       }    

to do away with the query and all if under maxmotm class.. I dont like hardcoding classes into pages incase down the road change and/or add classes..
then find 1st

if ($user["privacy"] != "strong" || ($CURUSER["control_panel"] == "yes") || ($CURUSER["id"] == $user["id"])) {
on my dev site i did something like this



<tr>

   <td colspan="5">&nbsp;</td>

</tr>

<tr>

<td align="center"><a href="inactiveusers.php"><img src="images/admin/inactiveusers.png" border="0" width="32" height="32"><br /><?php echo T_("USURSINACTIVE"); ?></a><br /></td>

</tr>

after




<tr>

   <td align="center"><a href="admincp.php?action=warned"><img src="images/admin/warned_user.png" border="0" width="32" height="32" alt="" /><br /><?php echo T_("WARNED_USERS"); ?></a><br /></td>

   <td align="center"><a href="admincp.php?action=whoswhere"><img src="images/admin/whos_where.png" border="0" width="32" height="32" alt="" /><br /><?php echo T_("WHOS_WHERE"); ?></a><br /></td>

   <td align="center"><a href="admincp.php?action=censor"><img src="images/admin/word_censor.png" border="0" width="32" height="32" alt="" /><br /><?php echo T_("WORD_CENSOR"); ?></a><br /></td>

   <td align="center"><a href="admincp.php?action=forum"><img src="images/admin/forums.png" border="0" width="32" height="32" alt="" /><br /><?php echo T_("FORUM_MANAGEMENT"); ?><br /></a></td>

   <td align="center"><a href="admincp.php?action=users"><img src="images/admin/simple_user_search.png" border="0" width="32" height="32" alt="" /><br />Simple User Search<br /></a></td>  

</tr>




so I have room to add stuff without messing up layout.

Just remeber to keep those blocks in max of 5 for best layout.

like



<tr>

<td>

<td>

<td>

<td>

<td>

</tr>


you should get my drift.

they all located in the top ish in function navmenu()
.. please keep this civil people.. I am pretty sure mvp site he works on has over the so called biggest LOL!!!!  If I had unlimited hd space on my boxes I would prob have well over it too... And my site is all local torrents.

Mine Total Registered Users: 22,266 Users

LOL!!! Seeders: 8033

And ofcourse my site is TT based...
remove

, support=$support, supportfor=$supportfor
he has not defined support...
.. biggest torrent site???? lol what.cd has Torrents: 1,618,489 and Enabled Users: 162,635... so i would becarefully throwing around words like biggest.

And not 1 of them external... I dont consider external only sites even torrent sites.
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728