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

Uploader Rank — 2012-11-23 13:02:00 in v2 Only Mods Complete
Quote:
i have found a bug here. if i apply cooly's class color function nd apply uploader rank . thn the user name color does not appear untill i give a uploader rank. If i assign a uploader rank thn user color according to class works
so i have removed aboved code nd applied original cooly's class color fun nd color is working :S

any solution?

guys can u solve this problem?
"fozshell, post: 47441":
This mod allows people on ur site to contact admins who have control on the cp u can then reply to there message from the staff pannel or delete and mark as answered


Alter tables

CREATE TABLE `staffmessages` (
`id` int( 10 ) unsigned NOT NULL AUTO_INCREMENT ,

`sender` int( 10 ) unsigned NOT NULL default '0',

`added` datetime default NULL ,

`msg` text,

`subject` varchar( 100 ) NOT NULL default '',

`answeredby` int( 10 ) unsigned NOT NULL default '0',

`answered` tinyint( 1 ) NOT NULL default '0',

`answer` text,

PRIMARY KEY ( `id` )

) TYPE = MYISAM ;

Open admincp.php

Find

<td align="center"><a href=admincp.php?action=ipbans><img src="images/admin/blocked.gif" border=0 width=32 height=32><BR>Banned IPs</a><BR></td>
Add bellow


<td align="center"><a href=staffbox.php><img src="images/admin/contact.png" border=0 width=32 height=32><BR>Staff contacts</a><BR></td>



Upload these 3 files to ur root

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3013"]contactstaff.php[/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3014"]staffbox.php[/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3015"]takecontact.php[/url]

Image



Please let me no what u think and if it works as it is like 4.00am here lol

after send a message I got blank page(takecontact.php) & no messages sending.

I'm using tt2.07 .

please help :)
"BlazTorrents, post: 77026":
can you pls tel me where to put recommendedtorrents_block.php and where to add these lines?? i mean in index.php if so pls give me location of index.php that after which lines to add these as i edit other instruction i.e account.php,torrents-edit.php,config.php.Thanks


index.php find:

Quote:
//Site Noticeif ($site_config['SITENOTICEON']){

begin_frame(T_("NOTICE"));

echo $site_config['SITENOTICE'];

end_frame();

}

after

Quote:
/// Recommended torrents imagesbegin_frame("Recommended");

$news = mysql_query("SELECT id, name, added, image1, image2 FROM torrents WHERE banned ='no' AND visible='yes' AND torrents.recommended='yes' ORDER BY torrents.id DESC LIMIT 7"); ///limit number of images

if (mysql_num_rows($news) > 0) {

print("<table align=center cellpadding=0 cellspacing=0 width=100% border=0><tr>");

while ($row2 = mysql_fetch_array($news, MYSQL_NUM)) {

$tor = $row2['0'];

$altname = $row2['1'];

$where = "WHERE banned = 'no' AND visible='yes' AND torrents.id='$tor'";

$res = mysql_query("SELECT torrents.id, torrents.image1, torrents.image2, torrents.added, categories.name AS cat_name FROM torrents LEFT JOIN categories ON torrents.category = categories.id $where $orderby $limit");

$row = mysql_fetch_array($res);

$cat = $row['cat_name'];

$img1 = "<a href='$site_config[sITEURL]/torrents-details.php?id=$row[id]'><img border='0'

src='uploads/images/$row[image1]' alt=\"$altname / $cat\" width=90></a>";

if ($row["image1"] != ""){

print("<td align=center>". $img1 ."<BR></td><td>&nbsp;</td>");

}

}

print("</tr></table>");

}

end_frame();

/// end recommended torrent images

for block i think u need to change "begin_frame" to "begin_block" & "end_frame" to "end_block"

like this:

Recommended_block.php

Quote:
<?php
begin_block("Recommended");

$news = mysql_query("SELECT id, name, added, image1, image2 FROM torrents WHERE banned ='no' AND visible='yes' AND torrents.recommended='yes' ORDER BY torrents.id DESC LIMIT 7"); ///limit number of images

if (mysql_num_rows($news) > 0) {

print("<table align=center cellpadding=0 cellspacing=0 width=100% border=0><tr>");

while ($row2 = mysql_fetch_array($news, MYSQL_NUM)) {

$tor = $row2['0'];

$altname = $row2['1'];

$where = "WHERE banned = 'no' AND visible='yes' AND torrents.id='$tor'";

$res = mysql_query("SELECT torrents.id, torrents.image1, torrents.image2, torrents.added, categories.name AS cat_name FROM torrents LEFT JOIN categories ON torrents.category = categories.id $where $orderby $limit");

$row = mysql_fetch_array($res);

$cat = $row['cat_name'];

$img1 = "<a href='$site_config[sITEURL]/torrents-details.php?id=$row[id]'><img border='0'

src='uploads/images/$row[image1]' alt=\"$altname / $cat\" width=90></a>";

if ($row["image1"] != ""){

print("<td align=center>". $img1 ."<BR></td><td>&nbsp;</td>");

}

}

print("</tr></table>");

}

end_block();

?>

:lol:
nice.thanks
"Mush, post: 61309":
i can't for the life of me get this to work , i got the option to mail ban them , but if i click yes then submit, it just reverts back to no ......... any idea what i may of done wrong would be a help, THANKS ................. I'm using tt v 2.05

yes same here :)
"Dalibor, post: 42434":
Ban user from torrents upload

Go to PhPMyAdmin and run this query:

ALTER TABLE `users` ADD `uploadbanned` char(3) NOT NULL default 'no';


Now Edit account-details.php

Find code

$forumbanned = $user["forumbanned"] == 'yes';


Add After:

$uploadbanned = $user["uploadbanned"] == 'yes';


Find code:

print("<tr><td>Forum Banned: </td><td align=left><input name=forumbanned value=yes type=radio" . ($forumbanned ? " checked" : "") . ">Yes <input name=forumbanned value=no type=radio" . (!$forumbanned ? " checked" : "") . ">No</td></tr>\n");


Add after code:

print("<tr><td>Torrents Submit Banned: </td><td align=left><input name=uploadbanned value=yes type=radio" . ($uploadbanned ? " checked" : "") . ">Yes <input name=uploadbanned value=no type=radio" . (!$uploadbanned ? " checked" : "") . ">No</td></tr>\n");


In admin-modtasks.php:

FInd code

$forumbanned = $_POST["forumbanned"];


Add after code:

$uploadbanned = $_POST["uploadbanned"];


Find code

mysql_query("UPDATE users SET title='$title', downloaded='$downloaded', uploaded='$uploaded', signature='$signature', avatar='$avatar', ip='$ip', donated='$donated', forumbanned='$forumbanned',  warned='$warned',  modcomment='$modcomment', enabled='$enabled', invites='$invites' WHERE id=$userid");  


Add For Exemple after:

forumbanned='$forumbanned',


Add this bit of code :

uploadbanned='$uploadbanned',


In torrents-upload.php

Find code

if($CURUSER["can_upload"]=="no")

show_error_msg("Error","You do not have permission to upload",1);

Add after code

////////////////////////Torrent Submit Banned?///////////////////////////////////////////////////
$subbanned = mysql_query("SELECT id FROM users WHERE id=$CURUSER[id] AND uploadbanned='no' LIMIT 1") or err('Tracker error (1)');

if (mysql_num_rows($subbanned) < 1){

stdhead("Upload Banned");

begin_frame("You are Banned from Torrents Upload");

echo "<center><br><BR><B>You don't respect Torrent submission rules, a Admin had banned you from Torrents Upload.<br><b>";

echo "<br>If you have any complain, contact us :<ahref=mailto:$SITEEMAIL>$SITEEMAIL</a><br><BR></center>";

end_frame();

stdfoot();

exit;

}

/////////////////////////////////////////////////////////////////////////////////////////////////

not work for me.I think some mistake done by me on torrents-upload.php

I got a error

Quote:
Fatal error: Call to undefined function err() in /home/toraa/public_html/torrents-upload.php on line 20
:)

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5356"]torrents_upload.php[/url]
good job  :)

but anyone can make this for torrents-details page.I want to say torrent uploader names in color  ;)

many many thanks for this hack :)
"Skayver, post: 33791":
MissDanni after installing this Addon.In file backend/config.php

edit line:

$site_config['RECO_CLASS'] = 6;

confgure who is recomende torrents;

7=Administrator

6=Super Moderators and Administrator

5=Moderators, Super Moderator and Administrator

4=Uploader, Moderators, Super Moderator and Administrator (not recomended)

Defilt this mod configured to onli Super Moderator and Administrator recommende torent.

Sorry for my BAD English

not work for me.everyone can.

Quote:
/// START RECOMMENDED TORRENTS ///$site_config['RECOMMENDED_ON'] = true; //enable/disable Recommended Torrents

$site_config['RECO_CLASS'] = 8; /// Level of users to recommende torrent (5=MOD) (6=SUPER MOD)

// END RECOMMENDED TORRENTS ///
;)
"djhowarth, post: 46889":
Thanks
Add <BR> Before The User Class Because Unless The User Has A Ratio It Will Look Like Below

Downloaded: 0.00 KB

Uploaded: 0.00 KB

Privacy level: normal

Ratio: --- User Class:

Administrator

The <BR> Makes It Look Like

Downloaded: 0.00 KB

Uploaded: 0.00 KB

Privacy level: normal

Ratio: ---

User Class:

Administrator

i am use this

Quote:
<CENTER><BR><b><?=$CURUSER["level"] ?></b><BR></CENTER>
working gr8  :angry:  thanks :love:
thats cool.thanks for share.:angry:
"Stevo, post: 72088":
the 2nd part of your code didn't work for me so i just used what i posted and it works perfect

I think  u need  to change class

if ($action == "massmail") {

if (get_user_class() < 9)
Uploader Rank — 2011-09-05 12:20:44 in v2 Only Mods Complete
"buzz_me, post: 69883":
i have found a bug here. if i apply cooly's class color function nd apply uploader rank . thn the user name color does not appear untill i give a uploader rank. If i assign a uploader rank thn user color according to class works

so i have removed aboved code nd applied original cooly's class color fun nd color is working :S

any solution?
If any one know how to fix it.please help on this mod :)
100% working.thanks a lot
[ADDON] Forums — 2011-08-09 06:05:51 in v2 Only Mods Complete
100% working.But anyone know that how to make a "site staff"panel or a block?
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: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728