Building a support forum

Discuss phpbb and phpbb related stuff here. No support!
Forum rules
This area is for discussion. No support!
All support requests are locked and poster will be banned!
Locked
matthewtimothy
BBCoder II
BBCoder II
Posts: 31
Joined: 27 Jun 2012, 17:48
BBCodes: 1

Building a support forum

Post by matthewtimothy »

I am building a support forum for a friend and I was questioned if it was possible that a post can be made, but only the author and admin/mod can view it. Can this be done or someone be able to send me somewhere to learn how to? :)
Jessica
BBCoder II
BBCoder II
Posts: 66
Joined: 26 Apr 2010, 01:26
BBCodes: 50
Favourite BBCode: spoilvtitle
Favourite MOD: AJAX Quick Edit
Location: Pennsylvania
Contact:

Building a support forum

Post by Jessica »

there's a MOD but it's abandoned....
Daniel
BBCoder II
BBCoder II
Posts: 29
Joined: 23 May 2010, 06:53

Building a support forum

Post by Daniel »

Jessica wrote:there's a MOD but it's abandoned....
Maybe one can check to see if it still work and get it into the mod database :)
matthewtimothy
BBCoder II
BBCoder II
Posts: 31
Joined: 27 Jun 2012, 17:48
BBCodes: 1

Building a support forum

Post by matthewtimothy »

That would be cool. Still learning and hate to tell others it works and turns out it doesn't
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 847
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Building a support forum

Post by Steve »

OIpen viewtopic.php
find:

Code: Select all

// Start auth check
before inject this:

Code: Select all

//You cant read this nub...
if (!$auth->acl_get('a_') && !$auth->acl_get('m_') && $user->data['user_id'] != $topic_data['topic_poster'])
{
	$index = append_sid("{$phpbb_root_path}index.$phpEx");
	meta_refresh(5, $index);
	$message = $user->lang['NO_AUTH'] . '<br /><br />' . '<a href="' . $index . '">' . $user->lang['RETURN_INDEX'] . '</a>';
	trigger_error($message);
}
Open language/en/common.php
find:

Code: Select all

	'NO'						=> 'No',
after add:

Code: Select all

	'NO_AUTH'					=> 'You do not Have Permissions to Read this Topic',
	'NO_AUTH_RETURN'			=> 'Return To Index page...',
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
matthewtimothy
BBCoder II
BBCoder II
Posts: 31
Joined: 27 Jun 2012, 17:48
BBCodes: 1

Building a support forum

Post by matthewtimothy »

awesome dude I will test this and get back to you.
Locked