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

Simple Clock — 2012-01-22 13:22:30 in v2 Only Mods Complete
Here we go simple clock for ur tt board i have added the date on the bottom ov it aswell



1St of all unrar the archive and upload the blocks folder and clock folder to ur root directory

Languagesenglish.php

Find



?>

add before




$LANG["CLOCK"] = "Clock";




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

Now go into ur admin cp and enable the clock block where u want it to appear on ur board
that is true m8 i dont even have a torrent site but i enjoy codeing so this is what i do lol like i said i also create mods for xbtit wich they use xml hacks...hopefully some 1 will make a hack uploader for tt :angry:
Nice work salfordscripteR i was about to post my version of that today but u beat me 2 it lol...

:angry:
sorry ts i have now posted the decoded version
ok sorry about that i have always encoded my files as i have learnt in the past peeps have taken a lot of my work and passed it of as there own as i code not just for tt i also do xbtit and have made some for ipb

I will post the decoded version today :D
Not sure if ts as made 1 yet but this is just standard this is and installer it will automatically upload ur database (u must 1st edit the backend/mysql.php with ur db details) and add ur user account

See screen shots





[size=18px]Please note this is not a full installer it is a temp 1 (@ts if u want to remove this cause u have ur own that is fine not sure if u have got anything yet [/size] :D [size=18px])[/size]

[size=14px]This is the decoded version[/size]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5101"]installer.rar[/url]
Didn't no this was already out please remove post

thank you
"tiloup, post: 73595":
Hello fozshell, an image please!   :D


If u use thedarklords php file to make the image show change

This

<img src=/pic/flag/$carr[flagpic] alt=\"$carr[name]\">
To


<img src=". $site_config['SITEURL']."/images/flag/$carr[flagpic] alt=\"$carr[name]\">



also if u want the country name to popup when u put ur mouse over flag change alt= to title=
This will add Invites Sent: to the Advanced Statistics block so it will show how many invites in total ur members have sent

blocks/Advancestats_block.php

Find

$result = mysql_query("SELECT SUM(downloaded) AS totaldl FROM users"); 

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

$totaldownloaded = $row["totaldl"];

}
Add below


//Invites sent mod by fozshell

$result = mysql_query("SELECT SUM(invitees) AS total FROM users");

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

$totalinvites = $row["total"];

}



Find



echo "<br><small>".T_("MESSAGES_SENT").":<b> " . $nmessages . "</b></small>";



Add below



echo "<br><small>".T_("INVITES_SENT").":<b> " . $totalinvites . "</b></small>";



SAVE AND UPLOAD



languages/english.php

Find at bottom



?>



Add beffore



$LANG["INVITES_SENT"] ="Invites Sent";



SAVE AND UPLOAD

Enjoy
Add a link to the members list in the menu navigation

blocks/navigation_block.php

Find

echo "- <a href=index.php>".T_("HOME")."</a><BR>";
Add below


if ($CURUSER["view_torrents"]=="yes" || !$site_config["MEMBERSONLY"]) echo "- <a href=members.php>".T_("MEMBERS_LIST")."</a><BR>";



English.lang.php

Find



$LANG["MEMBERS"] = "Member List";



Add below



$LANG["MEMBERS_LIST"] = "View Members"; //Member link added by Fozshell



UPLOAD THIS FILE TO UR ROUTE

Changed few things in members.php as pointed out by djhowarth

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

MEMBERS.PHP WAS CREATED BY TorrentialStorm

I HAVE FIXED THE USER COUNTRY IMAGE IN THE MEMBER LIST BUT CREDIT TO TS FOR MAKEING THE PAGE :D
This is a mod that will replace the country name with the correct image in account-details..see screen shot



Account-details.php

Find

//$country

$res = mysql_query("SELECT name FROM countries WHERE id=$user[country] LIMIT 1") or die(mysql_error());

if (mysql_num_rows($res) == 1){

$arr = mysql_fetch_assoc($res);

$country = "$arr[name]";

}



Replace with



//$country //Created by fozshell

$res = mysql_query("SELECT name,flagpic FROM countries WHERE id=$user[country] LIMIT 1") or die(mysql_error());

if (mysql_num_rows($res) == 1){

$arr = mysql_fetch_assoc($res);



$country = "<img src=". $site_config['SITEURL']."/images/flag/$arr[flagpic] title='$arr[name]' />";



}
This is a mod for the new tt version 2.0.7..This adds the option for members when they signup if they are affiliated with ur site also with admin functions shown in screen shots.







First run this sql

ALTER TABLE `users` ADD `affiliate` ENUM( 'yes', 'no' ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'no'


account-signup.php

Find

$age = (int) $_POST["age"];
Add After


$affiliate = $_POST["affiliate"];



Around line 72 Find



INSERT INTO users



Add this after age,



affiliate,



in same part find



$age,



Add after



$affiliate,



Find



<td><?php echo T_("GENDER"); ?>:</td>

<td>

<input type="radio" name="gender" value="Male"><?php echo T_("Male"); ?>

&nbsp;&nbsp;

<input type="radio" name="gender" value="Female"><?php echo T_("Female"); ?>

</td>

</tr>



add after



<tr>

<td><?php echo T_("AFFILIATE"); ?>:</td>

<td>

<input type="radio" name="affiliate" value="yes">yes

&nbsp;&nbsp;

<input type="radio" name="affiliate" value="no">no

</td>

</tr>





SAVE AND UPLOAD



account-details.php

Find



<?php echo T_("WARNINGS"); ?>: <?php echo htmlspecialchars($user["warned"])?><BR>



Add after



<?php echo T_("AFFILIATE_ACCOUNT"); ?>: <?php echo htmlspecialchars($user["affiliate"])?><BR>



Find



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



Add after



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



Find



print("<tr><td>".T_("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



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





SAVE AND UPLOAD



Admin-modtasks.php

Find



$email = $_POST["email"];



Add after



$affiliate = sqlesc($_POST["affiliate"]);



Arund line 72 find



UPDATE users SET email='$email',



Add after



affiliate=$affiliate,





SAVE AND UPLOAD



Language english.php

Find



$LANG["YOUR_SETTINGS"] = "Your Settings"



Add after



$LANG["AFFILIATE"] ="Are you Affiliated with this site"; // - Added By Fozshell

$LANG["AFFILIATE_ACCOUNT"] ="Affiliated with this site"; // - Added By Fozshell

$LANG["AFFILIATE_ADMIN"] ="Affiliated"; // - Added By Fozshell



SAVE AND UPLOAD

ENJOY
"tadger666, post: 59175":
yo many thanks for radio php but im using firefox what plugin do i need as its trying to get me one but none can be found if i knew what one id manually look again many thanks

[url="http://www.mediafire.com/?4tjjybaawkq"]http://www.mediafire.com/?4tjjybaawkq[/url]
This mod allows u to ban a user from using the pm system

[size=14px]UPDATE 12/07/2011   for those having problems with the submit going back to no i forgot 1 code u need to put this in[/size]

Admin-Modtasks.php

Around line 72

Find

UPDATE users SET





Find



warned=$warned,



add after



mailbanned=$mailbanned,

ALTER TABLE `users` ADD `mailbanned` ENUM( 'yes', 'no' ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'no'







Open account-details.php



find



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





Add Below



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





Find



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





Add bellow



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





Open mailbox.php



Find



 $type = "Overview";

}





Add bellow



////////////////////////bann PM by foz ///////////////////////////////////////////////////

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

if (mysql_num_rows($subbanned) < 1){

stdhead("Pm Banned");

begin_frame("You are Banned from Sending Pm's ");

echo "<center><br><BR><B>A Admin has banned you from Sending Pm's.<br><b>";

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

end_frame();

stdfoot();

exit;

}



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





Open admin-modtasks.php



Find



warned='$warned',





Add after



mailbanned='$mailbanned',





find



$warned = $_POST["warned"];





after add



$mailbanned = $_POST["mailbanned"];


Just add in the login block where u want it to appear

Browser: <I><script>

/*Browser detecter

Coded by foz

Foz@basslinbeats.co.uk

*/

if (document.all)

var version=/MSIE \d+.\d+/

if (!document.all)

document.write("You are using "+navigator.appName+" "+navigator.userAgent)

else

document.write("You are using "+navigator.appName+" "+navigator.appVersion.match(version))

</script></I><BR>
Image game — 2009-01-14 15:41:23 in v2 Only Mods Complete
Aim of the game is to select the correct image that slots into the 1 shown no points are awarded for the game its just a bit of fun.



Upload the php file to ur root directory and the whole of the image folder to ur images directory.

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

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3358"]fozgame.rar[/url]
just a simple little code to show what ur current avatar is



Open account.php

find

print("<TR><TD align=right class=table_col2><B>" . AVATAR_URL . ":</b> </td><TD align=left class=table_col2><input name=avatar size=50 value=\"" . htmlspecialchars($CURUSER["avatar"]) .

 "\"><br />\n<i>Link to your externally hosted avatar image: 80x80px</i></td></tr><br>");



Add bellow



$avatar = htmlspecialchars($CURUSER["avatar"]);

if (!$avatar)

$avatar = "".$site_config["SITEURL"]."/images/default_avatar.gif";

print("<TD align=left class=table_col2><b><center>Current avatar<img width=80 height=80 src=$avatar></i></td></tr>");
Sorry to all — 2008-12-22 16:05:10 in General Chat
Hi peeps im back again sorry i havent been around but im working 7 days a week at the moment lots of work on soon as i get time i will back up and running bringin u more mods hopefully..See u all soon   :D  :D :D
Sorry just noticed this mod already on the forum
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: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728