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: [Solved]: Identify usertype in anycontent.php  (Read 3599 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.015 seconds with 19 queries.