OT: How to direct guests and hide certain pages...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marvc
    Member
    • Jul 2002
    • 81

    OT: How to direct guests and hide certain pages...

    This may be an off topic but I'm hoping for a little assistance or push in the right direction from this faaaabalous support team.
    I'd like to prevent Guests browsing the site from being able to view some of my pages that I'd like only Members to have access to. I have a link that I want to appear only after the user registers or logins in and for the Register and Login boxes to appear on every page should the guest try to access the page in the browser. Going to the site and clicking main will give an idea.
    This is what I have so far, but I'm not sure how to get to appear on every page. Plus I can seem to get the "Registration" page to work:
    <!---Member Login--->
    <form action='/forums/member.php' method='post'>
    <input type='hidden' name='s' value=''>
    <input type='hidden' name='action' value='login'>
    <table summary='log-in' width='100%' border='0' cellpadding='5'>
    <tr>
    <td align='right'>
    <font face="verdana, arial, helvetica" size="1" >
    <font size=1>
    <a href="/forums/register.php?action=signup/">Register</a></font>
    Username:
    <input type='text' value='' name='username' size='9' class='bginput'>
    Password:
    <input type='password' value='' name='password' size='9' class='bginput' >
    <input type='submit' value='Login!' class='bginput'> </td>
    </td></tr> </table>
    </td>
    </tr>
    </table>
    <!---Member Login Ends--->

    Any help is appreciated.
    Last edited by marvc; Thu 29 Aug '02, 3:08pm.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...