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™

Unique IP Restrictions Question

s2Member Plugin. A Membership plugin for WordPress®.

Unique IP Restrictions Question

Postby ChuckNorris » March 8th, 2011, 12:18 am

I have members that exceed the limit and are punished then email me to get their account working again.

I'd like to view the IP logs so I can lookup their IP's and see whether or not they're in the same geographical area. Obviously if the IP's are spread around the country or in different countries then I'll just block their account but I don't want to piss off customers on dial up or something.

Where can I find the "logs" that it says I can reset?

Thanks so much!
User avatar
ChuckNorris
Registered User
Registered User
 
Posts: 47
Joined: September 20, 2010

Re: Unique IP Restrictions Question

Postby Jason Caldwell » March 8th, 2011, 5:24 pm

With the free version of s2Member, you may have these log files; IF you've enabled Debugging/Logging for PayPal under: s2Member -> PayPal Options -> Account Details -> Logging.

Possible log file locations:
/wp-content/plugins/s2member-logs/paypal-ipn.log
/wp-content/plugins/s2member-logs/paypal-rtn.log
/wp-content/plugins/s2member-logs/paypal-api.log
* The /s2member-logs/ directory is only created when you enable logging.

With s2Member Pro installed, you may have several other log files, depending on the Payment Gateways that you've integrated. But in either case, they will all be inside the /s2member-logs/ directory.

All of this being said, s2Member's IP Restrictions are NOT stored in a log file. These are stored in a Transient database field internally so they can be referenced using relational database techniques. For a novice site owner, the only way to delete these is by using the tools provided by s2Member. You can either "Reset All IP Restrictions", or you can reset those for a particular account which is under a temporary ban.

To delete/reset ALL IP Restrictions, check your Dashboard under:
s2Member -> General Options -> Unique IP Restrictions -> [ press Reset button there ]

To delete/reset IP Restrictions for a specific account, find that User in your list of Users ( i.e. in your Dashboard ). Click the [Edit] link next to that User in the list. Toward the bottom of the editing panel for that account, you will find a checkbox making it possible to delete/reset any existing IP Restrictions associated with that User. s2Member will also provide a note here for you, indicating whether a temporary ban has been triggered for this account; or not. I'm attaching a screen shot for clarity.
delete-ip-restrictions.jpg




For experienced site owners. If you want to delete all IP Restrictions from the database yourself, you can search your `wp_options` table for `meta_key` values associated with Transients. All of s2Member's IP Restriction Transients start with '_transient_s2m_ipr_' and/or '_transient_timeout_s2m_ipr_'.
~ 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: Unique IP Restrictions Question

Postby ChuckNorris » March 22nd, 2011, 3:26 am

Thanks for the response.

It'd be nice to have easy accessible IP logs. When my customers complain about getting locked out of the site there's no way for me to verify whether or not they've been sharing their pass or not. I have no ip's to lookup and compare... :(
User avatar
ChuckNorris
Registered User
Registered User
 
Posts: 47
Joined: September 20, 2010

Re: Unique IP Restrictions Question

Postby Jason Caldwell » March 22nd, 2011, 12:58 pm

Thanks for the great suggestion.
~ I'll see what we can do about this in a future release. You're not the first to request 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: Unique IP Restrictions Question

Postby biornt » September 20th, 2011, 12:06 pm

Any update on this? I would like to see this feature too.

biorn
User avatar
biornt
Registered User
Registered User
 
Posts: 6
Joined: April 16, 2011

Re: Unique IP Restrictions Question

Postby ChuckNorris » October 16th, 2011, 6:55 pm

Yeah, it's getting to be a bit frustrating. I have at least 3 people on a daily basis being banned from IP restrictions. My only options are to either raise them, which I don't want to do because it defeats the purpose of having the system in the first place, or just reset them and tell them not to share their password, log in as much etc.

When I used WishList member they showed the IP addresses and I would be able to compare to the registration IP address to see if it's the same area so I can just unban them. It's annoying not being able to look up and have to casually accuse them of maybe password sharing. I think a simple log would be easy enough to make.
User avatar
ChuckNorris
Registered User
Registered User
 
Posts: 47
Joined: September 20, 2010

Re: Unique IP Restrictions Question

Postby Jason Caldwell » October 17th, 2011, 6:58 pm

Thanks for the feedback. I hear ya.
~ 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: Exabot [Bot], Yahoo [Bot] and 1 guest

cron