Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 5th November 2008, 08:44
dyzzy's Avatar
dyzzy dyzzy is offline
Senior Member
 
Join Date: Mar 2008
Posts: 20
Smile Anonymous Uploader
This mod will change all your uploaders name into anonymous!Just some simple changes :)
DEMO HERE
Let
Reply With Quote
The Following 2 Users Say Thank You to dyzzy For This Useful Post:
darkytt (20th August 2009), vedroboy (3rd March 2009)
  #2  
Old 7th November 2012, 15:45
wMan's Avatar
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Thumbs up
@upload.php Add
PHP Code:
tr("Show uploader""<input type=checkbox name=uplver value=yes><b>Don't Show My Username In ( Uploaded By ) Field In Torrents Page.</b>"1); 
@takeupload.php Add

PHP Code:
  if ($_POST['uplver'] == 'yes') {
  
$anonymous "yes";
  
$anon "Anonymous";
  }
  else {
  
$anonymous "no";
  
$anon $CURUSER["username"];
  } 
@ the big query Add

PHP Code:
anonymous
And

PHP Code:
$anonymous
And

PHP Code:
  ////////Shoutbox announce with adult ban by Mag////////////

  
if ($CURUSER["anonymous"] == 'yes')
  
$message "New Torrent : [url=$DEFAULTBASEURL/details.php?id=$id] " htmlspecialchars($torrent) . "[/url] Uploaded - Anonymous User";
  else
  
$message "New Torrent : [url=$DEFAULTBASEURL/details.php?id=$id] " htmlspecialchars($torrent) . "[/url] Uploaded by " htmlspecialchars($CURUSER["username"]) . ""
And

PHP Code:
  // ===add karma
  
sql_query("UPDATE users SET seedbonus = seedbonus+15.0 WHERE id = $CURUSER[id]") or sqlerr(__FILE____LINE__);
  
// ===end
  
if ($CURUSER["anonymous"] == 'yes')
  
//write_log("Torrent $id($torrent) was uploaded by Anonymous $CURUSER[username]");
  
write_log("torrentupload""Torrent $id ($torrent) was uploaded by Anonymous $CURUSER[username]");
  else
  
//write_log("Torrent $id ($torrent) was uploaded by $CURUSER[username]");
  
write_log("torrentupload""Torrent $id ($torrent) was uploaded by $CURUSER[username]");
  
// //////new torrent upload detail sent to shoutbox////////// 
@details.php Add to the big query

PHP Code:
torrents.anonymous
Add where you like

PHP Code:
  $keepget "";
  if(
$row['anonymous'] == 'yes') {
  if (
get_user_class() < UC_UPLOADER)
  
$uprow "<i>Anonymous</i>";
  else
  
$uprow "<i>Anonymous</i> (<a href=userdetails.php?id=$row[owner]><b>$row[username]</b></a>)";
  }
  else {
  
$uprow = (isset($row["username"]) ? ("<a href=userdetails.php?id=" $row["owner"] . "><b>" htmlspecialchars($row["username"]) . "</b></a>") : "<i>(unknown)</i>");
  } 
@edit.php Add

PHP Code:
 tr("Anonymous uploader""<input type=\"checkbox\" name=\"anonymous\"" . (($row["anonymous"] == "yes") ? " checked=\"checked\"" "" ) . " value=\"1\" />  Check this box to hide the uploader of the torrent"1); 
@takeedit.php Add

PHP Code:
$updateset[] = "anonymous = '" . ($_POST["anonymous"] ? "yes" "no") . "'"
And to DB

PHP Code:
ALTER TABLE `torrentsADD `anonymousenum('yes','no'NOT NULL default 'no'
@browse.php Add to the big query

PHP Code:
torrents.anonymous
Reply With Quote
Reply

Tags
anonymous , uploader

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
Request to be Uploader sammygo Mods & Themes 21 7th June 2013 10:52
Uploader application Nilsons Mods & Themes 7 18th October 2012 22:34
Anonymous Comments Rendevous Mods & Themes 0 4th May 2010 12:17
Anonymous Uploader Rendevous Mods & Themes 0 4th May 2010 12:11
Anonymous mod netdsl Yuna Scatari Edition (YSE) 0 21st September 2008 13:24



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