2011-03-03, 03:56 PM
2011-03-03, 08:08 PM
Hello friend
go to admin CP panel then Configuration then Board SettingsUser Registration and Profile Options then disable
Allow MyCode in Signatures
Do you want to allow MyCode to be used in users' signatures?
Thanks
Regards
go to admin CP panel then Configuration then Board SettingsUser Registration and Profile Options then disable
Allow MyCode in Signatures
Do you want to allow MyCode to be used in users' signatures?
Thanks
Regards
2011-03-03, 09:20 PM
no, i would like to the signature checkbox be always enebled
2011-06-10, 10:22 PM
I wanted to do exactly the same thing, I did the following (its not great, since the user can use firebug / jsinjection to uncheck the signature, but its good enought for me for now)
update the following templates, edit:
editpost
newreply
newthread
showthread_quickreply
AND CHANGE:
TO:
I also updated the follwing in functions_post.php:
to :
you might also want to update the template usercp_editsig
from:
to:
This is the hacky work around that I did, but as I say.... do at your own risk
update the following templates, edit:
editpost
newreply
newthread
showthread_quickreply
AND CHANGE:
Quote:<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>
TO:
Quote:<span style="display:none">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="6" checked="checked" /> {$lang->options_sig}</label>
</span>
I also updated the follwing in functions_post.php:
if($post['includesig'] != 0 && $post['username'] && $post['signature'] != "" && ($mybb->user['uid'] == 0 || $mybb->user['showsigs'] != 0) && ($post['suspendsignature'] == 0 || $post['suspendsigtime'] < TIME_NOW))
to :
if($post['includesig'] != 0 && $post['username'] && ($mybb->user['uid'] == 0 || $mybb->user['showsigs'] != 0) && ($post['suspendsignature'] == 0 || $post['suspendsigtime'] < TIME_NOW))
you might also want to update the template usercp_editsig
from:
<label><input type="radio" class="radio" name="updateposts" value="enable" /> {$lang->enable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="disable" /> {$lang->disable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="0" checked="checked" /> {$lang->leave_sig_settings}</label></span>
to:
<span style="display:none">
<label><input type="radio" class="radio" name="updateposts" value="enable" checked="checked"/> {$lang->enable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="disable" /> {$lang->disable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="0" /> {$lang->leave_sig_settings}</label></span>
</span>
This is the hacky work around that I did, but as I say.... do at your own risk