advantechmsp
Forum Replies Created
-
Forum: Plugins
In reply to: [Registration Options for BuddyPress] Wrong IP address detectedresolved
Forum: Plugins
In reply to: [Registration Options for BuddyPress] Wrong IP address detectedOk, no worries. The issues was a misconfigured nginx on the backend. Our host fixed it ??
Forum: Plugins
In reply to: [Registration Options for BuddyPress] Wrong IP address detectedHrm, still can’t get it to stick. other snippets work so not sure. Where in the plugin is the IP address called so I can attempt to edit it there (not a permanent solution but a good test).
If you want to take a look it is here: hellsbasement.info- This reply was modified 5 years, 2 months ago by advantechmsp.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] Wrong IP address detectedHrm, still the wrong IP address. I wonder if the snippet is running properly. I’ll keep whacking at it.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] Wrong IP address detectedThe use is simply to ban trolls. I’ll give it a shot in a minute.
How was CH. 2? Will be going to see it next week.
Forum: Plugins
In reply to: [Registration Options for BuddyPress] Wrong IP address detectedfunction advantechmsp_ip_address( $ip_address ) { update_user_meta( $user_id, '_bprwg_ip_address', apply_filters( '_bprwg_ip_address', $_SERVER['REMOTE_ADDR'] ) ); } add_filter( '_bprwg_ip_address', 'advantechmsp_ip_address' );
As a non-programmer i tend to just bash things together until it works ??
Forum: Plugins
In reply to: [Registration Options for BuddyPress] Wrong IP address detectedI am not sure how to use this. Tried it as a php snippet (basically a custom function.php) but it still returns the server’s address instead of my own.
I really do appreciate your help BTW ??
After a lot of digging and testing it looks like this is a caching issue. We use W3TC and the page cache section looks like is causing it to get “stuck”.
If anyone else has this issue so far setting “Late initialization” seems to fix it, so far.