forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: liddo on August 18, 2004, 11:08:05 am

Title: Permission To Download
Post by: liddo on August 18, 2004, 11:08:05 am
I used

http://forum.coppermine-gallery.net/index.php?topic=7535.0

Is there a way to make it so specific groups can see the "Click here to Download" link?

thanks
Title: Re: Permission To Download
Post by: skybax on August 23, 2004, 11:50:21 pm
This code block is to make sure the person is a registered user... but you could do make the if statement more advanced by searching only for certain group.

Code: [Select]
if (USER_ID){

  // add code for download link

} else {
// leave blank
}

-T  8)