MyBB Community Forums

Full Version: [F] Hardcoded moderator's inline checkbox for announcements?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Around line 495 of forumdisplay.php, it appears a section of the templates are hardcoded instead of using the template system like you think it would. O_o; This makes it difficult for me to create my theme. I guess I'll have to resort to requiring a plugin to be installed as well, just to fix this little issue. ~_~

	if($ismod)
	{
		$modann = "<td align=\"center\" class=\"$bgcolor\">-</td>";
	}
	else
	{
		$modann = '';
	}

EDIT: Additionally, the folder icon's file extension is also hardcoded for the announcement threads, unlike the rest of the threads, which are easily changeable, so I don't have .gif.png images everywhere. X_x
Do you really need to change that template?

Fixed the other one.
Some themes might apply a style to that column, for example.
CraKteR Wrote:Do you really need to change that template?

Fixed the other one.

Good to hear. Big Grin

laie_techie Wrote:Some themes might apply a style to that column, for example.

Or remove a hardcoded style from that column.
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.