Topic: Auto User Notification
I am sure the fix to this is simple. But I want a way to modify the POST.php PHP protocols to automatically check the user notification box, so by default users are notified of replies to their topic. I looked over the code, and searched a bit here, but I assume one of your PunBB cool people, could help me out quickly. Thanks!
Looking here, I see multiple routes I could take... This is the code for the checkbox notification option.
$checkboxes[] = '<label><input type="checkbox" name="subscribe" value="1" tabindex="'.($cur_index++).'"'.(isset($_POST['subscribe']) ? ' checked="checked"' : '').' />'.$lang_post['Subscribe'];
I could change to:
$checkboxes[] = '<label><input type="checkbox" name="subscribe" value="1" tabindex="'.($cur_index++).'"'.(isset($_POST['subscribe']) ? ' checked="checked"' : ' checked="checked"').' />'.$lang_post['Subscribe'];
OR
$checkboxes[] = '<label><input type="checkbox" name="subscribe" value="1" tabindex="'.($cur_index++).'" checked="checked" />'.$lang_post['Subscribe'];
Will that work? Or cause a problem?