Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor Ben

    (@bforchhammer)

    Hm, that’s not possible at the moment, but it could be implemented of course…

    As far as I know WordPress does not keep track of the most recent post for each user, which probably means that we need a custom sql query (and a new sorting option of course)… Shouldn’t be too difficult, I can give it a try some time next week.

    Thread Starter wadams92101

    (@wadams92101)

    That would be awsome, Ben. I have to keep my authors motivated1 ??

    Plugin Contributor Ben

    (@bforchhammer)

    Done, please download the development version and try the “recent activity” sort option in the widget/shortcode.

    [360780]

    Thread Starter wadams92101

    (@wadams92101)

    Fantastic!! Thanks Ben. I clicked on the link and it took me to Changeset 360780. I saw two php files for download:
    AuthorAvatarsForm.class.php (1 diff)
    UserList.class.php (2 diffs)

    Do I just replace my existing php files of the same name under /lib? I know its probably obvious but I just wanted to make sure.

    Thread Starter wadams92101

    (@wadams92101)

    Update: I downloaded the files per previous post and configured the widget settings to “Recent Activity.” It sorted the avatars differently but I’m not sure that it exactly correlated to recent activity for all authors. For example, my two most recent authors were at the bottom, but the third most recent author was somewhere in the middle of the sorting order. Moreover, changing sorting direction had no effect.

    Plugin Contributor Ben

    (@bforchhammer)

    Sorry, what I meant was that you can also download the development version from this page. Replacing the files should’ve worked as well though.

    How do you define the “recentness” of your authors? At the moment it compares the date of the most recently published content for each author (that includes posts, pages, but also custom content types I think). Could you provide a link to you blog so I can have a look myself?

    Plugin Contributor Ben

    (@bforchhammer)

    Changing the sort direction should have an effect; it does on my test blog anyway. If it doesn’t then please try downloading the whole thing again, maybe there is something missing.

    Thread Starter wadams92101

    (@wadams92101)

    Sorry it took a while to re-test it. I’ve been busy. Now that I downloaded the whole thing, it seems to work on my test site. What type of activity is counted as recent activity? I’m only interested in Post and comment activity. Is there a way to count posts at a greater weight than comments, e.g., 3 comments = 1 post, or a recent comment boosts you no higher than the 10th position? Also, a way to make my own avatar sticky/stay at the top would be great. I know I’m probably asking too much at this point, but I might consider paying for customization if its complicated.

    Thread Starter wadams92101

    (@wadams92101)

    Update: It worked on my test site but not my live site. I have a wp-cron problem there so I’m guessing that’s what’s causing it not to work on my live site.

    Plugin Contributor Ben

    (@bforchhammer)

    Not sure about the wp-cron problem (doesn’t sound like it’s related to this change?).

    The activity uses any “post” activity, i.e. whenever the user creates a new blog post or page, he/she jumps to the top of the list. Comments are not considered at the moment and it doesn’t do any weighting either of course.

    I could add recent comments into the mix but it would still just be a sorted by “recentness”; so whoeever posted the last comment/post would appear on top. For a “better” activity sort we’d need some kind of activity points system which factors in the time of a post/comment, activity type (post, comment, or something else) and possibly other factors like the custom weights you wanted; I can see how that would probably be quite useful but it’s not really in the scope for this plugin.

    Thread Starter wadams92101

    (@wadams92101)

    Thank you Ben. Its working great. Is there a way to make a designated Author (me) always remain at the top while the rest are sorted by activity?

    Not sure about the wp-cron problem (doesn’t sound like it’s related to this change?)

    – My cron problem has been a long standing issue unrelated to your plugin.

    Plugin Author Paul Bearne

    (@pbearne)

    Not with the plug-in as is but could put 2 widgets in and only show you on one and not show on the second.

    If you are up to editing themes you can call the plug0in via code so site together well.

    Paul

    Thread Starter wadams92101

    (@wadams92101)

    Hmmmm, maybe a brilliantly simple solution.

    Thread Starter wadams92101

    (@wadams92101)

    Ben, btw, I thought it was sorting by recent activity but it doesn’t seem to work on my multi-site network sites. Could you test it out on your site and see if its sorting for you by recent post activity?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Author Avatars List] Organize by date of Post/Article’ is closed to new replies.