2012-08-25, 08:09 PM
Pages: 1 2
2012-08-25, 09:08 PM
(2012-08-25, 07:50 PM)brad-t Wrote: [ -> ]There were issues with my registration page causing this to happen. After:Thanks! That helped me.
<input type="hidden" name="step" value="registration" /> <input type="hidden" name="action" value="do_register" />
Add:
<input type="hidden" name="emailpmnotify" id="emailpmnotify" value="1" {$emailpmnotifycheck} /> <input type="hidden" name="receivepms" id="receivepms" value="1" {$receivepmscheck} /> <input type="hidden" name="pmnotice" id="pmnotice" value="1" {$pmnoticecheck} /> <input type="hidden" name="allownotices" id="allownotices" value="1" {$allownoticescheck} />
To fix the ones that have already registered, you'll need a query to enable all these functions. Unfortunately I don't know it, though I would be interested in having it.
(2012-08-25, 08:06 PM)Omar G. Wrote: [ -> ]When I do that I get this code at header "if($mybb->usergroup['cancp']) { $db->update_query('users', array('emailpmnotify'=>1,'receivepms'=>1,'pmnotice'=>1,'allownotices'=>1)); }"if($mybb->usergroup['cancp']) { $db->update_query('users', array('emailpmnotify'=>1,'receivepms'=>1,'pmnotice'=>1,'allownotices'=>1)); }
Paste that at the end of your global.php file and then access your forum, it should update all users.
You can use some time condition if you know when you started using this registration page and want users registered before it to keep their options intact.
It's good bescause I don't have lot of members so I edited all of them manualy in admin cp.
2012-08-25, 09:54 PM
Glad it worked out. Sorry I caused you trouble haha
2012-08-25, 10:05 PM
(2012-08-25, 09:54 PM)brad-t Wrote: [ -> ]Glad it worked out. Sorry I caused you trouble haha
NP man Without you I wouldn't have that registration page.
Pages: 1 2