Hi there,
I am trying to only allow my members to access the tabs for pages (such as Events, Classifieds, etc) so that it functions like the chat feature where the page prompts the user to log in or register before accessing the page. Is that possible?
I'm currently using 6.0.0005 so I would appreciate instructions for 6.0.0005 as well as 6.1.1 (which I plan to upgrade to within the next several weeks).
Thank you!!!
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 );
Works for all but Forums.
later,
DosDawg
Add this to each page after the check login line:
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 );
Works for all but Forums.
Work for 6.1.1. ?
Thanks
$logged['member'] = member_auth( 0 );
Some php files or somewhere in admin panel?
Plz, specify more clearly.
like articel.php, browemusic.php,event.php