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 prevent guests can use the sitemap?

Login / Search

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

Well-settled

I ask this because they can see also all the docs to…


greets harry
Back to the top
 
Posted
Rating:
#35759
Avatar

Well-settled

Have found it !!!  

need to checks thing better before asking.  lololololol
Back to the top
 
Posted
Rating:
#35790
Joe
Avatar

Honoured member

A tip if you'd like to do this for other editable Comcode pages: Wrap the page contents in an IF_IN_GROUP tag. Example:

Code

[if_in_group="1"]It appears you're a guest. Please register to view this page.[/if_in_group]
[if_in_group="2,3,4,5,6"][block]main_sitemap[/block][/if_in_group]

The number in the tags are usergroup ID's. The above numbers are just examples, so you'd have to look at your forum system to determine the actual ID's of the usergroups. :)

Back to the top
 
Posted
Rating:
#35825
Avatar

Well-settled

Thanks Joe....
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: