how would we only allow a certain group to view a page? how would we only allow a certain group to view a page?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

how would we only allow a certain group to view a page?

Started by bit bit spears, May 25, 2004, 01:57:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bit bit spears

hey:)

how would we only allow a certain group to view a page?

lets say i want group "A" to be able to view all the images

but

i want group "B" only to view thumbnails

how would i go about getting this to work?



if (A){

} else {
{
    $redirect = $redirect . "you are not allowed to view this page.php";
   header("Location: $redirect");

    exit();

}}


something like this?

hyperion

DefenceTalk made a mod for this that is in the Mods forum.  Look for something like 'Only Registered users can view images.'
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)