
Building a support forum
Building a support forum
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
Maybe one can check to see if it still work and get it into the mod databaseJessica wrote:there's a MOD but it's abandoned....

Building a support forum
That would be cool. Still learning and hate to tell others it works and turns out it doesn't
Building a support forum
OIpen viewtopic.php
find:
before inject this:
Open language/en/common.php
find:
after add:
find:
Code: Select all
// Start auth check
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);
}
find:
Code: Select all
'NO' => 'No',
Code: Select all
'NO_AUTH' => 'You do not Have Permissions to Read this Topic',
'NO_AUTH_RETURN' => 'Return To Index page...',