Fetch User IP Address - Feedback Form

Author Message

John Smith

Thursday 05 June 2008 9:23:16 am

Hi there,

Hope somebody can help me.

How to fetch user(senders) IP Address in feedback form.

Please help.

Cheers.

Ɓukasz Serwatka

Friday 06 June 2008 12:42:48 am

You might use this template operator:
http://ez.no/developer/contribs/template_plugins/ezservervars

Be aware of caching issues ,etc.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Grenland Web (Jan Kudlicka)

Friday 06 June 2008 12:52:20 am

First, install the Swark extension ( http://ez.no/developer/contribs/template_plugins/swark for eZ Publish 3 or http://ez.no/developer/contribs/template_plugins/swark_for_ez_publish_4 for eZ Publish 4 ).

To get a "user IP address", use {server( 'remote_addr' )}.

The Swark extension offers much more functionality you might find interesting - have a look at the full documentation at http://www.seeds.no/doc/swark

Best regards,
--
Jan

Jan Kudlicka | System Developer @ Grenland Web | http://www.grenlandweb.no

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.