Private Topic

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
Post Reply
Supermillhouse
Registered User
Posts: 7
Joined: Fri Aug 04, 2017 8:48 am

Private Topic

Post by Supermillhouse » Mon Sep 18, 2017 11:10 am

I have found a couple of mods for previous versions of PHPBB that would allow topics within a forum to be visible to the original poster and the board admin only, essentially creating a private conversation between a user and admin that wasn't using private messages. I am unable to locate a similar extension for 3.2.1 however.

I intend to use this for forum applications, so it would be nice if each application was not visible to all other applicants.

User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: Private Topic

Post by uruguayito » Mon Sep 18, 2017 1:43 pm

+ 1
I speak spanish
Sorry for my bad english

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20263
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Private Topic

Post by RMcGirr83 » Mon Sep 18, 2017 1:54 pm

Supermillhouse wrote:
Mon Sep 18, 2017 11:10 am
I have found a couple of mods for previous versions of PHPBB that
and they would be located where?
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Steve
Registered User
Posts: 992
Joined: Tue Apr 07, 2009 7:48 pm
Location: UK ,up north!!
Name: Steven Clark
Contact:

Re: Private Topic

Post by Steve » Mon Sep 18, 2017 1:58 pm

heads up, its quite simple:
using the event from viewtopic.php:
'core.viewtopic_before_f_read_check'

using:

Code: Select all

	if ($user->data['user_id'] != $topic_data['topic_poster'] && !$auth->acl_get('a_'))
	{
		trigger_error('NO_AUTH_TOPIC_AUTHOR');
	}
will produce the viewtopic page trigger error.

And using the event from viewforum.php:
'core.viewforum_modify_topicrow'

using:

Code: Select all

		if ($user->data['user_id'] != $row['topic_poster'] && !$auth->acl_get('a_'))
		{
			continue;
		}
will remove the topic from the topic list in view forum, there will be other things to consider but this is a good start if some one wants to expand it ;)

using $forum_id == (int) 2 or $row['forum_id'] == (int) 2 for example will ensure its only in a specific forum.

User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3237
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: Private Topic

Post by bonelifer » Mon Sep 18, 2017 5:52 pm

There's a permissions extension, but it's only in Beta. viewtopic.php?f=456&t=2283001
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .

Supermillhouse
Registered User
Posts: 7
Joined: Fri Aug 04, 2017 8:48 am

Re: Private Topic

Post by Supermillhouse » Mon Sep 18, 2017 10:50 pm

RMcGirr83 wrote:
Mon Sep 18, 2017 1:54 pm
Supermillhouse wrote:
Mon Sep 18, 2017 11:10 am
I have found a couple of mods for previous versions of PHPBB that
and they would be located where?
Here is one I thought would accomplish some of my need.
viewtopic.php?t=543859

Post Reply

Return to “Extension Requests”

Who is online

Users browsing this forum: No registered users and 7 guests