Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Permission To Download  (Read 3438 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.014 seconds with 19 queries.