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

this hack is for show ratio /stats/donate in shoutbox on the top of shoutbox like that:

screen



for this, in shoutbox.php find :

$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT '.$lowerlimit.','.$upperlimit;
}else{

$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT 20';

}

and after add:

$donated = ($CURUSER["donated"]);
$userdownloaded = mksize($CURUSER["downloaded"]);

$useruploaded = mksize($CURUSER["uploaded"]);

$privacylevel = $CURUSER["privacy"];

if ($CURUSER["downloaded"] > 0) {

$userratio = number_format($CURUSER["uploaded"] / $CURUSER["downloaded"], 2);

}else{

$userratio = "---";

}

print ("<center><font size=1 color=limegreen>" . Telecharger . ": $userdownloaded<-vos-statistiques->" . Partager . ": $useruploaded<br>". Ratio .": $userratio  -   " . Dons . ":</font><font size=1 color=yellow> $donated $<img src=images/star.gif alt=dons></font></center>");

its all!
in index.php  find this :

begin_frame("SHOUTBOX");

echo '<IFRAME name="shout_frame" src="'.$site_config["SITEURL"].'/shoutbox.php" frameborder="0" marginheight="0" marginwidth="0" width="99%" height="600" width=350 scrolling="no" align="middle"></IFRAME>';

and replace this : height="600" width=350  by what you want !
"Skayver, post: 34689":
###################################################################

##

## MOD Title: Upload Avatar

##

## MOD Author: Sk@yver

##

## MOD Description: This ADDON will add the ability to users,

## to upload avatar in account settings.

## If Avatar is big auto resizing to 80x80px.

## if your users tries to upload shell files or

## tries to hacking, mod write to site log.

## Site admin can disabled/enabled upload avatar

## at any moment in site config.

##

## MOD Required Settings:

## This addon required GD library support

## in your PHP. GD Specifications:

## JPG Support

## PNG Support

## GIF Create Support

##

## MOD Compatibility:  v.2.xx

## Support multilanguage: Yes

## Installation Level: Easy

## Installation Time:  3 minutes

## SQL changes: NO

##

## Files To Edit:  3

## languages/english.lang # Or your language

## account.php

## backend/config.php

##

## Files To Upload: 2

## upavatar.php

## avatars/index.php

##

#####################################################################

Warning:

This addon required GD library support in your PHP.

Screen shot PHP Info:



Instructions and necessary files for this addon is in the Attachment.

Screen shots:





thanks work number #1
wep work number one thanks :)
"walker1977, post: 38698":
open shoutbox.php and find:


if (isset($_GET['history'])) {

if (isset($_GET['page'])) {

if($_GET['page'] > '1') {

$lowerlimit = $_GET['page'] * 100 - 100;

$upperlimit = $_GET['page'] * 100;

}else{

$lowerlimit = 0;

$upperlimit = 100;

}

}else{

$lowerlimit = 0;

$upperlimit = 100;

}

$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT '.$lowerlimit.','.$upperlimit;

}else{

$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT 20';

}
add after:




//check for new pm's

$res = mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')") or print(mysql_error());

$arr = mysql_fetch_row($res);

$unreadmail = $arr[0];

if ($unreadmail){

print("<font color=#FF0000 size=3><B><center><blink>You Got A New PM </font>[<a href=mailbox.php?inbox class=link2 target=_blank><font color=#FF0000> $unreadmail </font></a>]</blink></center></b></a></font>&nbsp;&nbsp;");

}




thanks mista !  :) ....
"walker1977, post: 38582":
icons can be found in this post [url="http://www.torrenttrader.org/index.php?showtopic=7775"]http://www.torrenttrader.org/index.php?showtopic=7775[/url]


thanks !
"PsykoAcidBurn, post: 38552":
Hello, everybody!
I just bbcodes create the most commonly used and that are in: Comments, Upload, MP, Shoutbox !


Here is my changes:

My shoutbox.php, My bbcode.php And my functions.php:

Screens and my 3 .php:


thnaks work but di you have  icone for this ...because a got just text under my shout
<a href=friends.php?user=<?=$user["id"]?>>Add to my Friends</a>

dont work for me in tt v.2.2 i  got this mesage when i add a friend....

Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/scratchy/public_html/account-details.php on line 154

in line 154 is :

echo "<B>This member has elected to keep their details private</B><br><br><a href=#>Report Member</a><br><br><a href=friends.php?user=<?=$user["id"]?>>Add to my Friends</a<BR>";
thanks  :)  work number one :P
hummm the pop-uppreview  do not open for me ..... im gona check this and i reply you !
hi  :)  i modif little bit take a look  :P  a add a legend below the icones

function navmenu(){
?>

<BR><table align=center cellpadding=0 cellspacing=3 style='border-collapse: collapse' bordercolor=#646262 width=95% border=1><tr><td>

<table border=0 width=100%>

<tr>

<TR>

<td align="center"><a href=account.php><img src="images/45-Cocomaxou-Messenger.png" border=0 width=51 height=51><br>Profile</a><BR></td>

<td align="center"><a href=account.php?action=edit_settings&do=edit><img src="images/77-Graphix-Reglage.png" border=0 width=51 height=51><br>Param
you rock  :)  thank's
[url="http://www.torrenttrader.org/index.php?showtopic=7688"]http://www.torrenttrader.org/index.php?showtopic=7688[/url]
no one have a idees i got a script for it but a need to adapt for TT a post the code later i hope

someone can help me :)
like that ! [url="http://torrents.top-site-list.com/"]http://torrents.top-site-list.com/[/url]

and its possible to limit not by time but by number of image ...exemple show juste last 20 uplaod not 24 hours ,12,1 or mores ?
thank you :)
"teamfsx, post: 37503":
Sorry for your code but don't work for me
use this , if it's the same for you

In torrents-upload.php find:

write_log("Torrent $id ($name) was Uploaded by $CURUSER[username]");
Add after




$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, 'System', 'New Torrent: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]', now(), '0')";

mysql_query($query);





verry thanks you mista work number one  :)   awsome !
thanks  :)  i try it now !
i dont have this in v2.2 and v2.3   :)

In torrents-upload.php find:

CODE

write_log("Torrent $id ($torrent) was uploaded by " . $CURUSER["username"]);
"iMagin3 SweeTDeviL, post: 34418":
The Phoenix_UK v1.x hack, working on v2:
In account-signup.php find:

//make first member admin

if ($numsitemembers == '0')

$signupclass = '7';

else

$signupclass = '1';
add after:


$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, 'System', 'New User: $wantusername', now(), '0')";

mysql_query($query);



Have fun!

iMagin3

thanks work no#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