PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

All users have the same IP address

s2Member Plugin. A Membership plugin for WordPress®.

All users have the same IP address

Postby bethperkins » August 23rd, 2011, 4:28 pm

Can someone tell me why all the my registered users have the same IP address? I looked it up and it is the IP Address of my hosting account (Network Solutions).

How do I change the system to record the IP address of my customer?

Thanks,

Beth
User avatar
bethperkins
Registered User
Registered User
 
Posts: 38
Joined: June 22, 2011

Re: All users have the same IP address

Postby Cristián Lávaque » August 23rd, 2011, 10:25 pm

Hi Beth. Thanks for reporting this, I'll email Jason about it.

In the meantime, could you please post a list of the plugins you have installed together with s2Member?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: All users have the same IP address

Postby bethperkins » August 24th, 2011, 1:30 pm

Thank you Cristian. These are my plugins: AddToAny, Akismet, All in One SEO, Contact Form 7, Customized recent comments, Dagon Sitemap, Generate post thumbnails, health check, PHP execution, quick cache, regenerate thumbnails, Shadowbox JS, Shortcodes Pro, Snapshot backup, WP Importer, WP cleanup, WP Show IDS
User avatar
bethperkins
Registered User
Registered User
 
Posts: 38
Joined: June 22, 2011

Re: All users have the same IP address

Postby Cristián Lávaque » August 25th, 2011, 1:57 am

Thank you! I'll wait for Jason now.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: All users have the same IP address

Postby bethperkins » August 26th, 2011, 12:23 pm

I'd appreciate any info on this because we are trying to confirm that our free trial users are not rebooking free trials - without a valid IP address this is tough
User avatar
bethperkins
Registered User
Registered User
 
Posts: 38
Joined: June 22, 2011

Re: All users have the same IP address

Postby Cristián Lávaque » August 27th, 2011, 1:08 am

Are you using the button's shortcode or full code? Could you post it here?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: All users have the same IP address

Postby bethperkins » August 27th, 2011, 9:22 am

Here is my code. Do I need to do anything special to get the IP address?

Code: Select all
[s2Member-Pro-AuthNet-Form level="1" ccaps="" desc=" " cc="USD" custom="www.action-intell.com" ta="0" tp="0" tt="D" ra="239" rp="1" rt="Y" rr="0" accept="visa,mastercard,amex,discover" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]
User avatar
bethperkins
Registered User
Registered User
 
Posts: 38
Joined: June 22, 2011

Re: All users have the same IP address

Postby Jason Caldwell » August 27th, 2011, 2:36 pm

Thanks for the heads up on this thread.

Beth, who is your hosting provider? s2Member and WordPress both pull the User's IP address from the environment variable provided by your hosting company: $_SERVER["REMOTE_ADDR"]. If this is being populated with the same value for every User, you might need to ask your hosting company what can be done to avoid and/or work around this.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: All users have the same IP address

Postby Cristián Lávaque » August 27th, 2011, 5:54 pm

Beth, I asked about the code for the button because s2Member started collecting IPs only recently and if you were using an older full code it may have been missing the lines that did it. But you're using the shortcode, so the updated s2Member will add the needed lines when it parses the code, so you're good there. You should check with your hosting company now, as Jason explained. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: All users have the same IP address

Postby bethperkins » September 1st, 2011, 10:52 am

I'm sure that this is the issue because Network Solutions is my hosting company. I'm moving the website in the next few weeks. In the meantime I heard that the client's address should be contained in $_SERVER["HTTP_X_FORWARDED_FOR"]. Would it be possible to retrieve this?
User avatar
bethperkins
Registered User
Registered User
 
Posts: 38
Joined: June 22, 2011

Re: All users have the same IP address

Postby Jason Caldwell » September 1st, 2011, 11:33 am

Hi Beth. Please see this post for an easy solution:
viewtopic.php?t=6380&p=14618#p14618
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron