PDA

View Full Version : How to preset the user preferences?


Importhookup
06-26-2003, 09:18 PM
Hello,

I would like new registered members to have their "Send you an email when you receive a Private Message?" and "Pop up a box when you receive a Private Message?" set to "yes" as the default under their preferences. Thanks :)

Gary King
06-27-2003, 01:25 PM
Open registeradult template

Find:

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


Replace with: <input type="radio" name="emailonpm" value="yes" checked> yes
<input type="radio" name="emailonpm"value="no"> no


Find: <input type="radio" name="pmpopup" value="yes"> yes
<input type="radio" name="pmpopup" value="no" checked> no

Replace with: <input type="radio" name="pmpopup" value="yes" checked> yes
<input type="radio" name="pmpopup" value="no"> no


There you go :)

Importhookup
06-27-2003, 08:03 PM
Hi Gary, I tried to look up up the template but I cannot find it. I'm assuming you're talking about the PHP files (i'm a newbie) and all I can find is a register.php in my folder. I have version 2.3.0... do you have any suggestions on what I should do? Thanks a lot for the help :)

filburt1
06-27-2003, 08:12 PM
He's talking about the templates...go to the admin CP, scroll down in the left frame to Templates, click Modify, find (now this part is from memory) Registration Templates, find registeradult, and click Change Original.

Importhookup
06-30-2003, 04:51 PM
Got it, thanks!