gab.ro
Forum Replies Created
-
Forum: Plugins
In reply to: [Nano Plugin Manager] [Plugin: Nano Plugin Manager] Cant Edit or UseI’ve retested on a fresh install. Apparently I’m unable to replicate your error. It’s all working fine for me (this last test was on a very average and normal web server).
But I just saw you said you’re using WordPress 3.2.1. I’ve never tested it on that version. You’ll see on the plugin page that it requires WordPress version 3.3 or higher. Perhaps you can try and update to the latest version. Maybe that’s the problem.
As I said in my first reply, some more info about your situation would be helpful in determining why this is not working for you. It could be anything, ranging from a badly configured Internet connection to some really exotic web server settings.
Forum: Plugins
In reply to: [Nano Plugin Manager] [Plugin: Nano Plugin Manager] Cant Edit or UseAlso, are you sure your browser, Internet connection and hosting server are configured and working properly? Do you experience similar errors in other situations?
Forum: Plugins
In reply to: [Nano Plugin Manager] [Plugin: Nano Plugin Manager] Cant Edit or UseIs everything else working fine? Try deactivating all other plugins and using the twentyeleven theme.
I’ve tested it on several wordpress installs, and never got such an error.
Perhaps some more info about your setup could be useful.
I just did:
remove_filter('logout_url', 'bbp_logout_url', 2);
Yes, I have also experienced this problem.
Finally figured out how to sort by custom fields: see here.
Forum: Fixing WordPress
In reply to: Possible bug in user count, WordPress AdminThe user count you mention uses a function called
count_users
, located inwp-includes/user.php
.If you take a look at the function’s code, you’ll see some comments there. It says that the function:
* Assumes there are neither duplicated nor orphaned capabilities meta_values.
* Assumes role names are unique phrases.I would bet that one or more of the mentioned assumptions were not met in you case.
I also experienced this issue and found it to be caused by the fact that I deleted some users directly from the database, omitting to also delete their meta_values. Orphaned meta_values it’s called, apparently.
You’re welcome!
Hello Jordan. Thanks.
Yes, there is an easy way to do that.
Use RAND() in the Sort type field.
Forum: Fixing WordPress
In reply to: Sorting by custom fields with the posts_orderby filterThanks again!
Forum: Fixing WordPress
In reply to: Sorting by custom fields with the posts_orderby filterWow! I can’t believe I didn’t know about the
posts_join
filter. Thanks!Great! Don’t worry. All is OK when all is working OK ??
Hey!
I’m having great difficulty replicating your warning. Can you please tell me what version of the plugin you are using?
Also, it would be useful to know what settings you have for your widget. Especially for the “Display name” and “Sort type” fields.
Thanks,
GabI remember I looked at it’s code a while ago, and much of the SQL seemed gibberish to me. I’m not that much of an SQL expert.
Anyhow, if sorting by custom field is possible with the posts_orderby filter, all there would be to it, would be some SQL vodoo in the “Sort type” field, so there are no actual code improvements that I can do.
All we need is an SQL expert to come and tell us what to write there. I’m guessing that joining some tables might be necessary…