Q: Can Wiki Pages be restricted to Community Members only?

A: Yes, but please limit your use of this technique.

The basic philosophy of The Reeves Project is that content posted on Wiki pages should be available to one and all. This is particularly true of our historical gleanings, since what we are striving to do is make more accessible information related to Reeves families. We would ask that such content is never restricted using this technique.

However, as any of our Wiki pages may be indexed by a general search engine, there are a few limited circumstances where hiding content from their crawlers but keeping the pages accessible for Community Members is appropriate.
  • About_Me pages which may contain personal information
  • Experimental pages which are created to illustrate a new concept that may be further refined
  • Test data pages which should be hidden from the outside world.
  • Any other wiki page which contains personally identifying data. For example, this technique may be useful where a community member wishes to note a relationship to an ancestor in the narrative of a Person Page but does not want that publicly exposed on the world wide web.
    Note in general personal data relating to living or recently deceased individuals should not be included within TRP.
Mentors might also suggest new community members initially employ this technique whilst learning to create their first wiki pages.

The technique relies on a simple IF ... ELSE clause based round group membership. Any Community Member logged on to TRP is automatically a member of the group "Registered", any anonymous user browsing TRP (including search engine crawlers) isn't.

This technique may be used to protect a whole page or simply one paragraph within a page.

For examples of its use, please review the source of AboutMe_MartinB where it is used to protect a whole page and TRP_News_2011_03_07 where it protects just the final paragraph.

Example Code Snippets

The first example shows different content to registered members and anonymous users and is best used for one or two paragraphs within a page.
{GROUP(groups=>Registered)}Community Members see this content.{ELSE}Anonymous browsers see this content.{GROUP}

The second example shows nothing to anonymous users. Please only use the second example to protect a part of a Wiki page, never a whole page. It would show a blank page to the anonymous user, which is not good practice.
{GROUP(groups=>Registered)}Community Members see this, but anonymous browsers see nothing.{GROUP}

To protect a whole page, such as your AboutMe_ page, please use the following
{GROUP(groups=>Registered)}Page content for Community Members replaces this text.

{ELSE}This content is only available to community members. Why not ((TRP_Join_Us|join us))?{GROUP}
This code can be added to a new wiki page by applying the template "Our-Eyes-Only"

This technique can be extended to show only the initial part of a page to anonymous users, in the hope of tempting them to register, whilst showing the whole page to community members.
Public content, visible to anonymous users and Community Members, goes here. Perhaps ending part way {GROUP(groups=>Registered)}through a paragraph. The remainder of the Page content for Community Members goes here.{ELSE}~hs~...~hs~...%%%~hs~%%%The remainder of this page is only available to community members. Why not ((TRP_Join_Us|join us))?{GROUP}
This last snippet may be less easy to understand at first glance, and there is a fuller explanation of how it works on the page TRP Code Snippets. This final example is not recommended for less experienced TRP community members.
Contributors to this page: MartinB. and @TRP-GC .
Page last modified on Monday 24 of June, 2013 03:36:02 CDT by MartinB..