MyBB Community Forums
What function makes "Poll:" to appear in forumdisplay.php? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: What function makes "Poll:" to appear in forumdisplay.php? (/thread-163588.html)



What function makes "Poll:" to appear in forumdisplay.php? - Greg Winston - 2014-12-01

I was trying to find the function/variable that makes "poll:" to appear in front of threads which have a poll in them, but I couldn't find it.

Does anyone else know?


RE: What function makes "Poll:" to appear in forumdisplay.php? - .m. - 2014-12-01

it is added as a prefix through forumdisplay.php file
$prefix = '';
		if($thread['poll'])
		{
			$prefix = $lang->poll_prefix;
		}



RE: What function makes "Poll:" to appear in forumdisplay.php? - Nathan Malcolm - 2014-12-01

https://github.com/mybb/mybb/blob/29aeb88519fd1cf9d87b6025ef58fa06ca5e1cbe/forumdisplay.php#L1066