Support » Fixing WordPress » How to list Top Users by most topics?

  • I am using bbPress as a Forum. I want to list 5 Users by most created Topics. Is that Possible?

    I have searched for it but doesnt found such an Plugin anywhere.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    I don’t know of such a plugin, but it can be custom coded. The topic count by user is not anything that is readily available and determining it will be very resource intensive. An array of the results should be stored somewhere ( a transient for example ) so the results can be quickly output. Only run the calculation on occasion. Every hour perhaps. At most whenever a new topic is posted. A new topic action could simply update the array without running a full calculation. A full calculation could then be run less often, daily or something, to ensure the stored array remains accurate.

    A full calculation involves stepping through every single topic and keeping a running count of topics by each author.

    Be advised the save new topic action could fire more than once for a single save. The count update routine must account for this possibility. This is why a full validation calculation is advised on occasion.

    Can someone make such a Plugin? I would spend 5 Dolars 😊

    Is no one here who can make such a Plugin 😐

    Moderator bcworkz

    (@bcworkz)

    Can and will are two different things 😉 It’s rather involved. Please try https://jobs.wordpress.net/ or https://jetpack.pro/ and do not accept any hire offers posted to these forums.

    To help protect members from scammers, this topic has been closed per the Forum Guidelines

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to list Top Users by most topics?’ is closed to new replies.