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: Different pic info if the user has logged  (Read 1892 times)

0 Members and 1 Guest are viewing this topic.

klingsor

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Different pic info if the user has logged
« on: July 14, 2005, 07:11:16 pm »

Hi people,

I would like to know what should be done to put an extra row in the pic info, depending on if the user has logged or not.

I have been trying to do a sort of hacking my theme.php:

Code: [Select]
if (USER_ID)
{$template_display_picture = <<<EOT
XXXXXXX
EOT;}
else
{
$template_display_picture = <<<EOT
YYYYYYYYY
EOT;
}

But it doesn't work.
Do you guys think that is better to do the change in displayimage.php?
If the answer is yes where should it be located?
Thanks in advance

Klingsor
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 20 queries.