Get logged userinfo from POST

SolidSNAKE

New Member
Hello, nice people.

I am trying to make a new plugin who implements a new tag "[STAFF]" (for example) and allows us write notes in posts that only staff members can read, but I can't get the logged user information to verify the user group.

For example:
Message blah blah blah.
.....
.....
[STAFF]Please, Alex, send to this user a private message.[/STAFF]
.....
.....

Registered users only can read Message blah blah ... .... ..., but not the text in STAFF tag, because this text is only for Administrators, Moderators.



I hope you understand what I want to do, I don't know if already exists a plugin to do this, if someone knows, please help me.

Thanks.
 
Back
Top