lgpref
Forum Replies Created
-
Thank you for confirming the source of the tables. (the only way i could figure it out myself would to reinstall, which seemed less than productive in my current situation ?? Consider closed, unless the EM support folks have anything to add?
Call it closed.
@wpsolutions: We updated to the most recent version (4.2.9), and glad to report that IP blocking/reporting is working just great. Thanks SO MUCH for being responsive and considering changes. Much appreciated – awesome work. Best wishes!
@wpsolutions: I tried what you suggested, by looking to edit the order of the “get_user_ip_address” function. I put remote_addr ahead of _http_x_forwarded_for in the order, and the IPs worked correctly (I was able to log in, and AIOWP posted the correct IP address for my User Login log entry, matching what Simple History shows.)
If I wait for an hour or so, i should see another bot failed login on this site which might give us more data to see if that traffic handled correctly as well.
Do you have advice about whether this is a stable hack? Thanks for your advice.
— UPDATED 5:10pm pdt —- IP logging is working correctly for bot logins as well. Look forward to your advice on this subject. Thanks much!
- This reply was modified 7 years, 7 months ago by lgpref. Reason: added update
Hi @wpsolutions – I heard back from our hosting service. This is what they say… I wonder what they mean by “dual proxy” arrangement? I find it surprising that your well-regarded plugin can’t work with Bluehost OWPH service, since it seems like that someone else would have mentioned it before.
“Looking into this it appears that the reason why the plugin is only picking up the servers IP is because of the proxied webserver setup unique to our OWHP platform, while I apologize for any inconvenience this may cause, this is not something that can be changed by the package. If you wish to view your traffic statistics you should be able to see them by using awstats in your cpanel. Alternatively you could contact the developer of that plugin to see if there is anyway to configure it to work with a dual webserver proxy setup. “
- This reply was modified 7 years, 7 months ago by lgpref.
Spoke with hosting service. Varnish service is available. They are checking other issues and referring to this thread for details on IP issue. Thanks for any comment you may have.
FYI” Regarding proxy servers: Our main editing IP is within a proxy environment, which was working just fine until Thursday night. And, anywhere else I log in from regardless of IP set up gets redirected to the server IP. FWIW.
Hi there – thanks for looking at this issue.
If I was to modify the “get_user_ip_address” function, where would I do that? I’m a bit of a newbie on hacking things like wp-config and the like. Is it code in the .htaccess put there by the plugin? And, if you’re thinking about updating the plugin with changing the address, would you be doing that soonish (she asks plaintively)?The thing that gets me about this is that no matter what IP address I log into WP Admin from, AIOWP Sec lets me in, but then logs me as coming from the server IP, which is blocked due to bot activity, because all login attempts are being logged by AIOWP as from the server IP. It’s like any logins to WP-ADMIN are all from the server IP. Once I log out, I can’t log back in again, because the server IP address has supplanted my actual IP in the lockdown table. If I use the Unlock Request function, it tells me that my IP address is not in the Locked Out table and can’t help me. Very frustrating. The only way to really edit the site is to log in, make the change, log out, log into cPanel, clear the entire Lockdown log (to get rid of the server IP without blocking bot traffic), and start over. (Not user-friendly, especially when I have at least 10 editors to accomodate.)
Our server still seems to have its Varnish function offline. We use WPRocket for cache management, which automatically hits the Varnish service. I don’t know if this is a server-side issue related to this ongoing server service issue at Bluehost. Still trying to get answers from them (eating up my day as I type this….)
so, I’m willing try anything today. Thanks.
What AIOWP says in a login lockout log:
user: abcd ip address: thi.sis.our.ser.verWhat Simple History plugin says happened is:
_server_http_x_forwarded_for_0 = thi.sis.our.ser.ver
_server_http_referer = https://our.website.com/wp-login.php
_server_remote_addr = our.rea.ldd.ressWhat kind of server problem at the host could cause this?
The specific piece of code we added to wp-config.php back 2 years ago is this:
/** INSERTED Sept 2015 per James at Bluehost – Forwards Visitors’ True IP address to WordPress on Optimized Hosting for WordPress */
if($_SERVER[‘HTTP_X_REAL_IP’]){
$_SERVER[‘REMOTE_ADDR’] = $_SERVER[‘HTTP_X_REAL_IP’];
}Um, yah. Interesting times. Any thoughts about what is going on? FYI: Bluehost has blocked access to the Varnish function for our storage and server, saying it’s offline. Could it be something with the server issue we’re having? Should I be looking to delete this hack of code from because perhaps it’s not necessary anymore? (who knows what’s going on in behind the curtain at Bluehost with our OWPH servers).
- This reply was modified 7 years, 7 months ago by lgpref. Reason: correction
Dear @bsokic,
We have the opposite problem, but apparently related: After a number of recent updates to our site, AIOEventsCalendar works as usual in Agenda layout (clicking on the Plus sign expands the view to the full item), but in Month layout, the “ai1ec-popup-excerpt” field is empty except for the default […] text.
Site: https://library.cedarmill.org/events/ (Defaults to Month view)
What should we be looking for in the code/template base to regain the excerpt text in the popover/popup on the Month view?
Thanks for your advice.
- This reply was modified 8 years, 4 months ago by lgpref. Reason: changed "excerpt" to "Full item" for accuracy
Forum: Plugins
In reply to: [Featured Images in RSS for Mailchimp & More] Feedly doesn’t workDear @cathd80, you might be interested in this bug thread from TRAC, where there is a long discussion starting last December about the effects of 4.4 and later WP updates on RSS feeds and responsive images including use of the srcset and sizes attributes. @littler.chicken got into the conversation specifically to talk about Feedly. It may not solve any possible issues with Rob’s plugin at this point, but it might help point the way for options.
https://core.trac.www.ads-software.com/ticket/35043#comment:22 (where she talks about her plugin)
https://core.trac.www.ads-software.com/ticket/35043#comment:32 (code snippet from her plugin)Our site has been having issues with RSS feeds and MailChimp now for awhile. Looking forward to seeing new features that integrate with MailChimp — thanks Rob, for considering!
Hi Par — Thanks for the 2.10 update.
Currently, we no longer see “ai1ec_event” “updated” posts in Simple History, which helps keep the SH log useful. Interestingly, we do see now when old events are Deleted. That’s OK, since that happens only 4-8 a day. We’re glad that we can keep using Simple History. Thanks for your help!Thanks Par for looking at this.
I’ll explain a bit about how AIOEventsCalendar works below, but I think the key thing that you might consider for your plugin is an option to block logging of particular post types, perhaps a field that could receive any post type of title “x”, so you wouldn’t have to create one for every single plugin in the world. For instance, AIO Event Calendar iCal import items have a post type of “ai1ec_event”. If we could omit that from our Simple History feed manually (and then turn it off when we need to debug a AIOEventCalendar issue) that would be cool.AIO Events Calendar folks have posted a suggested fix for controlling the import, which would cut down the number of events (see explanation below) which we will try, and if it works, will mitigate part of the issue for us. AIOEvent (listed here: https://www.ads-software.com/support/topic/rss-feeds-happen-too-often-how-to-change-refresh-rate/#post-7723248).
For your questions about how AIO Event Calendar imports feeds, see these notes below.
Or, just refer to the example of a typical SimpleHistory log entry pasted below for their typical output (anonymized for WP forum). Thanks much for thinking about this – lgprefThe way the import works is that you have to:
1) sign up for an account on their time.ly web site (which certifies you to use their RSS feed server)
2) Set up the Import in the plugin. After it validates, it takes 1-6 hours for the feed to actually populate. (So, <twiddling of thumbs> ensues.)
3) When your feed is active, the server handles all of the importing, and the default refresh rate is every hour, reimporting every event anew each hour. This is not controllable by the plugin user.
————————
Sample fields in a Simple History log entry for a AIOEventCalendar imported event custom postWordPress · 32 mins ago
Updated event “Sample event”
Context data
This is potentially useful meta data that a logger has saved.
Key
Value
id
xxxxx
logger
SimplePostLogger
level
info
date
2016-XXXXXXXXXX
message
Updated {post_type} “{post_title}”
initiator
wp
context_message_key
post_updated
post_id
XXXXX
post_type
ai1ec_event
post_title
Sample event
_message_key
post_updated
_wp_cron_running
true
_server_remote_addr
XXXXX
_server_http_x_forwarded_for_0
XXXXXXXX
_server_http_referer
wp-cronXXX?doing_wp_cron=xxxxxxxxxxxxxThanks Ben.
Hi Ben,
We emailed you folks, but never heard back directly.
I assume you are closing this thread?Currently, things are not incorrect on our site, but we
see some anomalies in events that start late in the day.
If an event starts at 3 pm PDT (Pacific Daylight Time), and goes to 5 pm PDT, it will display the date name twice in AIOEC as “September 8 3:00 pm – September 8 5:00 pm Americas_Los_Angeles”Despite the note on your Change Log page, the “Americas_Los_Angeles” time zone info is still showing.
To recap our settings:
— we import two feeds via iCal
— events are created and dated in the same time zone (Pacific_Los Angeles)
— in Settings > Display events in calendar time zone is turned ON
— in each Import Feeds > My Feeds > “Convert event’s date/time to calendar’s timezone” is OFFDo you have comments to add on this, or do you consider this “fixed”? It’s functional for us, but still funky. Thanks for looking.