2012-07-16, 05:24 PM
Hi
I have questions - namely how create function which permits use selected BBCodes only for moderator and admin?
Example:
[table][/table] - this BBCode sees only moderators and administrator.
I do it so:
I have questions - namely how create function which permits use selected BBCodes only for moderator and admin?
Example:
[table][/table] - this BBCode sees only moderators and administrator.
I do it so:
if(UserIsAdmin >= 1 && UserIsMod >= 1) // I don't know code to checking administrators and moderators :P
{
shows bbcode - ex. table
}else{
leave the field blank
}