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!
matthewtimothy
BBCoder II
BBCoder II
Posts: 31
Joined: 27 Jun 2012, 15:48
BBCodes: 1

Building a support forum

Post by matthewtimothy » 11 Jul 2012, 16:30

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: 25 Apr 2010, 23:26
BBCodes: 50
Favourite BBCode: spoilvtitle
Favourite MOD: AJAX Quick Edit
Location: Pennsylvania

Building a support forum

Post by Jessica » 11 Jul 2012, 23:45

there's a MOD but it's abandoned....

Daniel
BBCoder II
BBCoder II
Posts: 29
Joined: 23 May 2010, 04:53

Building a support forum

Post by Daniel » 12 Jul 2012, 03:31

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, 15:48
BBCodes: 1

Building a support forum

Post by matthewtimothy » 12 Jul 2012, 04:21

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: 803
Joined: 04 Mar 2010, 23:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum

Building a support forum

Post by Steve » 12 Jul 2012, 09:35

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...',
NAPWR wrote: Nice, Stoker is Hot


matthewtimothy
BBCoder II
BBCoder II
Posts: 31
Joined: 27 Jun 2012, 15:48
BBCodes: 1

Building a support forum

Post by matthewtimothy » 12 Jul 2012, 13:35

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