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: redirect un-registered users to login (bridged vb3)  (Read 2471 times)

0 Members and 1 Guest are viewing this topic.

m0nty

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
redirect un-registered users to login (bridged vb3)
« on: December 14, 2004, 12:37:53 pm »

hi, a client of mine asked me last night if it was possible to make her gallery viewable to members only, which i know is possible.

but she requires that people who aren't logged on to not be able to view the gallery at all, and would like them to be redirected to the login page.

i found this topic > http://forum.coppermine-gallery.net/index.php?topic=3503.20

but it's just for standalone version, and i'm wondering if this would still work with a CPG 1.3.2 bridged VB3 install, or would further hacking be needed?

i'm not at home for a couple days, so i can't access her server or my test server at home to be able to try it but i would like to know if the if (USER_ID) method will work the same.

regards

Vaughan
Logged

Nibbler

  • Guest
Re: redirect un-registered users to login (bridged vb3)
« Reply #1 on: December 14, 2004, 02:32:44 pm »

It'll work. The bridge files still set the standard constants like USER_ID and USER_NAME.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.