Restrict Orca from visitors?

LHAdmin posted 15th of May 2008 in Community Voice. 4 comments.
I want visitors to see all menu items, but visitors can't get to the content.  To do this, I added this check loggin code to all pages.  Orca is different.  I don't know how to do the same for Ocra/forums.  Any advice?

if ( !( $logged['admin'] = member_auth( 1, false ) ) )
    if ( !( $logged['member'] = member_auth( 0, true ) ) )
        if ( !( $logged['aff'] = member_auth( 2, false )) )
            $logged['moderator'] = member_auth( 3, false );
 
Comments
·Oldest
·Top
Please login to post a comment.
dpenner
LHAdmin,
I don't have the answers to your question but looks like you have the answers to mine.

Where exactly did you put the code you have listed? I want to let people see the home page items such as videos, photo gallery etc. but when they click on it, i want them to have to sign up.
LHAdmin
Insert these four line after check_logged(); in each php. For example, after row 34 in blogs.php.

Send me a message when you figure it out for Orca / Forums
dpenner
Thanks for the info. Now all of a sudden the guy i am building this for doesn't want to have a community site! WTF! What a pain in the rear! Now I have to start all over. Thanks for your response.
rogerbr9999
I need this too - I put downloads in topics of groups but not want guest can read this topics ...

>>>
Orca is different. I don't know how to do the same for Ocra/forums. Any advice?
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.12866997718811