Quote:
Originally Posted by HCGB
It respects calendar permissions (AdminCP->Calendars->Calendar Permissions) and usergroup calendar permission (AdminCP->UserGroup Manager : <group> : Calendar Permissions)
|
Thank You For The Update,
HCGB. :up:
What Code Can I Add To Hide the Search Form and if I Like the Entire Calendar Page From Certain Usergroups?
I don't Like Visitors (Usergroup 1), Not Activated (Usergroup 3), Not Approved (Usergroup 4), and Other Banned Usergroups (Included 8), To Be Able to Make Searchs with the "calsearch.php" Page.
I'll Apply the Same Code You Provide For This Mod to Your Album and Pictures Gallery, where I Asked the Same Question, (I'd like to Hide the Search Form on Both Pages on "albumall.php" and "picall.php", because I don't want certain Usergroups to Make Searchs).
I Usually Set this Permissions on the Mod's Templates, but Your Mods have Everything on the php Files, and I haven't done this Coding for Usergroup Permissions on the php Files.
I Appreciate Your Help by Providing me the php Code I should Use to Set Those Usergroup Permissions.
My Best Regards.