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

Email notification by default for registered users...

Author bjcolsn
Registered
#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
Registered
#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
Registered
#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
Registered
#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... Top

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

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


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
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB