The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi All,
I have done a registration hack and i am quite pleased with it , 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! |
|
#2
|
||||
|
||||
|
Open up the "registeradult" template:
For example, with PMs: Code:
<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>
<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: Code:
<input type="hidden" name="receivepm" value="yes"> Do this for any or all of your options.
|
|
#3
|
|||
|
|||
|
Thanks for that, i will try that now and let you know how i get on
![]() Matthew |
|
#4
|
|||
|
|||
|
Yup,
Thanks ![]() it works great! Matthew |
|
#5
|
||||
|
||||
|
Erwin - What query would you use to set all users to "recieve emails from administrator" to yes?
Satan |
|
#6
|
||||
|
||||
|
[SQL]UPDATE user SET adminemail=1;[/sql]
|
|
#7
|
||||
|
||||
|
Thanks
![]() Satan |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|