Homepage Gallery Views set to Members only

I have gallery for photos and vids on Homepage...visible as smaller images. But anyone, even non-members can click on them and watch them. I want to let them be teased by the images on the home page but when they click to watch them from there they will be given the ACCESS DENIED message and have to sign up.

-

I have tried to change the Navigation Menu to Members only...but that only makes the menu tab disappear.

-

Thoughts please....

-

Thanks.

~~L

Quote · 7 Aug 2009

I have it so that Visitors cannot open the tabs at the top....but they can still click on the Homepage Gallery images or Vids and away they go.....still need a solution.

-

Here is the code I used to:

-

Limit access to Pages by non-members
-
Add to top of page under reference to CSS (see red text)
-
blogs.php
search.php
articles.php
browse.php
browseMusic.php
browsePhoto.php
browseVideo.php
classifieds.php
events.php
ads.php

-
Sample below:

$_page['css_name'] = $oNew->sCssName;

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 );

Quote · 7 Aug 2009

lrepton, thank you for this!

Quote · 8 Aug 2009

Yes but you can add this code:

$logged['member'] = member_auth( 0 );

after

check_logged();

in all of those files listed...

But still on the homepage...if you are showing teasers of the photo or video gallery....click on one of the images and it lets you view it.


Soooooooo, you have to add this code to:

viewVideo.php

viewPhoto.php

viewMusic.php

-

SOLVED EXCEPT FOR FEATURED MEMBERS.

-

I have added the code to browse.php and search.php.....NOW WHAT!?

Quote · 8 Aug 2009
 
 
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.