PDA

View Full Version : Registration Defaults


Automated
10-29-2002, 08:11 PM
Hi All,

I have done a registration hack and i am quite pleased with it :D , but what i want to know is;

Is there something i can add/modify that will let me specify the default settings for new user registration?

I send an Automatic PM on registration welcoming them, but the default is that new users dont accept PM's.

It is things like this i want to change.

Thanks in advance for your help!

Erwin
10-29-2002, 08:16 PM
Open up the "registeradult" template:

For example, with PMs:


<tr>
<td bgcolor="{firstaltcolor}"><normalfont><b>Enable Private Messaging?</b></normalfont><br>
<smallfont>Allows people to send Private Messages to you</smallfont></td>
<td bgcolor="{firstaltcolor}"><normalfont>
<input type="radio" name="receivepm" value="yes" checked> yes
<input type="radio" name="receivepm" value="no"> no
</normalfont></td>
</tr>


You can edit which one is ticked here.

<input type="radio" name="receivepm" value="yes" checked> yes
<input type="radio" name="receivepm" value="no"> no

Just move the word checked from the yes line to the no line.

If you don't want to give a new member a choice at all, remove the whole code above, and replace with:


<input type="hidden" name="receivepm" value="yes">


The user won't get a choice. Change that to "no" if you wish.

Do this for any or all of your options. :)

Automated
10-30-2002, 07:10 AM
Thanks for that, i will try that now and let you know how i get on :D

Matthew

Automated
10-30-2002, 03:08 PM
Yup,

Thanks :D :D :D

it works great!

Matthew

Chris M
10-30-2002, 03:39 PM
Erwin - What query would you use to set all users to "recieve emails from administrator" to yes?

Satan

NTLDR
10-30-2002, 03:42 PM
UPDATE user SET adminemail=1;

Chris M
10-30-2002, 03:50 PM
Thanks:)

Satan