fraze |
|
||
---|---|---|---|
Hi Guys
I'd like to be able to show a logic block to certain groups. is there any easy way I can do this?? is the following correct?
|
Twiebie |
|
||
---|---|---|---|
Try this, Fraze:
|
fraze |
|
---|---|
it doesnt appear to work unfortunately. is there a list of the php.usr.x tags anywhere? Added 1 minutes later: scratch that - working now :) |
Twiebie |
|
||
---|---|---|---|
If you want to allow multiple groups to access whatever is in the block you can use something like this:
|
fraze |
|
---|---|
i put in <!-- IF {PHP.usr.maingrp} >= 5 --> so any user with a maingroup number higher than this can see the block. essentially on my site it allows only admins (group 5) and custom usergroups (6+) to see the block.
thanks for the help :) |