Hey,
I am currently having to develop a cb plugin, but I seem to be stuck on how to figure out if the current user logged in is a moderator / administrator.
I know how to check to see if the user is equal to the currently displayed profile such as $_CB_framework->myId() == $user->id
However, I also want to show the plugin if the user is a moderator / administrator. I figured there would be a function such as $_CB_framework->myIsModerator() however there does not seem to be.
Any help would be greatly appreciated.
Thanks,
Metric.