2013-11-30, 06:39 PM
I'm currently trying to edit an hide plugin to more advanced one... But I got 1 problem which im trying to fix...
So, I have an variable which checks if the user is admin ?
That should show it automatically ? the last one should be the group id they're in... So I want it like, to show it automatically for mods, s-mods & administrators, but it only shows for the uid of "1".
If ya need full source, please pm me..
So, I have an variable which checks if the user is admin ?
if ( ($mybb->user[cancp] != "0" && $selfposted > "0") || $mybb->user[cancp] == "4") {
That should show it automatically ? the last one should be the group id they're in... So I want it like, to show it automatically for mods, s-mods & administrators, but it only shows for the uid of "1".
If ya need full source, please pm me..