Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Permission To Download  (Read 3054 times)

0 Members and 1 Guest are viewing this topic.

liddo

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Permission To Download
« 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
Logged

skybax

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 180
    • SKYBAX Communications
Re: Permission To Download
« Reply #1 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)
Logged
(http://www.skybax.com/hotImage/post_footer.gif)
Don't contact me for support over PM or email unless I requested you to do so. Instead: post on the proper board.
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.