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

"TheUnknown, post: 47670":
Looks good thanks, maybe a making it into a block would be better.   ;)

it makes the site a bit squashed but here u go u may need to try and work out how to get it smaller

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3048"]crystallball_block.php[/url]
This little mod is just for fun for you and ur users.



Upload crystallball.php to ur root

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3044"]crystallball.php[/url]
This mod allows admins to see a list of users with bad ratio and allows u to send a mass mail to the selected users or the option to disable there accounts.

Taken from tbdev so credit to the maker of this mod same again i have edited it to suit torrent-trader boards.



Upload php to ur root

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3038"]leechers.php[/url]
"gandalf76, post: 47205":
big problem...my supermod can't send masspm:

error: "Sorry you do not have the rights to access this page!"

help?

u need to add this in mod cp

if ($action=="masspm"){

stdhead("Mass Private Message");

navmenu();





//send pm

if ($_GET["send"] == '1'){



$sender_id = ($_POST['sender'] == 'system' ? 0 : $CURUSER['id']);



$dt = sqlesc(get_date_time());

$msg = $_POST['msg'];



if (!$msg)

show_error_msg("Error","Please Enter Something!",1);



$updateset = $_POST['clases'];



$query = mysql_query("SELECT id FROM users WHERE class IN (".implode(",", $updateset).")");

while($dat=mysql_fetch_assoc($query)){

mysql_query("INSERT INTO messages (sender, receiver, added, msg) VALUES ($sender_id, $dat[id], '" . get_date_time() . "', " . sqlesc($msg) .")");

}



write_log("A Mass PM was sent by ($CURUSER[username])");

show_error_msg("Complete", "Mass PM Sent",1);

die;

}



begin_frame("Mass Private Message");

print("<table border=0 cellspacing=0 cellpadding=5 align=center width=90%>\n");

print("<form method=post action=admincp.php?action=masspm&send=1>\n");

print("<B>Send to:</B><BR>\n");



$query = "SELECT group_id, level FROM groups";

$res = mysql_query($query);



while ($row = mysql_fetch_array($res)){

extract ($row);



echo "<input type=checkbox name=clases[] value=$row[group_id]> $row[level]<BR>\n";

}
Yes this is taken from tbdev i have edited it to work on tt thought i would say before i get shouted at AGAIN as u get peeps moaning but i dont see them getting the mod and coding it..I have added more stuff to this version than the 1 on tbdev







Alter tables

ALTER TABLE `users` ADD `givememore` ENUM('yes','no') NOT NULL default 'no';


Upload file to ur root

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

Please let me no what u think
Well i am very sorry for editing these mods i did not no someone had made this else i wouldent have posted it...All u do walker is pick at me i dont no what the f*ck ur problem is i edit these mods to be nice and this the sh*t i get all the time
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 IF NOT EXISTS `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`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;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
"gandalf76, post: 47412":
can anyone help me to insert in a user-details a new "press-key" for set to "yes" a gift only for this user?what is a sql query for set "YES" only a user?

so as to be able to directly reset the gift from the details of the user

sorry for bad english

Oepn account-details.php

find

print("<tr><td>Account:</td><td align=left><input name=enabled value=yes type=radio" . ($enabled ? " checked" : "") . ">Enabled <input name=enabled value=no type=radio" . (!$enabled ? " checked" : "") . ">Disabled</td></tr>\n");





add bellow



// Gift mod

mysql_query("UPDATE users SET gift='no' WHERE gift='yes'");

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

// End Git mod



Find



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



Add after



$gift = $user["gift"] == 'yes';
"walker1977, post: 47375":
why bump your post foz? you should have edited the post and not doubled posted. you should post mods to help others out not so somebody comes to your site or says thanks. i see it this way if you are not happy about people not saying thanks then don't post anymore. most people here just like to see there name by the topic and look at posting mods as a learning experience or fun and not as a way to make money or a way to be famous or anything of the sort. but hey if you want a thank you that bad even though i am not using the hack then thank you foz

i was just saying in general and i allways love to make mods for tt i was just saying like Nikkbu did but naff all was said him about double posting and moaning about thanks.lmfao

HERE IS NIKKBU POST [url="http://www.torrenttrader.org/index.php?s=&showtopic=9373&view=findpost&p=46779"]http://www.torrenttrader.org/index.php?s=&...ost&p=46779[/url]

Where he as got 202 views, 24 downloads and no comments????........ i have got 164 views and 46 downloads so y have go at me
44 downloads and not 1 thanks mmmmmmmm


Different messages will show up on each box

OPEN ACCOUNT-SIGNUP.PHP

FIND

<? echo "" . COOKIES . "";?>



Add bellow



<style type="text/css">



#hintbox{ /*CSS for pop up hint box */

position:absolute;

top: 0;

background-color: lightyellow;

width: 150px; /*Default width of hint.*/

padding: 3px;

border:1px solid black;

font:normal 11px Verdana;

line-height:18px;

z-index:100;

border-right: 3px solid black;

border-bottom: 3px solid black;

visibility: hidden;

}



.hintanchor{ /*CSS for link that shows hint onmouseover*/

font-weight: bold;

color: navy;

margin: 3px 8px;

}



</style>



<script type="text/javascript">



/***********************************************

* Hint  (www.basslinebeats.co.uk)

* Created by foz

***********************************************/



var horizontal_offset="9px" //horizontal offset of hint box from anchor link



/////No further editting needed



var vertical_offset="0" //horizontal offset of hint box from anchor link. No need to change.

var ie=document.all

var ns6=document.getElementById&&!document.all



function getposOffset(what, offsettype){

var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;

var parentEl=what.offsetParent;

while (parentEl!=null){

totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;

parentEl=parentEl.offsetParent;

}

return totaloffset;

}



function iecompattest(){

return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body

}



function clearbrowseredge(obj, whichedge){

var edgeoffset=(whichedge=="rightedge")? parseInt(horizontal_offset)*-1 : parseInt(vertical_offset)*-1

if (whichedge=="rightedge"){

var windowedge=ie && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-30 : window.pageXOffset+window.innerWidth-40

dropmenuobj.contentmeasure=dropmenuobj.offsetWidth

if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)

edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth+parseInt(horizontal_offset

)

}

else{

var windowedge=ie && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18

dropmenuobj.contentmeasure=dropmenuobj.offsetHeight

if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)

edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight

}

return edgeoffset

}



function showhint(menucontents, obj, e, tipwidth){

if ((ie||ns6) && document.getElementById("hintbox")){

dropmenuobj=document.getElementById("hintbox")

dropmenuobj.innerHTML=menucontents

dropmenuobj.style.left=dropmenuobj.style.top=-500

if (tipwidth!=""){

dropmenuobj.widthobj=dropmenuobj.style

dropmenuobj.widthobj.width=tipwidth

}

dropmenuobj.x=getposOffset(obj, "left")

dropmenuobj.y=getposOffset(obj, "top")

dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+"px"

dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"

dropmenuobj.style.visibility="visible"

obj.onmouseout=hidetip

}

}



function hidetip(e){

dropmenuobj.style.visibility="hidden"

dropmenuobj.style.left="-500px"

}



function createhintbox(){

var divblock=document.createElement("div")

divblock.setAttribute("id", "hintbox")

document.body.appendChild(divblock)

}



if (window.addEventListener)

window.addEventListener("load", createhintbox, false)

else if (window.attachEvent)

window.attachEvent("onload", createhintbox)

else if (document.getElementById)

window.onload=createhintbox



</script>



THEN FIND



<form method="post" action="account-signup.php?takesignup=1">

<table cellSpacing="0" cellPadding="2" border="0" >

<tr>

<td>Username: <font class="small"><font color="#FF0000">*</font></td>

<td><input type="text" size="40" name="wantusername" /></td>

</tr>

<tr>

<td>Password: <font class="small"><font color="#FF0000">*</font></td>

<td><input type="password" size="40" name="wantpassword" /></td>

</tr>

<tr>

<td>Confirm: <font class="small"><font color="#FF0000">*</font></td>

<td><input type="password" size="40" name="passagain" /></td>

</tr>

<tr>

<td>Email: <font class="small"><font color="#FF0000">*</font></td>

<td><input type="text" size="40" name="email"/></td>

</tr>

<tr>

<td>Age:</td>

<td><input type="text" size="40" name="age" maxlength="3" /></td>

</tr>

<tr>

<td>Country:</td>

<td>

<select name="country" size="1">

<?php

$countries = "<option value=\"0\">---- None selected ----</option>\n";

$ct_r = mysql_query("SELECT id,name,domain from countries ORDER BY name") or die;

while ($ct_a = mysql_fetch_array($ct_r)) {

 $countries .= "\t\t\t\t\t\t<option value=\"$ct_a[id]\"";

 if ($dom == $ct_a["domain"])

$countries .= " SELECTED";

 $countries .= ">$ct_a[name]</option>\n";

}

?>

<?=$countries ?>

</select>

</td>

</tr>

<tr>

<td>Gender:</td>

<td>

<input type="radio" name="gender" value="Male">Male

&nbsp;&nbsp;

<input type="radio" name="gender" value="Female">Female

</td>

</tr>

<tr>

<td>Preferred BitTorrent Client:</td>

<td><input type="text" size="40" name="client"  maxlength="20" /></td>

</tr>

<tr>

<td align="middle" colSpan="2">

<input type="submit" value="Sign Up" />

 </td>

</tr>

</table>

</form>



REPLACE WITH



<form method="post" action="account-signup.php?takesignup=1">

<table cellSpacing="0" cellPadding="2" border="0" >

<tr>

<td>Username: <font class="small"><font color="#FF0000">*</font></td>

<td><input type="text" size="40" name="wantusername" class="hintanchor" onMouseover="showhint('Please choose a username. Should consist of alphanumeric characters only.', this, event, '150px')"></a></td>

</tr>

<tr>

<td>Password: <font class="small"><font color="#FF0000">*</font></td>

<td><input type="password" size="40" name="wantpassword" class="hintanchor" onMouseover="showhint('Please choose a password. Should consist of alphanumeric characters only.', this, event, '150px')"></a></td>

</tr>

<tr>

<td>Confirm: <font class="small"><font color="#FF0000">*</font></td>

<td><input type="password" size="40" name="passagain" class="hintanchor" onMouseover="showhint('Please confim password again.', this, event, '150px')"></a></td>

</tr>

<tr>

<td>Email: <font class="small"><font color="#FF0000">*</font></td>

<td><input type="text" size="40" name="email" class="hintanchor" onMouseover="showhint('Please choose a e-amil.', this, event, '150px')"></a></td>

</tr>

<tr><? if ($site_config['URLOFF']){ ?>

<td>URL: <font class="small"><font color="#FF0000">*</font></td>

<td><input type="text" size="40" name="URL" /></td><? } ?>

</tr>

<tr>

<td>Age:</td>

<td><input type="text" size="40" name="age" maxlength="3" class="hintanchor" onMouseover="showhint('Please choose ur age. Should only consist of numeric characters only.', this, event, '150px')"></a></td>

</tr>

<tr>

<td>Country:</td>

<td>

<select name="country" size="1" class="hintanchor" onMouseover="showhint('Please choose a Country.', this, event, '150px')"></a>

<?php

$countries = "<option value=\"0\">---- None selected ----</option>\n";

$ct_r = mysql_query("SELECT id,name,domain from countries ORDER BY name") or die;

while ($ct_a = mysql_fetch_array($ct_r)) {

 $countries .= "\t\t\t\t\t\t<option value=\"$ct_a[id]\"";

 if ($dom == $ct_a["domain"])

$countries .= " SELECTED";

 $countries .= ">$ct_a[name]</option>\n";

}

?>

<?=$countries ?>

</select>

</td>

</tr>

<tr>

<td>Gender:</td>

<td>

<input type="radio" name="gender" value="Male">Male

&nbsp;&nbsp;

<input type="radio" name="gender" value="Female">Female

</td>

</tr>

<tr>

<td>Preferred BitTorrent Client:</td>

<td><input type="text" size="40" name="client"  maxlength="20" class="hintanchor" onMouseover="showhint('Please choose a client.', this, event, '150px')"></a></td>

</tr>

<tr>

<td align="middle" colSpan="2">

<input type="submit" value="Sign Up" />

 </td>

</tr>

</table>

</form>
"gandalf76, post: 47227":
mmmm i have understand?in gift.php find:

if($today == $xmasday){
replace with:


if($today == $sunday){



and new gift is avaible every sunday?

it's correct?

No cause when they get there gift it sets to yes in the database so then when u click it again u will get this message

'You already got your gift!'
"fozshell, post: 47191":
This mod allows your user to click on a present and get a gift from either upload cred seed bonus(MOD MUST BE INSTALLED) invites..

ALTER TABLE `users` ADD `gift` ENUM( 'yes', 'no' ) NOT NULL DEFAULT 'no';


Upload gift.php to ur root & gift_block.php to ur blocks folder and activate

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

ATTACHED IMAGE UPLOAD TO IMAGES DIRECTORY



[size=14px]Credit to tbdev for this mod just took a few edits and made it tt[/size]
This mod allows your user to click on a present and get a gift from either upload cred seed bonus(MOD MUST BE INSTALLED) invites..



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

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

ATTACHED IMAGE UPLOAD TO IMAGES DIRECTORY





To add option in account details to set user as gift yes or no



Oepn account-details.php

find

ALTER TABLE `users` ADD `gift` ENUM( 'yes', 'no' ) NOT NULL DEFAULT 'no';





Upload gift.php to ur root & gift_block.php to ur blocks folder and activate


print("<tr><td>Account:</td><td align=left><input name=enabled value=yes type=radio" . ($enabled ? " checked" : "") . ">Enabled <input name=enabled value=no type=radio" . (!$enabled ? " checked" : "") . ">Disabled</td></tr>\n");





add bellow



// Gift mod

mysql_query("UPDATE users SET gift='no' WHERE gift='yes'");

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

// End Git mod



Find



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



Add after



$gift = $user["gift"] == 'yes';
o rite ok i get you now so the new files will already have the user class in it on the login_block

Thanks for that
"cursed, post: 46910":
the User class in login_block.php   lololol

i no what the mod is i made it i mean what does Added to SVN (R199) mean
"TorrentialStorm, post: 46901":
Added to SVN (R199).
What is

Added to SVN (R199).
"TheUnknown, post: 46893":
Hello again foz,
I just want to inform you that the code on account.php to choose whether to turn the radio off or on does not work. Did you finish the codes for that?


Its working for me u can see it working on my mod site dont upload to it or anything i only sue it to make mods on

[url="http://www.basslinebeats.co.uk/modscript/index.php"]HERE[/url]
"TheUnknown, post: 46871":
No, I'm not complaining at, I'm actually grateful for it, I'm using it on my site and everyone enjoys it. I'm only asking questions because I want to modify it a bit, but I rather ask you, than modifying it completely and say that I made it.
The default space for the default radio station is the only one that works, even after I put the techno URL into the file, it's not reading it.

I think that I will only use the techno URL, thanks a lot anyway.

Everyone is is working not sure y urs not are u putting the url like thie example

<option value="http://meta.as34763.net/content/16.asx">Galaxy</option>
"TheUnknown, post: 46865":
Where can I find radio stations and which URL would I use? I have already tried like 7 URLs and none of them appear to play through the radio, the only one that works is the default radio, which I can't stand the music...It's so annoying.
I wanted to add this URL

[url="http://techno.fm/radio/player.php?channelID=techno&affID=technofm"]Techno[/url]

But it appears that the radio is not picking it up, unless if that's not the right URL. That's why I'm asking where I can get radio stations that actually work and how to do I know which URLs to choose from?

For ur techno url use this [url="http://techno.techno.fm/?affID=technofm"]http://techno.techno.fm/?affID=technofm[/url]

And for other links search google if u dont like the mod dont download it...All u have done is complain about it ur a premium member ask in that section for a better mod if u dont like this 1
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