How to show quick reply to guests?

Discuss phpBB 3.0.x in general.
Forum rules
Please post any phpBB 3.1.x related topics in the phpBB 3.1.x discussion forum.
Post Reply
User avatar
Sylver Cheetah 53
New member
New member
Posts: 10
Joined: 23 Nov 2007, 17:21
Real name: Daniel
Location: Milky Way
Contact:

How to show quick reply to guests?

Post by Sylver Cheetah 53 »

Hi!

I want to show quick reply to guests. Thanks!

Regards,
DANIEL (Romania)
User avatar
Sniper_E
MOD Team
MOD Team
Posts: 591
Joined: 13 Jun 2011, 16:53
Location: Shreveport, LA
Contact:

Re: How to show quick reply to guests?

Post by Sniper_E »

How do you mean show quick reply to guests? Do you want codes to go in a template?

<!-- IF not S_USER_LOGGED_IN -->Hello Guest! Login or Register<!-- ENDIF -->

You may need to explain what you want a little more. Details...
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sylver Cheetah 53
New member
New member
Posts: 10
Joined: 23 Nov 2007, 17:21
Real name: Daniel
Location: Milky Way
Contact:

Re: How to show quick reply to guests?

Post by Sylver Cheetah 53 »

Image
User avatar
Sniper_E
MOD Team
MOD Team
Posts: 591
Joined: 13 Jun 2011, 16:53
Location: Shreveport, LA
Contact:

Re: How to show quick reply to guests?

Post by Sniper_E »

In order for guests to see the quick reply they would have to be able to post.

ACP / Permission tab / Forum permissions

I think if guests are allowed to post they will see the quick reply button if it's enabled in the ACP
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sylver Cheetah 53
New member
New member
Posts: 10
Joined: 23 Nov 2007, 17:21
Real name: Daniel
Location: Milky Way
Contact:

Re: How to show quick reply to guests?

Post by Sylver Cheetah 53 »

The guests are able to post but they don't see quick reply. :(
Oyabun1
New member
New member
Posts: 34
Joined: 16 Sep 2009, 08:16

Re: How to show quick reply to guests?

Post by Oyabun1 »

Guests are specifically excluded from using the quick reply.

To allow it for quests:

Download, backup, and open /viewtopic.php

Find:

Code: Select all

if ($user->data['is_registered'] && $config['allow_quick_reply'] && ($topic_data['forum_flags'] & FORUM_FLAG_QUICK_REPLY) && $auth->acl_get('f_reply', $forum_id))
and remove:

Code: Select all

$user->data['is_registered'] &&
Save, upload, and prepare to be inundated with spam, because the normal anti-spam measures for guests do not apply to quick reply.
User avatar
Sylver Cheetah 53
New member
New member
Posts: 10
Joined: 23 Nov 2007, 17:21
Real name: Daniel
Location: Milky Way
Contact:

Re: How to show quick reply to guests?

Post by Sylver Cheetah 53 »

Thanks a lot. It works!
User avatar
Sylver Cheetah 53
New member
New member
Posts: 10
Joined: 23 Nov 2007, 17:21
Real name: Daniel
Location: Milky Way
Contact:

Re: How to show quick reply to guests?

Post by Sylver Cheetah 53 »

How to force guests to enter a username?
Post Reply