Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 8 Years, 10 Months, 2 Weeks ago Need SQL Query
#1
Solved: 8 Years, 10 Months, 2 Weeks ago
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)



Attached Files Thumbnail(s)
   
#2
Solved: 8 Years, 10 Months, 2 Weeks ago
I don't think you can do this with an SQL Query. I may be wrong though.

I think it relies on cookies.
No longer involved in the MyBB project.
#3
Solved: 8 Years, 10 Months, 2 Weeks ago
Yea im kinda thinking that now also
#4
Solved: 8 Years, 10 Months, 2 Weeks ago
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>
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#5
Solved: 8 Years, 10 Months, 2 Weeks ago
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
#6
Solved: 8 Years, 10 Months, 2 Weeks ago
(09-07-2010, 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.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#7
Solved: 8 Years, 10 Months, 2 Weeks ago
No wonder I don't catch you lol Big Grin

Wouldn't it be better to use the "Preview" and proofread yourself though Toungue
#8
Solved: 8 Years, 10 Months, 2 Weeks ago
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
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#9
Solved: 8 Years, 10 Months, 2 Weeks ago
Lol guys , thanks matt.


Forum Jump:


Users browsing this thread: 1 Guest(s)