View Single Post
Old March 4th, 2007, 12:36 PM   #1 (permalink)
coralnutz
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 18
$photopostfeature Not checking permissions?

I am using a block on vbportal page with the follwing code.

$pppath = "/path/to/my/gallery"; //no trailing slash
include "{$pppath}/inc_features.php";
echo "$photopostfeature";

Everything shows up fine and the pictures are there. However. I am having a photocontest were people upload their submission into a gallery that only mods and admins are suppose to be able to see. So I have the permissions on that category that registered users can upload but not view.

When a guest or regular registered user visits the gallery itself everthing works fine, they don't see that category or any pictures there. And if they click on a user link to view all of their pictures, it doesn't list the photos in the private category. So that all seems to work find.

But when guest or registered user visits the portal page, they are able to see these pictures along with teh names and all that. If I click on the thumbnail picture on the portal page i get a message that I don't have permissions to view.

Any ideas? If I need to post any more code let me know and I will.

Thanks in advance for the help.
coralnutz is offline   Reply With Quote