MyBB Community Forums

Full Version: Changing Hidden Thread/Posts/Last Post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Inside the inc/functions_forumlist.php

			// If this forum is a link or is password protected and the user isn't authenticated, set lastpost and counters to "-"
			if($forum['linkto'] != '' || $hideinfo == true)
			{
				$lastpost = "<div style=\"text-align: center;\">-</div>";
				$posts = "-";
				$threads = "-";
			}

Now I know it's been discussed whether or not to show the numbers or to be empty but I have another suggestion.

Why not change the - to a lang? $lang->lastposthidden, $lang->postshidden, and $lang->threadshidden?

This will allow a person to alter the lang file to maybe say "join" or "hidden" for the last post column. The - is deceptive as it may appear to a visitor the forum has no posts. A "hidden" text is imho more appropriate and in accordance with MyBB standards I think the - should be a lang variable anyways.

Thanks for consideration.