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
[HACK] New User in Shoutbox
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2007-10-23 04:14:49
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

shout2.jpg
shout2.jpg
Unknown User
2007-10-23 11:40:29
working fine thanks

do you have a hack for the request of torrent in the shoutbox ???
Unknown User
2007-10-23 13:46:59
Quote:
working fine thanks
do you have a hack for the request of torrent in the shoutbox ???

Do you want the complete Request HACK, or just the shoutbox announce? We don
Unknown User
2007-10-23 14:00:52
"iMagin3 SweeTDeviL, post: 34435":
Do you want the complete Request HACK, or just the shoutbox announce? We don
Unknown User
2007-10-23 19:28:06
just ripped from TT 1 technical support section lol
Unknown User
2007-10-24 11:33:27
Great stuff..Thanx a lot.
Unknown User
2007-10-24 13:31:53
"YUGI, post: 34463":
just ripped from TT 1 technical support section lol

Yeah. It
Unknown User
2007-11-16 00:17:45
this hack needs two modifications :

1- we need to make a link to the page account_details.php

2- the message must not appear in the shoutbox until the user confirms the account.

can someone help to do it
Unknown User
2007-11-16 00:49:58
i did it, guess it works :

in account-signup.php, find :

}else{ //email confirmation is off

header("Refresh: 0; url=account-confirm-ok.php?type=noconf");

}
replace it with :


}else{ //email confirmation is off

$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, 'System', 'New User: [url=".$site_config['SITEURL']."/account-details.php?id=".$id."]".$wantusername."[/url]', now(), '0')";

mysql_query($query);

header("Refresh: 0; url=account-confirm-ok.php?type=noconf");

}







and in account-confirm.php, find



if (!mysql_affected_rows())

show_error_msg("Error","Unable to activate account please contact a admin",1);





replace it with :



if (!mysql_affected_rows()) {

show_error_msg("Error","Unable to activate account please contact a admin",1);

}

else {

$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, 'System', 'New User: [url=".$site_config['SITEURL']."/account-details.php?id=".$id."]".$row["username"]."[/url]', now(), '0')";

mysql_query($query);

}



have fun
Unknown User
2008-01-07 23:34:58
Thanks a lot nice and working fine first post !
Unknown User
2008-01-13 15:44:06
fot the announce it s ok but for the link in the shout for the new member it s don t work

same thing for the link of new torrent announce ?????

thanks

gia
Unknown User
2008-01-14 08:24:32
"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
Unknown User
2008-01-16 12:21:09
it s work but i have this with the announce in the shoutbox with each new member i have the url adress i have the shout with the avatar and the v2.3 can i put a default avatar for all new member ???

[D]

System;:  New User: [url="http://imagia-tracker.com/account-details.php?id=1326"]http://imagia-tracker.com/account-details.php?id=1326[/url]

16th Jan, 1:46am

[D]

System;:  New User: ralph70
Unknown User
2008-02-17 05:25:35
ok this was working until i put the Signup confirmation email on...

every time a user registers it appears :

1st-

System: New User: xxxx

ok it works fine....

2nd-

But after e confirms the account in the email it appears like this:

System : New User: [url="http://link-to-user"]http://link-to-user[/url]
Unknown User
2008-04-05 09:05:32
thanks, working well on v2.03

but system get a warned.gif

can anyone help me ?
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