Molongui
Forum Replies Created
-
Hi @sashman13,
Please, try with this:
add_filter( 'molongui_authorship_dont_override_get_user_by', '__return_true' ); $user_url = get_the_author_meta( 'user_url', 12 ); remove_filter( 'molongui_authorship_dont_override_get_user_by', '__return_true' );As long as you provide the second optional parameter (
$user_id) to theget_the_author_meta function, this works. Please, let us know if it does for you.Hi @divano,
sure, feel free to open a support ticket at https://www.molongui.com/support. We will look into it and report here the fix.
It’s been a month since we’ve heard from you, so we wanted to reach out and let you know we are going to close this ticket now.
Please feel welcome to reopen it or open a new one if you need any further assistance.
Hi @jbouganim,
thanks for reporting this! We have identified and fixed the issue. We will release an update (4.0.11) later today.
Thanks again for reporting!
Hi @matthieulllrc,
we are not able to reproduce the issue about posts count (issue #1). Now we think that it might be related with the issue #2 you reported. Could that 24 count be the sum of posts and pages authored by that user? Or… you didn’t mention it specifically, but is yours a multi-language site? Might that 24 come from the sum of posts in several languages from that author?
You can update that count on a per user basis by assigning/removing an author to/from a post. On save, involved authors get their counters updated. Also, deactivating and re-activating the plugin should update all the counters for those post types where plugin functionality is enabled on – that is posts and pages with Molongui Authorship Free.
Happy you figured it out!
If anything, we are here to help 🙂
Hi @divano,
by “author’s link on posts” do you mean the byline (the post author name displayed, usually, under post’s title? Could you please provide a URL I can check so we can assist?
Hi @matthieulllrc,
thanks for such a detailed report! We’ll look into it.
We are going to check it again, but one explanation about “Entries” column not displaying the exact number of authored posts is because the plugin is updating that information as a background process. Can’t tell if that could be your case. It usually happens on sites with a large number of posts.
Thanks for confirming @cgscomputers! And thanks again for reporting!
Great, thanks for confirming!
Hi @xxxlesy,
thanks for your request! We didn’t answer you back but it didn’t mean we ignored you at all. As per your request, we have added a handy filter you can now use to provide those (custom) user roles you want to consider to retrieve users than can be assigned as post authors.
Filter name is
authorship/user/rolesand by default it takes an array likearray( 'administrator', 'editor', 'author', 'contributor' ). So now you can provide any custom array of your choice with theadd_filterfunction from your child theme. No worries about plugin updates overwriting your edits 🙂The filter is available since version 4.0.10.
For convenience, Pro version offers this as a settings option. So Pro users can easily select which (custom) user roles the plugin must take into account from their Dashboard.
Thanks for helping us improving the plugin!
Hi @cgscomputers,
we have just released the mentioned update. Hope you can let us know whether it fixes something on your end.
Hi @matthieulllrc,
we’ve just released the mentioned update. That should fix the issue you reported. Please let us know if it doesn’t so we can give it a second look. Thanks!
Hi @cgscomputers,
we have been able to reproduce and fix the issue affecting the ‘Discussion’ settings page.
However, we haven’t been able to reproduce the issue on comments section. Nonetheless, we have introduced some other fixes that might fix also this. Can’t tell for sure. We will release an update later today. Please update when available and let us know if you got it fixed. If you don’t, we will keep looking into it, don’t worry.
Hi @matthieulllrc,
We have identified the issue and fixed it. We will release an update later today.
I can confirm this bug was introduced in version 4.0.9