2011-08-07, 07:40 PM
Hi I try to write my own Custom MyCode according to this rule:
http://community.mybb.com/thread-12008.html
I would like to add my own MyCode:
And the code is:
But I find out that PHP wont work.
Do I have to write a plugin or something?
http://community.mybb.com/thread-12008.html
I would like to add my own MyCode:
\[member\](.*?)\[/member\]
And the code is:
<?php
if($mybb->user['usergroup'] != 1)
{
echo "Sorry Please follow read here to <a href=http://www.google.com>register</a>";
}
else
{
echo $1
}
?>
But I find out that PHP wont work.
Do I have to write a plugin or something?