>>>>> "Jmumby" == Jmumby  <[email protected]> writes:

    Jmumby> Not one for re-inventing the wheel but I can't seem to find
    Jmumby> a class that looks after user management quite the way I
    Jmumby> want. I want to have a basic page that shows some content
    Jmumby> then when a user log's in it shows extended content. Most of
    Jmumby> the classes I have found have an all or nothing
    Jmumby> approach. i.e you can see the page or you can't. Anyone have
    Jmumby> any suggestions, or am I going to have to start from
    Jmumby> scratch?

Even in Drupal this would be custom code (except if it were a block)

In situations like this I usually opt for a link to the protected
content as that is cheaper for the client and usually good enough.

Or .htaccess if it's an all or nothing. Peudo-code:

   RewriteCond %{REMOTE_USER} !=""
   RewriteRule (.*) $1/protected [last]

Code might not be correct, but hopefully you get the drift: if user is
logged in via HTTP authentication, redirect to the protected page.

-- 
Cheers,

Berend de Boer

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to