Log in

View Full Version : Force "Rec Email from Admins" even when not displayed at Registration


Wonksta
11-05-2010, 07:12 AM
Hi,

I have dramatically reduced the number of boses on register.php however when I removed the box that has the two check boxes "Recive Email from Admins" and "Recieve email from users" they register and it registers them up with Recieve Email from admins as checked as no, regardless of the fact that in vBulletin options > default settings it's checked.

Is there anyway to get around this, to perhaps hide the checkbox so it doesn't appear on the register.php but when the user clicks register it sets Receive email from admins as yes?

Simon Lloyd
11-05-2010, 01:40 PM
put this in your Main Css, additional Css.tarea {
position: absolute;
visibility: hidden;
}this should replace that portion in your register.php which relates to admin email<td class="tarea">
<label for="cb_adminemail">
<input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checkedoff[adminemail] checked="checked" />$vbphrase[receive_email_from_bulletin_board_staff]</label></td>
It should work for you :)

Wonksta
11-05-2010, 03:18 PM
put this in your Main Css, additional Css.tarea {
position: absolute;
visibility: hidden;
}this should replace that portion in your register.php which relates to admin email<td class="tarea">
<label for="cb_adminemail">
<input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checkedoff[adminemail] checked="checked" />$vbphrase[receive_email_from_bulletin_board_staff]</label></td>
It should work for you :)
Fantastic!

Thanks so much Simon :)