Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: TF_ on March 18, 2004, 06:12:40 PM

Title: Set up quick reply box on everyone and new members are hidden
Post by: TF_ on March 18, 2004, 06:12:40 PM
How do I set up the quick reply box on everyone?

And how do I change so my new members not been hidden in the users online?

Can I close the hidden box off ?
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: TF_ on March 19, 2004, 05:06:10 AM
anyone? Please help.... I have a huge forum. 3000 members and I want all things perfect! ;)
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: Tyris on March 19, 2004, 08:20:22 PM
you'd probably want to:
1. run a MySQL script from phpMyAdmin to change everyone's settings to have quick reply on...
and
2. Modify the registration code to default it to on...
if you dunno how to do this... um... ask again here and I'll stop being lazy and find out how ;)
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: TF_ on March 20, 2004, 12:52:48 PM
Quote from: Tyris on March 19, 2004, 08:20:22 PM
you'd probably want to:
1. run a MySQL script from phpMyAdmin to change everyone's settings to have quick reply on...
and
2. Modify the registration code to default it to on...
if you dunno how to do this... um... ask again here and I'll stop being lazy and find out how ;)

Hehe, Im a real noob on YaBB and SMF...

So I dunno how to do this...  :(
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: Grudge on March 21, 2004, 06:13:40 PM
Well... I think the hidden box is in feature settings. You can stop people hiding their online status by checking that.

As for quick reply. The easiest way is just to make it so that users can't turn off quick reply. If that is the case just add this just after the global variables line in template.display.php:

$options['display_quick_reply'] = 1;


It is cheating and would be frowned upon for simpleness but works :P
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: victorinoxs on May 31, 2004, 02:06:55 AM
Quote from: Grudge on March 21, 2004, 06:13:40 PM
Well... I think the hidden box is in feature settings. You can stop people hiding their online status by checking that.

As for quick reply. The easiest way is just to make it so that users can't turn off quick reply. If that is the case just add this just after the global variables line in template.display.php:

$options['display_quick_reply'] = 1;


It is cheating and would be frowned upon for simpleness but works :P
Sorry...I'm too dumb to understand it...
could you please be more specific??
Where is the global variables line ? ???
I tried a few different places to add the code, but none of them worked...
please help!!
Thank you very much in advance!!!
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: Oldiesmann on May 31, 2004, 10:45:28 PM
Global variables line is the line that starts out with "global" followed by a bunch of variables:
global $context, $settings, $options, $txt, $scripturl, $modSettings;

To make it so that the quick reply box is always shown expanded, do this:

in Display.template.php:

Find
if ($context['can_reply'] && !empty($options['display_quick_reply']))

Replace with
if ($context['can_reply'])

Find
<td colspan="2" class="catbg"><a href="javascript:swapOptions();"><img src="', $settings['images_url'], '/', $options['display_quick_reply'] == 2 ? 'collapse' : 'expand', '.gif" alt="+" border="0" id="quickReplyExpand" /></a> <a href="javascript:swapOptions();">', $txt['quick_reply_1'], '</a></td>

Replace with
<td colspan="2" class="catbg">', $txt['quick_reply_1'], '</td>

Find
<tr id="quickReplyOptions"', $options['display_quick_reply'] == 2 ? '' : ' style="display: none"', '>

Replace with
<tr id="quickReplyOptions">

That will set it so that the quick reply box is always there and is always expanded no matter what the user has selected. This might make a few folks mad, but it works.
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: victorinoxs on May 31, 2004, 10:51:47 PM
Thanks a lot!! :D
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: lordmenace on August 09, 2006, 12:36:49 AM
Thanks Oldiesmann. I needed this as well.
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: TheGamer on August 09, 2006, 12:43:08 AM
For the quick reply, why not just go to Admin > Themes Settings & Options > Reset Options, then reset the options for members to have quick reply turned on.
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: Naediel on August 09, 2006, 11:47:09 AM
Quote from: TheGamer on August 09, 2006, 12:43:08 AM
For the quick reply, why not just go to Admin > Themes Settings & Options > Reset Options, then reset the options for members to have quick reply turned on.
This is fine and all, but it is a bit of an annoyance to have to do this every time a new member signs up.  I was surprised to not see an option to just have it on.
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: 青山 素子 on August 09, 2006, 01:54:42 PM
To turn on QuickReply for all new users (1.1 RC2):


To reset everyone to those options (warning - this will write over any custom settings they did), use the "Reset all member's current options for this theme" link.
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: Polymath on August 27, 2006, 03:39:30 AM
Thanks Motoko-chan. Thats somewhere I hadn't been in my admin. Things are starting to work like they should
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: TheGamer on September 02, 2006, 10:57:23 PM
That's in a nasty, hard to find place. Users will look at Reset Options and think of it as something to stay away from... I was a little leerly clicking it the first time I explored it. I wasn't sure what it'd do. I suggest rewording it to Set Default User Options or something to that extent.
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: 青山 素子 on September 03, 2006, 02:37:05 AM
I actually made that suggestion, and it is being considered, but the strings have been finalized for 1.1 (needed for localization). It might go into the next major release however.
Title: Re: Set up quick reply box on everyone and new members are hidden
Post by: anna.young on October 12, 2006, 09:54:44 AM
Quote from: TheGamer on September 02, 2006, 10:57:23 PM
That's in a nasty, hard to find place. Users will look at Reset Options and think of it as something to stay away from... I was a little leery clicking it the first time I explored it. I wasn't sure what it'd do....


This is exactly how I felt...  Thank you Motoko-Chan for your very clear directions

Anna