2014-04-21, 10:31 PM
My forum experience it's only a few days now. Sorry for my very noob questions.
I want to create a forum with very little options because I want the forum to be very user friendly and I want it to look as clean as possible.
I've been able to modify almost everything what I wanted to modify but I got stock here.
I want to remove the option "Mark this forum read".
At least I was able to remove the option "Subscribe to this forum" by removing the following code from the FTP file "forumdisplay.php".
Here are the pictures with the option and without.
With the option.
http://i.cubeupload.com/1zYAKH.png
Without the option.
http://i.cubeupload.com/QmXvkY.png
But how can I remove the option "Mark this forum read"?
Thank you very much!! !
I want to create a forum with very little options because I want the forum to be very user friendly and I want it to look as clean as possible.
I've been able to modify almost everything what I wanted to modify but I got stock here.
I want to remove the option "Mark this forum read".
At least I was able to remove the option "Subscribe to this forum" by removing the following code from the FTP file "forumdisplay.php".
// If there are no unread threads in this forum and no unread child forums - mark it as read
require_once MYBB_ROOT."inc/functions_indicators.php";
$unread_threads = fetch_unread_count($fid);
if($unread_threads !== false && $unread_threads == 0 && empty($unread_forums))
{
mark_forum_read($fid);
}
// Subscription status
$add_remove_subscription = 'add';
$add_remove_subscription_text = $lang->subscribe_forum;
if($mybb->user['uid'])
{
$query = $db->simple_select("forumsubscriptions", "fid", "fid='".$fid."' AND uid='{$mybb->user['uid']}'", array('limit' => 1));
if($db->fetch_field($query, 'fid'))
{
$add_remove_subscription = 'remove';
$add_remove_subscription_text = $lang->unsubscribe_forum;
}
}
Here are the pictures with the option and without.
With the option.
http://i.cubeupload.com/1zYAKH.png
Without the option.
http://i.cubeupload.com/QmXvkY.png
But how can I remove the option "Mark this forum read"?
Thank you very much!! !