MyBB Community Forums

Full Version: remove PHP code insert from replies
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Team,
can you tell how can I remove PHP code insert feature from board ... atleast for normal users.

i am inserting a screenshot to tell what exactly i am talking.
You'd need to edit the javascript. Just to clarify this though, this doesn't mean users can put in PHP that'll execute, it just means it highlights the syntax. Like this:

<?php
if($mybb->user['username'] == "drankur")
{
	echo "Hello.";
}
?>

That's all it does. If you still want to remove it we can give you steps, but I just though I'd make sure you knew it wouldn't actually allow code execution first.
ohh... so no need to remove it then.. again thanks for clarification Smile