Page 1 of 1
Building a support forum
Posted: 11 Jul 2012, 18:30
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?
Building a support forum
Posted: 12 Jul 2012, 01:45
by Jessica
there's a MOD but it's abandoned....
Building a support forum
Posted: 12 Jul 2012, 05:31
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
Building a support forum
Posted: 12 Jul 2012, 06:21
by matthewtimothy
That would be cool. Still learning and hate to tell others it works and turns out it doesn't
Building a support forum
Posted: 12 Jul 2012, 11:35
by Steve
OIpen viewtopic.php
find:
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:
after add:
Code: Select all
'NO_AUTH' => 'You do not Have Permissions to Read this Topic',
'NO_AUTH_RETURN' => 'Return To Index page...',
Building a support forum
Posted: 12 Jul 2012, 15:35
by matthewtimothy
awesome dude I will test this and get back to you.