MyBB Community Forums

Full Version: Lock Icon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

How can I show the "offlock" icon if the user can't post in a forum?

Thanks to all Smile
Nobody knows how i can do this?

I've tried to modify the function_forumlist.php:
	if(!$forum['open'] || $locked)
	{
		$folder = "offlock";
		$altonoff = $lang->forum_locked;
	}
Replaced with
	if($forum['open'] || $locked || $permissions['canpostthreads'] == 0)
	{
		$folder = "offlock";
		$altonoff = $lang->forum_locked;
	}

But the lock icon is also shown if I have the permissions Sad
I dont think you can. I use a plugin that hides all the post contents from the guests, but they can still see the thread titles.
Do you know vB?
in vB if a user can't post reply or threads in a forum the forum is marked as: [Image: offlock.gif]

I want to do this in mybb Confused