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: [Solved]: Identify usertype in anycontent.php  (Read 3077 times)

0 Members and 1 Guest are viewing this topic.

JMG

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 8
[Solved]: Identify usertype in anycontent.php
« on: June 11, 2004, 08:14:44 pm »

How do I find out if a user is registered (in anycontent.php)? Is there variable I could check to identify usertype?

Regards

JMG
« Last Edit: June 14, 2004, 07:30:12 pm by GauGau »
Logged

JMG

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 8
Re: Identify usertype in anycontent.php
« Reply #1 on: June 12, 2004, 01:14:44 pm »

I found it:  USER_ID

      if (!USER_ID) {
           echo "You're not registered. Register!";
       }


/JMG
« Last Edit: June 12, 2004, 02:46:21 pm by JMG »
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 20 queries.