HomeUnityBlogs
 
 
LHAdmin

Restrict Orca from visitors?

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 );
bad
0
good
 
 

Comments

dpenner
dpenner 85 days agocomment permalink
 
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.
 
bad
0
good
 
 
LHAdmin
LHAdmin 85 days agocomment permalink
 
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
 
bad
0
good
 
View 1 replies to this comment
 
rogerbr9999
rogerbr9999 84 days agocomment permalink
 
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?
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
LHAdmin Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.425694227219