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: IP in comments  (Read 2549 times)

0 Members and 1 Guest are viewing this topic.

nako

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
IP in comments
« on: March 10, 2006, 02:17:30 pm »

Hello,
i upgraded my gallery from 1.3 to 1.4.x
I use my own theme and converted it, that works just fine. But  got 1 problem.
In comments i can't see user IP anymore, i see text there: ({HDR_IP} [{RAW_IP}])

Same text is in theme.php when i checked it, but earlier in 1.3 it was conveting fine.
And now not.

So, any solution?
Logged

Nibbler

  • Guest
Re: IP in comments
« Reply #1 on: March 10, 2006, 04:21:19 pm »

The template code in your theme.php should be using

Code: [Select]
<!-- BEGIN ipinfo -->
                                                                                 ({IP})
<!-- END ipinfo -->

instead of

Code: [Select]
<!-- BEGIN ipinfo -->

                                                                                 ({HDR_IP} [{RAW_IP}])

<!-- END ipinfo -->
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.