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

well u do it then come on here criticizing our mods go back to the premium section
"cmathias, post: 48877":
Internal Server Error
File "/*******/**********/www/admincp.php" is writeable by group

dont chmod admincp chmod cache_logs.php
"cmathias, post: 48872":
Thanks
One error :

Forbidden

You don't have permission to access /cache/cache_logs.php on this server.

Try chmod to 777
Its linked to my site cause thats how the radio block is u can add ur own stations in the php file itself the radio block is iframed to my site
Keep track on whos been in admin cp



1st make a file name cache_logs.php and upload it to ur cache folder leave it as 644

Now open admincp.php

Find

<td align="center"><a href=admincp.php?action=clearshoutbox><img src="images/admin/forums.gif" border=0 width=32 height=32><BR>Clear Shoutbox</a><BR></td>
Add below


<td align="center"><a href=admincp.php?action=clearsadminlogs><img src="images/admin/forums.gif" border=0 width=32 height=32><br>Clear adminlogs</a><BR></td>



Find



</table></p>



Add below



<?

#======================================================================

#

# admin logs by foz-------foz@basslinebeats.co.uk

#======================================================================#

begin_frame("Admin logs");



?>

<iframe src="<? $site_config["SITEURL"] ?>cache/cache_logs.php" frameborder="0" marginheight="0" marginwidth="0" width="99%" height="100" width=350 scrolling="yes" align="middle"></iframe>

<?

end_frame();

// End  admin logs

?>



Find



?>



Add above



#======================================================================

#

# Admin logs by foz-------foz@basslinebeats.co.uk

#======================================================================#

$filename = 'cache/cache_logs.php';

$somecontent = "(" . $CURUSER["username"] . "--" . $CURUSER["ip"] . ")--\n";



// Let's make sure the file exists and is writable first.

if (is_writable($filename)) {



// In our example we're opening $filename in append mode.

// The file pointer is at the bottom of the file hence

// that's where $somecontent will go when we fwrite() it.

if (!$handle = fopen($filename, 'a')) {

echo "Cannot open file ($filename)";

exit;

}



// Write $somecontent to our opened file.

if (fwrite($handle, $somecontent) === FALSE) {

echo "Cannot write to file ($filename)";

exit;

}







fclose($handle);



} else {

echo "The file $filename is not writable";

}

// End admin logs

#======================================================================

#

# Truncate admin logs by foz-------foz@basslinebeats.co.uk

#======================================================================#

if ($action == "clearsadminlogs") {

stdhead("Clear adminlogs");

navmenu();

begin_frame("Clear logs", center);

if ($yes == "yes") {

$fp = fopen('cache/cache_logs.php', 'w+');

ftruncate($fp, 4);

if ($res) echo "admin logs cleared";

} else {

echo "Are you sure you want to clear the admin logs?<br>";

echo "<a href='admincp.php?action=clearsadminlogs&yes=yes'><b>Yes</b></a>";

echo "&nbsp;&nbsp";

echo "<a href='admincp.php?action=clearsadminlogs&yes=no'><b>no</b></a>";

}

end_frame();

stdfoot();

}

// End Truncate admin logs



Please let me no of any errors
Add a few changes and it works 100% on mine now so hopefully it should work on all

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3167"]imagestorage.php[/url]
"giajane, post: 48797":
how can we put the counter at zero
thanks

Gia
Open the cache and set it to 0
"djhowarth, post: 48791":
Foz Can You Do Me A Favour!
Fix The Stdfoot();

and if you go here [url="http://www.madhous3.co.cc/imagestorage.php"]www.madhous3.co.cc/imagestorage.php[/url] my blocks are messed up  :D

Jump on msn m8 will sort it
"cursed, post: 48787":
lmaooo so coz we read the rules and show credit to ppl who made the mods  we take the piss and moan . but then again .foz whois it that makes yours .coz i know for a fact it aint you . taken any more from btit and tbdev lately and claimed as your own ...
O rite so i dont make my own mods yea well ive got alot of peeps to vouch for me on that 1 so im not even going 2 waist my time on u
"cursed, post: 48779":
taken from here [url="http://www.torrenttrader.org/index.php?showtopic=9768"]http://www.torrenttrader.org/index.php?showtopic=9768[/url]
and taken from tbdev
So y say all that shit then just say thanks and be done with urself...Go back to ur premium where u get all ur mods from cause u cant make ur own...I just get pissed of when we spend time coding it for tt boards and peeps like u and walker come along and moan about the stuff cause some one else made it so what if they made it the other person has now made it for tt board just how u like it
All links sorted direct link bbcode html

Find

<b><font color=green>Direct link</font></b>: <input size=70 type=text onclick='this.select()' value=$BASEURL/$path><br><br><b></center>";

?><center><b><font color=dark>BBcode: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=text size=70  onclick='this.select()' value="[url=<?=$BASEURL?>][img=<?=$BASEURL?>/<?=$path?>][/url]"></input><br><br><?

?><center><b><font color=red>HTML: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=text size=70 onclick='this.select()' value='<a href="<?=$BASEURL?>"><img src="<?=$BASEURL?>/<?=$path?>" border="0" alt="<?=$file?>"></a><br/>'></input><?





Replace with



<b><font color=green>Direct link</font></b>: <input size=70 type=text onclick='this.select()' value=".$site_config["SITEURL"]."/$path><br><br><b></center>";

?><center><b><font color=dark>BBcode: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=text size=70  onclick='this.select()' value="[url=<?=$site_config["SITEURL"] ?>][img=<?=$BASEURL?>/<?=$path?>][/url]"></input><br><br><?

?><center><b><font color=red>HTML: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=text size=70 onclick='this.select()' value='<a href="<?=$site_config["SITEURL"] ?>"><img src="<?=$BASEURL?>/<?=$path?>" border="0" alt="<?=$file?>"></a><br/>'></input><?
"cursed, post: 48779":
taken from here [url="http://www.torrenttrader.org/index.php?showtopic=9768"]http://www.torrenttrader.org/index.php?showtopic=9768[/url]
and taken from tbdev

So what dont see u coding any all u do is take piss put of peeps mods GIVE CRED TO *** just shut the fu*k up and do something better in ur time than moan
Working on this mod
"walker1977, post: 48106":
this may not not completely stop the download. there are more places you should block. like the one in the premium section that i had made i had a few problems at first because i did not cover all areas where you can download. there is one part that could be reduced but the way you set it up is nice. as far as the banned part to test it ban yourself and then try to download on every single page that will let you download. because torrent-details.php is not the only page you have to block.

I have made the mod as in it will not allow to be downloaded anywhere well not what i can see anywayz if u see any let me no and i will be straight back to work on it
There is a few changes needed to this mod as walker as shown so if any 1 can make it better feel free

This mod allows admin to enable a user to download or not

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


Open torrent-details.php

find

begin_frame("" . TORRENT_DETAILS_FOR . " \"" . $shortname . "\"");
Add bellow


////////////////////////bann download ///////////////////////////////////////////////////

$subbanned = mysql_query("SELECT id FROM users WHERE id=$CURUSER[id] AND downloadbanned='no' LIMIT 1") or err('Tracker error (1)');

if (mysql_num_rows($subbanned) < 1){

stdhead("Download Banned");

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

echo "<center><br><BR><B>A Admin has banned you from downloading Torrents.<br><b>";

echo "<br>If you have any complaints, contact us :<ahref=mailto:". $site_config['SITEEMAIL'] .">". $site_config['SITEEMAIL'] ."</a><br><BR></center>";

end_frame();

stdfoot();

exit;

}



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





Open admin-modtasks.php

find



$forumbanned = $_POST["forumbanned"];



Add below



$downloadbanned = $_POST["downloadbanned"];



Find



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");



Replace with



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', downloadbanned='$downloadbanned', invites='$invites' WHERE id=$userid");





Open account-details.php

Find



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



Add below



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



Find



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 below



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



Please let me no what u think and if there any errors
Add these files to ur root

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

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

Then add this in modcp

<td align="center"><a href=mod_leechers.php><img src="images/admin/watchedusers.gif" border=0 width=32 height=32><BR>User Bad Ratio Alert</a><BR></td>
And add this in modocp


<td align="center"><a href=smod_leechers.php><img src="images/admin/watchedusers.gif" border=0 width=32 height=32><BR>User Bad Ratio Alert</a><BR></td>



[size=12px]let me no if this works as it was a rush job[/size]
CAN A MOD PLEASE CHANGE THE DESCRIPTION PLEASE TO SITE RATEING

Add the option to let users rate ur site

Account settings



---------------------------------------

Account



---------------------------------------

User details



---------------------------------------

ALTER TABLE `users` ADD `rate` VARCHAR( 50 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL;


CREATE TABLE `rate` (

`id` int(10) unsigned NOT NULL auto_increment,

`name` varchar(50) default NULL,

PRIMARY KEY  (`id`)

) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ;

--

-- Dumping data for table `rate`

--

INSERT INTO `rate` (`id`, `name`) VALUES

(1, 'Excellent'),

(2, 'Very good'),

(3, 'Good'),

(4, 'Needs more'),

(5, 'poor'),

(6, 'bad'),

(7, 'very bad');

Open account.php

Find

print("<TR><TD align=right class=table_col1 valign=top><B>Category Filter: </B></td><TD align=left class=table_col1><i>The system will only display the following categories when browsing (uncheck all to disable filter).</i><BR>".$categories."</td></tr>");



Add below



//Site rateing by foz @ basslinebeats.co.uk

$rate = "<option value=0>---- No selected ----</option>\n";

$dsl = mysql_query("SELECT id,name FROM  rate ORDER BY id");

while ($ds_b = mysql_fetch_array($dsl)){

 $rate .= "<option value=$ds_b[id]" . ($rate == $ds_b['id'] ? " selected" : "") . ">$ds_b[name]</option>\n";

}



print("<TR><TD align=right class=table_col1><B>Site rateing:</b></td><TD align=left class=table_col1><select name=rate>\n$rate\n</select>");



Find



$signature = $_POST["signature"];



Add below



$rate = $_POST["rate"];



Find



 if (is_valid_id($language))

$updateset[] = "language = '$language'";



Add below



 if (is_valid_id($rate))

$updateset[] = "rate = '$rate'";



Find



<? print("<B>".CLIENT.""); ?>:</b> <? print("" . $CURUSER["client"] . "\n"); ?><br>



Add below



<? print("<B>".rate.""); ?>:</b> <? print("" . $CURUSER["rate"] . "\n"); ?><br>



Find



<? print("<B>Invites:</b> " . $CURUSER["invites"] . "\n"); ?><br>



Add below



<? print("<div align=left><table border = 1>

<tr>

<td>1</td>

<td>Excellent</td>

<td>2</td>

<td>Very good</td>

</tr>

<td>3</td>

<td>Good</td>

<td>4</td>

<td>Needs more</td>

</tr>

<td>5</td>

<td>Poor</td>

<td>6</td>

<td>Bad</td>

</tr>

<td>7</td>

<td>Very Bad</td>

</tr>

</table></div>"); ?> <br>





open account-details.php

Find



Last Seen(Location): <?=htmlspecialchars($user["page"]);?><BR>



Add below



Rate: <I><?=htmlspecialchars($user["rate"])?></I><BR>



Find



Comments Posted: <?=$numcomments?><BR>



Add below



<? print("<div align=left><table border = 1>

<tr>

<td>1</td>

<td>Excellent</td>

<td>2</td>

<td>Very good</td>

</tr>

<td>3</td>

<td>Good</td>

<td>4</td>

<td>Needs more</td>

</tr>

<td>5</td>

<td>Poor</td>

<td>6</td>

<td>Bad</td>

</tr>

<td>7</td>

<td>Very Bad</td>

</tr>

</table></div>"); ?> <br>
Can u please post an English version please
Quote:
little problem: my mod and smod, can't interact with leecher.php page."you don't have right"

where i can find a class check to modify?

thanx

U need to allow them to be able to access admin cp in user groups as any admin allowed to use it on mine
This is a nice new hits counter that gets the exact amount of page hits from the cache



Upload counter_block.php to ur blocks folder & cache_hits.txt to ur cache folder and the folder digits to ur images dir

Open advancestats_block.php

FIND

end_block();

?>
Replace with


?>

<? include ('blocks/counter_block.php'); end_block(); ?>





To change digit styles in counter_block.php

Find



$imagetype = "1";
Change to the number of the folder u want

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3078"]HITS_COUNTER.rar[/url]

Yes sorry walker or 755 is ok on some servers
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