HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


How to restrict visability for some content

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#72880 (In Topic #15277)
Avatar

Fan in training

Need help restriciting content

Hi,

I am trying to find out how to reduce the visibility and access to some content

The comcode block that displays site usage, new members, etc. As the admin I want to view these stats, but I don't want everyone viewing them.

And I don't want any members to have access to creating banners and pages (the site is mainly for a community to stay in touch)

Village of Northport Memory Lane

I just put this out a few days ago and need to get some of these basic issues taken care of.

Also the menu, I know how to remove a link for everyone, but how do I remove(delete) links in the panels for only users and not the admin

Also, does anyone have suggestions on what to use for a High School Roster type of set up. Right now I created usergroups for each class so each member can add themselves, but I was not sure if there is a better way, such as using clubs instead, what's the difference?

Sorry about the multiple issues here, but I have searched the tutorials and can't locate anything on these issues.

I would greatly appreciate some input

thanks
donna
Back to the top
 
Posted
Rating:
#72887
Avatar

Community saint

Most of what you want to do can be handles using permissions. You need to start by determining what your user group structure is and then you can set Global Privileges (Admin->Security). You can then use the Permission Tree Editor in the same menu to further refine your permissions.

Read through the Tempcode documentation and the forums for the  "is_in_group" variable which can be used to control the display of blocks. You can't remove specific links this way but you might look at reorganizing your menu items into blocks such that all the admin links are under one block.

I think clubs would be a much better (and more manageable) solution for your high school rosters. Otherwise you need to create a user group for each year which will be a nightmare to administrate.

Hope that helps.

Bob
Back to the top
 
Posted
Rating:
#72888
Avatar

Fan in training

Bob, one question though wouldn't I have to create a club for each class year also? What's the difference, I didn't see much documentation on using clubs.

thanks
donna
Back to the top
 
Posted
Rating:
#72890
Avatar

Community saint

Hi Donna-

It's been a while since I looked at clubs but as I recall it is primarily the ability to create "private" forums for each group where they can communicate what is important to them. One of the advantages that I recall is that people could be allowed to create their own clubs and club administration is handled separately from general site administration

Yes, you would need to create a club (really just a forum) for each year. You could appoint a responsible party for the club and then let them do as they need in their private forum. Being in a club does not change the general permissions that a user has based on his membership in a usergroup.

I've only looked at it briefly but I know I plan to use it in a similar fashion. I want to enable people in the same geographic area to self-identify and work amongst themselves doing local events.

Bob
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: