ensonic
Forum Replies Created
-
Forum: Plugins
In reply to: [Sabre] [Plugin: Sabre] PHP Notice: Uninitialized string offset: xI believe spammers call plugins/sabre/sabre_captcha.php?sabre_id=xxx directly. The error can be provoked by calling the plugin with a too short sabre_id. Can this be made saver (using referer, checking that the id is correct)?
Forum: Plugins
In reply to: [Sabre] [Plugin: Sabre] PHP Notice: Uninitialized string offset: xHello, this is really a pain. I uninstalled and reinstalled the plugin, but this is happening still.
Forum: Hacks
In reply to: make extra columns in user.php sortableStill stuck with the same issue. I still wonder what actually gets sorted. Is WP calling add_custom_user_columns() for each column and sorting the returned values? Or is it doing a join in the database and sorting the meta-values as they are in the db?
Johnny, could you ev. update the plugin and offer a setting which hook to use (login vs. visit)?
Btw. There is also a “DRP WordPress User Management” plugin that covers simmilar functionality. Maybe they found a better solution for the “last login issue”.
Forum: Hacks
In reply to: make extra columns in user.php sortableI made a little more progress. The values for orderby are not related to the screen table, but to the database. Thus for “Registered” I have to use “user_registered”. This won’t work for “Lastlogin” as this is stored as user_meta. Any idea?
Forum: Hacks
In reply to: make extra columns in user.php sortableI learned that I should use ‘orderby’ => ‘meta_value’ as my columns contain strings. Unfortunately it still does not work as expected.
Forum: Plugins
In reply to: [Check Last Login] [Plugin: Check Last Login] Useful optionsAllowing to configure the date-time format would be sweet too. I changed the date format to “Y.m.d H:i” to make it easier to compare them. Wonder if there is a way to make the extra columns sortable. Then it would be easy to see old registrations.