We created some custom buttons. We want a few buttons only be visible for site moderators / admins and authors. How is that achieved in Dolphin? Now we have this code:
if (($aAuthor==$accountid OR isAdmin() OR isModerator()) AND $accountid!=0) {
... etc.
It does the trick for the author of a post / event etc. but admins and moderators don't see the button.
Anyone an idea why it isn't working for admins?