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

Can someone to fix the code to use cache.?
Ban comments — 2013-06-14 22:07:34 in v2.08 Mods Completed
Not worked for me..Doesnt show Error message when user is banned for comments..
This now worked in my tracker.   :unsure:
Tnx, now works fine ! :)
Pm to you..
1. Open account-details.php and after this line:



$modcomment = htmlspecialchars($user["modcomment"]);

add this one:






$nick = $user["username"];






then find this line:







print("<tr><td>".T_("AVATAR_URL")."</td><td align='left'><input type='text' size='67' name='avatar' value="$avatar" /></td></tr>n");






add after that add this:







print("<tr><td>".T_("CHANGE_NICK")."</td><td align='left'><input type='text' size='67' name='nick' value="$nick" /></td></tr>n");






Save the changes.



2. Open admin-modtasks.php and after this line:







$email = $_POST["email"];






add this line:







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






then find this line:







SQL_Query_exec("UPDATE users SET email='$email', 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");






and on the end of line add:







username=$nick






So in my case i have this:







SQL_Query_exec("UPDATE users SET email='$email', title=$title, downloaded='$downloaded', uploaded='$uploaded', signature=$signature, avatar=$avatar, ip=$ip, donated=$donated, forumbanned=$forumbanned, warned=$warned, modcomment=$modcomment, enabled=$enabled, invites=$invites, hideshoutbox=$hideshoutbox, username=$nick

WHERE id=$userid");






Finally, add this line in /languages/english.php







$LANG["CHANGE_NICK"] = "Change Nick";




and save the changes.

Tested and works fine in TT 2.08.  :)

Proff:

Tnx a Lot..Needed This mod..:)
"Tiloup, post: 88597":
Thanks you!

 <td align="center"><a href="admincp.php?action=nick_change"><img src="images/admin/nick.png" border="0" width="32" height="32">

<?php echo T_("CHANGE_NICKNAME"); ?></a>

</td>


Add Langue:

English

$LANG["CHANGE_NICKNAME"] = "Change Nick";

French

$LANG["CHANGE_NICKNAME"] = "Changer Pseudo";

Did you want to post full code for admincp.?
Did someone want to make good code for compleated torrents, like code before..I see that, code is not working good..
Is possible to make this mod, to show alert when have new posts in forum..?
Tnx Darknova, works great !!
In my theme in header.php,  doesnt have this code:



if ($site_config["MIDDLENAV"]){

   middleblocks();



Any help..?
"flameche, post: 87344":
there are some snow scripts over the web, consumming much less ressources ! just google it  :)

For ex..? :D
OK..Tnx
"Movie-Torrentz, post: 87047":
Your all welcome...

Tnx for this..Great mod..I have one question..? Is this possible to implement in login_block, so every user if want to login, must move the slide, and then to login to site..Tnx in advance :)
"ValVanDeCamp, post: 85151":
thanks but always nothing with the "+" when I clic

The same..Just remove the picture, before torrent name..:)
I tryed to install only tags, but dont show me youtube video for ex..
Not work TT 2.08 :(
Tnx. Works Fine on TT 2.08 :)
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: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728