News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

-- How to enable/disable Quick reply box globally and not allow user to do so...

Started by whiterabbit, March 17, 2004, 03:09:19 PM

Previous topic - Next topic

whiterabbit

-- How to enable/disable Quick reply box globally and not allow user to do so.

I couldn't find the option(s) in admin area to do sth. like that.
Please don't blame me if it's already there, but really I couldn't find it :-[

I found the option in user profile to turn on or off Quick reply box, but
I 'm not really like it. I want it to be enabled only by admin.

Please tell me how to do so? ...

Thanks in advanced
-JZ- the whiterabbit
One pill makes you larger, and one pill makes you small
And the ones that mother gives you, don't do anything at all

Owdy

You have to modify theme to do that.

In settings.template.php delete this:
<tr>
<td colspan="2">', $txt['display_quick_reply'], '
<select name="default_options[display_quick_reply]">
<option value="0"', empty($context['member']['options']['display_quick_reply']) ? ' selected="selected"' : '', '>', $txt['display_quick_reply1'], '</option>
<option value="1"', !empty($context['member']['options']['display_quick_reply']) && $context['member']['options']['display_quick_reply'] == 1 ? ' selected="selected"' : '', '>', $txt['display_quick_reply2'], '</option>
<option value="2"', !empty($context['member']['options']['display_quick_reply']) && $context['member']['options']['display_quick_reply'] == 2 ? ' selected="selected"' : '', '>', $txt['display_quick_reply3'], '</option>
</select>
</td>
</tr>
That would hide that option for all users.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

whiterabbit

 :o Thanks alot Owdy

Oh! I see.. It resides in the templates, that's why I cannot grep anything from sources. ::)
Ok.. now users cannot set it (Quick reply), and so do I, mr. admin  ;D.

Next is to find a way to set $options['display_quick_reply'] globally only by admin.
wow!! kinda tricky though. I don't want to mess up with the code too much this time
since it's beta.

So... Can I have this post as a feature request? please...  :D
One pill makes you larger, and one pill makes you small
And the ones that mother gives you, don't do anything at all

[Unknown]

Stuff like this is planned for later. (setting the default values of theme settings.)

Right now, you could open the Display.template.php and take out the if...

-[Unknown]

TF_

I use a converted template and I have not Settings.template.php in that folder?? How do I change this quick reply then? and how do I enable/disable hidden users?

Owdy

Quote from: TF_ on March 18, 2004, 02:07:04 PM
I use a converted template and I have not Settings.template.php in that folder?? How do I change this quick reply then?
Copy that from default folder to your theme folder.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

URPG

This is ooooold but exactly my question:

How can i disable quick reply globally in 1.1.2. ?

SleePy

   Admin -> Current Theme -> Reset Options -> Reset all members' current options for this theme
   Admin -> Current Theme -> Reset Options -> Reset default (guest) options for this theme
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

URPG

Do I (as an admin) still see the quick reply box? Because i already did this and ... at least for my view to no effect at all.

Atmosino

and how i can enable quick reply globally as default  in 1.1.2. ?

thank you

SleePy

Quote from: SleePy on February 21, 2007, 10:12:31 PM
   Admin -> Current Theme -> Reset Options -> Reset all members' current options for this theme
   Admin -> Current Theme -> Reset Options -> Reset default (guest) options for this theme

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

_Wes

But how do you enable quick-reply?

I've got this set on all my forums (7??) - and in putting up a new forum - can't find the blessed thing. . .

thanks!


stealthx32

Is there any way to make the next page go to the topic after you quick reply, rather than having it kick you back to the forum topic list?

Advertisement: