• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Add the sender's IP address, user agent and OS

Add the sender's IP address, user agent and OS 13 years 3 months ago #2500

  • meek
  • meek's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
Hi.

First of all I want to say that RSform is one of the best components I have ever worked with in Joomla. Easy to set up and use.

However, I would like to collect a little information about the users who use the form, in particular their IP address, user agent (browser) and OS. How do I go about that? I know there are variables like this:
$_SERVER['REMOTE_ADDR'];
$_SERVER['HTTP_USER_AGENT'];
$_SERVER[\"HTTP_HOST\"];
but how can I use them?

Thanks.

- Meek.<br><br>Post edited by: meek, at: 2008/03/23 14:11
The administrator has disabled public write access.

Re:Add the sender's IP address, user agent and OS 13 years 2 months ago #2555

this would be useful to know too.
The administrator has disabled public write access.

Re:Add the sender's IP address, user agent and OS 12 years 8 months ago #5222

I need this feature also.
The administrator has disabled public write access.

Re:Add the sender's IP address, user agent and OS 12 years 8 months ago #5226

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 771
  • Thank you received: 104
Hello,

You can try by adding them as hidden fields. I'll use this one as an example, the other fields are done in the same way:

Name: Remote
Default Value:
//<code>
return $_SERVER['REMOTE_ADDR'];
//</code>

The value will now be accessible through {Remote:value}
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
Last Edit: 9 years 4 months ago by octavian.
The administrator has disabled public write access.

Re:Add the sender's IP address, user agent and OS 12 years 7 months ago #5325

  • Serr.biz
  • Serr.biz's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Doesn't work in my version. The default value is just showing the command info.
return $_SERVER;

Ideas anyone?
The administrator has disabled public write access.

Re:Add the sender's IP address, user agent and OS 12 years 7 months ago #5339

  • meek
  • meek's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
I can't seem to make it work either...
The administrator has disabled public write access.

Re:Add the sender's IP address, user agent and OS 12 years 7 months ago #5341

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 771
  • Thank you received: 104
This syntax is for RSform! Pro only.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Add the sender's IP address, user agent and OS 12 years 7 months ago #5354

  • meek
  • meek's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
So it's not possible to accomplish with RSform!Lite?
The administrator has disabled public write access.

Re:Add the sender's IP address, user agent and OS 12 years 7 months ago #5428

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 771
  • Thank you received: 104
Unfortunately, not that I'm aware of.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Add the sender's IP address, user agent and OS 10 years 4 months ago #12782

The IP Address is a "General Place Holder". There are several place holders for RS Joomla Forms. Add this to your Admin Email to see this info:
<p>IP Addr: {global:userip}</p>
<p>User: {global:username}</p>
<p>User ID: {global:userid}</p>
<p>User Email: {global:useremail}</p>
<p>Date: {global:date_added}</p>

Greg
All Call Technologies
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!