MyBB Community Forums

Full Version: Need SQL Query
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im looking for an SQL query to make the first radiobutton option selected as default (When changinge signature) in usersCPCurrently the 3rd option is default. (Image Below)

I don't think you can do this with an SQL Query. I may be wrong though.

I think it relies on cookies.
Yea im kinda thinking that now also
This is just HTML. If 'no action' is taken it basically just updates your signature. Choosing to enable it in all posts means it will show the sig in any posts where it was disabled, and choosing to disable it will show it in no posts. No action means it will update and show in any posts it's already set to show in. But, to change what's selected to begin with, in the usercp_editsig template, find:

<label><input type="radio" class="radio" name="updateposts" value="enable" />&nbsp;{$lang->enable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="disable" />&nbsp;{$lang->disable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="0" checked="checked" />&nbsp;{$lang->leave_sig_settings}</label></span>

replace code:

<label><input type="radio" class="radio" name="updateposts" value="enable" checked="checked" />&nbsp;{$lang->enable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="disable" />&nbsp;{$lang->disable_sig_posts}</label><br />
<label><input type="radio" class="radio" name="updateposts" value="0" />&nbsp;{$lang->leave_sig_settings}</label></span>
Matt, shouldn't
suercp_signature

Be
usercp_signature
? Big Grin

Sorry, just had to tease ya since this is the first typo I've caught you in
(2010-09-07, 04:29 PM)Dylan M. Wrote: [ -> ]Matt, shouldn't
suercp_signature

Be
usercp_signature
? Big Grin

Sorry, just had to tease ya since this is the first typo I've caught you in

Toungue Already corrected, I had the template name wrong to begin with too anyway.

And I usually find my typos and edit them out quickly Toungue I type the second letter before the first a lot.
No wonder I don't catch you lol Big Grin

Wouldn't it be better to use the "Preview" and proofread yourself though Toungue
I'm too lazy for that Angel And even when I do preview and proofread things I always noticed typos straight after I submit it RolleyesToungue
Lol guys , thanks matt.