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

i dont have the time to take on another big project.. i got enough trying to keep my site online and current but if you have issues with adding some addon from here post about it i am sure someone will help LOL.

And another word to the wise dont try and run a torrent site on an web host only.. Most of them if not all find out you running an torrent site will shut you off and ban you..  An vps makes an nice cost effect thing to try out an site on until you get big enough to goto an dedicated.
only time i ever seen that bug with image upload is when an image is really not an .jpg but an .bmp or .png just renamed to an .jpg that might be your issue.
connect the bot to the irc lol if your irc and an ircop you should see the ip of it:) if not ask the server admin of the bot host, they prob assigned you an ip to use.
google install eggdrop   .............................................
.. yours will not work anyway.. unless you want people to be able to give themselves rep.. witch is SO LAME.

find



       Forum Posts: <?php echo number_format($numforumposts); ?><br />  

after add








       <?php echo T_("UPLOADER_REP_POINTS");?> : <?php echo htmlspecialchars($user["reputation"]);?><br />

       <?php

   if ($user["id"] != $CURUSER['id']) {

   unset($comefrom);

   ?>



   <form method="post" action="takereppoints.php?id=<?php echo $user["id"]; ?>&comefrom=account">

   <table>

   <tr>

   <td><INPUT type="submit" name="givepoints" value="<?php echo T_("UPLOADER_REP_POINTS_THANKS");?>"></td>

   </tr>

   </table>

   </form>

   <?php

   }?>







anyway seems to lame ass banned member that created this cant spell.. change account-detail.php to account-details.php in takereppoints.php or dial 911 and call someone who cares.
MOD REPUTATION BEWARE : its the only one button Version !
This version is an modified version of the original version at [url="https://www.torrenttrader.org/topic/11935-reputation-system-as-requested/"]https://www.torrentt...m-as-requested/[/url]
all credits goto that LOL I just modified for 2.08 and an fix some junk in it.

_________________________________________________________________________

ALTER TABLE users ADD reputation varchar(6) NOT NULL default '0';
!!!!!remove the old junk from the old addon!!!!

In account-details, where u want to show the option, add :

ACCOUNT-DETAILS PART :::
find

Forum Posts: <?php echo number_format($numforumposts); ?><br />

after add

<?php echo T_("UPLOADER_REP_POINTS");?> : <?php echo htmlspecialchars($user["reputation"]);?><br />
<?php
if ($user["id"] != $CURUSER['id']) {
unset($comefrom);
?>

<form method="post" action="takereppoints.php?id=<?php echo $user["id"]; ?>&comefrom=account">
<table>
<tr>
<td><INPUT type="submit" name="givepoints" value="<?php echo T_("UPLOADER_REP_POINTS_THANKS");?>"></td>
</tr>
</table>
</form>
<?php
}
?>

I think this looks better
TORRENTS-DETAILS PART :::

then search into the code and find :::

print ("<b>".T_("LAST_CHECKED").": </b>" . date("d-m-Y H:i:s", utc_to_tz_time($row["last_action"])) . "<br />"</td>);

replace with

print ("<b>".T_("LAST_CHECKED").": </b>" . date("d-m-Y H:i:s", utc_to_tz_time($row["last_action"])) . "<br />");
$ru = SQL_Query_exec("SELECT id,reputation FROM users WHERE id=" . $row["owner"]);
$user = mysql_fetch_array($ru);

unset($comefrom);
?>
<b><?php echo T_("UPLOADER_REP_POINTS");?> : </b><?php echo htmlspecialchars($user["reputation"]);?><br />
<?php
if ($user["id"] != $CURUSER['id']) {
?>
<form method="post" action="takereppoints.php?userid=<?php echo $user["id"]; ?>&comefrom=torrents&torrentid=<?php echo $id; ?>">
<table>
<tr>
<td><INPUT type="submit" name="givepoints" value="<?php echo T_("UPLOADER_REP_POINTS_THANKS");?>"></td>
</tr>
</table>
</form>
<br />
<?php
}
print ("</td>");

add in languages/english.php add

// Reputation system
$LANG["UPLOADER_REP_POINTS"] = "Uploader Reputation points";
$LANG["UPLOADER_REP_POINTS_THANKS"] = "Thanks with one point";

lastly upload the attached file to your site.
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5927"]takereppoints.php[/url]



notice: i see an issue with people being able to give rep more then once.. oh well dont feel like dealing with it now.. the old pos was the same anyway LOL...
Tested everything myself so if having issues dial 911 and call someone who cares.
ah i see the issue i think:) seems newer os changed the name from JPG to JPEG

this new file attached fixes that issue, I tested on  Debian 6.0.5 (Linux 3.2.13-grsec-xxxx-grs-ipv6-32)

its for  2.08 so people lower versions will have to change the language stuff back...

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5919"]upavatar.php[/url]
my guess your system has an issue with

 $nimage = imagecreatefromjpeg($_FILES[avatar]['tmp_name']);
lol suxs to be you i guess... maybe its .JPG rofl case matters on linux.

none ever puts what os, server they trying stuff on so oh well...
my guess they might be .jpeg and not .jpg i have seen that alot with pictures.

in upavatar.php

change



if (preg_match('/^(.+).(jpg|gif|png)$/si', $_FILES[avatar]['name'])){




to







if (preg_match('/^(.+).(jpg|gif|png|jpeg)$/si', $_FILES[avatar]['name'])){

"iceys, post: 84392":
Hello

Is it possible to have this code but thank you for version 2.05 ?
NO this forum section is TT v2.08 only[size=12px] - Completed Modifications for v2.08[/size]
upgrade to 2.08 or dont bother asking for help................ have fun with the biggest bugged version 2.07 ever made.

anyway topic closed, use 2.08 seedbonus
blah blah blah.. bump........... people cant read the rules anyway.......................... we got an non English section..................
change

$SITEURL
to
$site_config["SITEURL"]
to fix the second part and the 1st part really not easy or do able to me.. the shoutbox is viewable by anyone lol
well you should have in index like



username UNIQUE 22154 username


but again its still better of to check to make sure the username dont exist 1st lol, most staff should have enought common sense to check to see if the username is avail but its still nice to be forced to in the code.
well to me this addon is adding pointless entries in the db due to logging.. you know every thing you enter into the db can slow down other parts of the site..

mvp snatched list does the same amount of info but alot more.... i cant imagine my db size if i logged every time my members downloaded an torrent .........

if you want your site to crash then add it...
not much on TT works on a shared system.. they either dont have resources, too restricted, and/or just plain dont have the stuff needed to run a torrent site from.

the 1 from yesszus looks cool and looks like it might deal with some of the utf8 issues people have.  But to me i cant use it anyway it stores as .sql and thats just plain huge on my site hehe not like I have unlimited hd space hehe.
rofl not addon issue.. looks like your account got blocked and/or is wrong info. contact paypal.........................................................................
not tried this version.. i got an custom 1 i use inside account-details, before people ask no its not avail..

but anyway looks like $reciever is not defined in 2.08 due to no global vars.

changing this in admincp should work in thery





if($do == "change_username")

{

stdhead();

navmenu();

if ($CURUSER["edit_users"]!="yes")

show_error_msg("STOP", "you Cannot access this function");

begin_frame("Changes have been successful");

$current_username = $receiver;

$new_username=$_POST['new_username'];

$q = mysql_query("UPDATE users SET username = '$new_username' WHERE username = '$current_username'");

echo '<b> Changes have been successful</b>';



  end_frame();

        stdfoot();

}



to






if($do == "change_username")

{

stdhead();

navmenu();

if ($CURUSER["edit_users"]!="yes")

show_error_msg("STOP", "you Cannot access this function",1);

begin_frame("Changes have been successful");

$current_username = $_POST['receiver'];

$new_username=$_POST['new_username'];

$q = SQL_Query_exec("UPDATE users SET username = '$new_username' WHERE username = '$current_username'");

if ($q)

echo '<b> Changes have been successful, User: '.$current_username.' is now '.$new_username.'</b>';

else

echo '<b> Changes <font size=1 face=Verdana color=red>not</font> been successful</b>';

  end_frame();

        stdfoot();

}





side note lol no idea why people changes like this dont need an modcomment.. but what ever lol
Post — 2012-07-13 17:50:40 in General Chat
anyway read the top of each forum section it has the rules of that section

closed
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