miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

Email notification by default for registered users...

 
Author bjcolsn
Partaker
#1 | Posted: 27 Apr 2014 16:51 
Hi !
i would like the email notification ("Watch this topic and get updates by email") to be "pre-checked" by default for registered users
What should i do ? thanks a lot

Bj.

Author tom322
Active Member
#2 | Posted: 28 Apr 2014 02:38 
Find this code:

<input type="checkbox" name="CheckSendMail"></input>
and change it to:

<input type="checkbox" name="CheckSendMail" checked="checked"></input>

Author bjcolsn
Partaker
#3 | Posted: 10 May 2014 16:28 
Hi ! sorry but i cant find the code in any template. In which file should i write this please ? Thanks ! Bj.

Author Paul
Lead Developer 
#4 | Posted: 10 May 2014 21:08 

Author bjcolsn
Partaker
#5 | Posted: 11 May 2014 19:50 
Thanks... i was feeling lazy, sorry :)
It's in bb_functions.php for those who might look for it !

function emailCheckBox()
checkEmail="<input type=\"checkbox\" name=\"CheckSendMail\" checked=\"checked\" {$chk} />

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 Email notification by default for registered users...
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑