How do I create “Members Only” pages?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 29, 2007 12:28pm
Subscribe [1]#1 / Oct 29, 2007 12:28pm
How do I create “Members Only” pages?
#2 / Oct 29, 2007 1:15pm
This should get you started.
{!--- banned or anonymous ---}
{if group_id == '3' OR group_id == '2'}
<html><head><meta http-equiv="refresh" content="0;url=/members/login/" /></head></html>
{if:else}
{!--- page here ---}
{/if}It would be much better to include this in a header specifically for members pages. That way you can easily manage more complex authorizations.