IP in comments IP in comments
 

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

Main Menu

IP in comments

Started by nako, March 10, 2006, 02:17:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nako

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?

Nibbler

The template code in your theme.php should be using


<!-- BEGIN ipinfo -->
                                                                                 ({IP})
<!-- END ipinfo -->


instead of


<!-- BEGIN ipinfo -->

                                                                                 ({HDR_IP} [{RAW_IP}])

<!-- END ipinfo -->