miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

"Email notifications" box active by default

Author ledut
Registered
#1 | Posted: 16 Mar 2005 23:32 | Edited by: ledut 
if you want "Email notifications" to be active by default, when user sends a post (the user won't have to chek the box every times he sends a post) :

on "bb_fonctions.php" file, on "emailCheckBox()" fonction, on line 283 (for minibb1.7d) :
simply replace :
$checkEmail = "<input type=checkbox name=CheckSendMail> <a href=\"{$indexphp}action=manual#emailNotifications\">$l_emailNotify</a>";

by :
$checkEmail = "<input type=checkbox name=CheckSendMail checked> <a href=\"{$indexphp}action=manual#emailNotifications\">$l_emailNotify</a>";

Author Ivan
Advanced Member
#2 | Posted: 17 Mar 2005 10:33 | Edited by: Ivan 
You may want this by some special and individual reason, but to have it on by default is very boring sometimes. I felt it with phpBB in a forum long ago. I had forgotten this option turned on and I had 100-200 unusual letters to delete every day till I remembered to switch it off :)

Author ledut
Registered
#3 | Posted: 17 Mar 2005 22:21 | Edited by: ledut 
Yes Ivan, You 're right !
The main reason is not about the Admin but about members : they usually don't check if email notification is active or not when they post.
On standart minibb version, users will probably wait for an email notification they will never receive but there will exist an answer to there post ! That why I think it's interesting activing email notification by default.

Anyway, when I send a post as Admin, I manually desactivate the email notification every times.

Author Ivan
Advanced Member
#4 | Posted: 18 Mar 2005 00:11 | Edited by: Ivan 
I continue to think that it's not needed excepting in some special cases. Imagine - here I could answer you only "Yes", and for this "Yes" you'll receive a special letter with this very important information :)

If I have something really important to tell you in my answer, I can then check the box and you'll receive a notification. For me it's enough.

Anyway, you have found a solution for yourself :)

Author Guest
#5 | Posted: 19 May 2009 10:15 
For Mini BB v 2.3

$checkEmail="<input type=\"checkbox\" name=\"CheckSendMail\" checked=\"checked\"/> {$GLOBALS['l_emailNotify']}";


Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / "Email notifications" box active by default Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB