2011-09-09, 08:22 PM
Mybb,
Alright so, I wanted to make an edit that made "Email notification upon getting a PM" a default checked option. (When you register it's set to "off"
by default. )
So I did some googling, and I found a thread. I tried the SQL statement
Found in this thread: http://community.mybb.com/archive/index....729-2.html
UPDATE mybb_users SET emailnotify='yes' WHERE emailnotify='no';
I changed the "emailnotify" to "emailpmnotify", and it didn't work.
Then I changed it to "pmnotify" (after looking at the fields) and it said
success, but only affected 0 rows.
I only did that though, because the source edit appeared not to work.
The source edit, I found here: http://community.mybb.com/showthread.php?tid=14281
And this is now my current member.php file:
After doing the source edit, I refreshed all caches and and settings and
what not, and it still doesn't work. When I went to view a member, who I
know has it off, it's not set to "on". .__.
So, any help on getting this checked by default?
-Viral.
Alright so, I wanted to make an edit that made "Email notification upon getting a PM" a default checked option. (When you register it's set to "off"
by default. )
So I did some googling, and I found a thread. I tried the SQL statement
Found in this thread: http://community.mybb.com/archive/index....729-2.html
UPDATE mybb_users SET emailnotify='yes' WHERE emailnotify='no';
I changed the "emailnotify" to "emailpmnotify", and it didn't work.
Then I changed it to "pmnotify" (after looking at the fields) and it said
success, but only affected 0 rows.
I only did that though, because the source edit appeared not to work.
The source edit, I found here: http://community.mybb.com/showthread.php?tid=14281
And this is now my current member.php file:
if(!$fromreg)
{
$allownoticescheck = "checked=\"checked\"";
$hideemailcheck = '';
$emailnotifycheck = '';
$receivepmscheck = "checked=\"checked\"";
$pmnoticecheck = " checked=\"checked\"";
$emailpmnotifycheck = 'checked=\"checked\"';
$invisiblecheck = '';
if($mybb->settings['dstcorrection'] == 1)
{
$enabledstcheck = "checked=\"checked\"";
}
}
After doing the source edit, I refreshed all caches and and settings and
what not, and it still doesn't work. When I went to view a member, who I
know has it off, it's not set to "on". .__.
So, any help on getting this checked by default?
-Viral.