| Author |
Message |
ulle
Nuke Cadet


Joined: May 31, 2003
Posts: 3
|
Posted:
Sat May 31, 2003 1:38 am |
  |
Hi,
I run a rather private site for all of my friends. But there is a small problem, which we would like to correct. Anyone can just register, and get to see som rather personal stuff, such as ohonenumbers, ICQ's, addresses, etc.
Is there a way to have the administrator activate the members account, instead of the member him-/herself? |
|
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Sat May 31, 2003 2:53 am |
  |
|
    |
 |
ulle
Nuke Cadet


Joined: May 31, 2003
Posts: 3
|
Posted:
Sat May 31, 2003 6:13 am |
  |
OK, thank you very much...
Can you point me in the direction of what to look for in Your_Account/index.php?
I am a little new at this
Maybe I could make it always send the mail to the administator, for easy activation...
I thank you in advance! |
|
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Sat May 31, 2003 6:50 am |
  |
Find the function finishNewUser and look for this line
mail($user_email, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion()); |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
whiskey
Nuke Cadet


Joined: Jun 03, 2003
Posts: 1
|
Posted:
Tue Jun 03, 2003 9:43 pm |
  |
Thanks for the help Raven. It helped me too.
Whiskey |
|
|
   |
 |
ariani
Corporal


Joined: Apr 14, 2003
Posts: 64
|
Posted:
Wed Jun 11, 2003 2:49 pm |
  |
hi there
I have followed the Raven instruction and everything is fine
but know I don't know what to do with this line
| Quote: |
mail($user_email, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
|
can you give me some more infomation please?
i'll wait for you reply
thank you  |
|
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Wed Jun 11, 2003 5:18 pm |
  |
| Code: |
| mail($user_email, $subject, $message, "From: $from\nrX-Mailer: PHP/" . phpversion()); |
Instead of $user_mail, make it the admin's email
| Code: |
| mail($adminmail, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion()); |
|
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
ariani
Corporal


Joined: Apr 14, 2003
Posts: 64
|
Posted:
Wed Jun 11, 2003 8:51 pm |
  |
Raven, thank you very much.
I really appriciate it.
congraluation for your promotion at NukeCops
and by the way your hack for Resend_Email is GREAT !!! |
|
|
   |
 |
|
|