Ja4ed
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Intranet Directory] Out of Office widget – expiryYes, using version 3.1. I tested the current_time() function and it returns the correct date/time.
I think that section of code is working correctly as written. Because when I look at the MySQL wp_usermeta table, the si_office_status key has the correct true/false value both before and after the expiry time.
But, it appears that the widget doesn’t read that key (and subsequently display the correct out of office status) until I press the Update Profile button in the WordPress user profile.
The ‘out of the office WIDGET’ section of code may be where the problem lies. How often is that section of code run? It doesn’t look as if it’s on a schedule like the hourly check.
Forum: Plugins
In reply to: [Simple Intranet Directory] Out of Office widget – expiryStill not working. I wonder if one of my other plugins is causing an issue with the timezone. I’m using CalPress Calendar and it forces me to use the Chicago timezone instead of UTC-5. Could that be causing a problem?
Forum: Plugins
In reply to: [Simple Intranet Directory] Out of Office widget – expiryAfter installing version 2.8 (actually installed version 2.8 and then 2.9), I tested this the past two days and the problem persists
Forum: Plugins
In reply to: [Simple Intranet Directory] Out of Office widget – expiryUsing PHP 5.3.4
Forum: Plugins
In reply to: [Simple Intranet Directory] Out of Office widget – expiryForgot to mention that I have uncommented all the timezone options, but that made no difference. Thanks.
Forum: Plugins
In reply to: [Simple Intranet Directory] Out of Office widget – expiryI know it’s been awhile, but I’ve been working with this and I think I know what’s going on.
If I set a user as out of office and set the expire date in the future, the user appears in the out of office widget correctly. If I then change the expire date to today and update the user, the user no longer appears in the out of office widget. This is correct.
But, if I set a user as out of office, set the expire date in the future, and do nothing, the user appears in the out of office widget even after the expire date. After the expire date, if I click the Update User button for this user, the user no longer appears in the out of office widget.
It seems like the widget is not checking the out of office setting automatically. Only when the user is updated.
Forum: Plugins
In reply to: [Simple Intranet Directory] Sort by Last NameThat’s awesome! Thanks a lot!