Post Pay Counter

The best way to pay authors on WordPress

  • Features
    • PRO version
  • Cart
    • Addons
  • Documentation
  • Support

Creating A Payment For Collaborators?

by

› Forums › Post Pay Counter PRO › Support › Creating A Payment For Collaborators?

We are based in Europe with a GMT+1/GMT+2 time zone - support replies may be delayed due to time zone differences with your country.

  • This topic has 1 reply, 1 voice, and was last updated 5 years, 1 month ago by Stefano.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 9, 2020 at 6:34 pm #71717
    Ferrett Steinmetz
    Guest

    Our site often has articles written by two or more authors, which we assign via a taxonomy – so every post has an author, and zero or more collaborators (which are tied to an author ID).

    What we’d like to do would be to add a new payment type of “collaborator,” which would pay those collaborating authors for any posts on which they were listed as a collaborator. But though I can use the ppc_get_requested_posts_args filter to search for both authors and collaborators, it looks like the central loop in PPC_generate_stats::group_stats_by_author() functions purely off the post’s author ID. So when we loop through the collaborated posts on the author page, it still strips any posts that were that author in a collaborative role.

    Is there a way to add a payment type that splits payments among multiple authors?

    April 10, 2020 at 10:01 pm #71739
    Stefano
    Keymaster

    Hi Ferrett,
    paying non authors is not so easy. Quite honestly, it does require some hacking of the internals of the plugin, as it was originally conceived to pay authors for posts they are author of.

    That being said, we have the addon Referral Visits, which pays users for visits they bring to other people’s articles, which I guess is somewhat close to what you’d want. It works by creating a new payment criteria tied to authors, rather than posts. A good idea, maybe, would be to purchase that and use it as a starting basis for whatever implementation you’d like to build?

    Have a nice day,
    Stefano

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Creating A Payment For Collaborators?’ is closed to new replies.

Your cart

Number of items in cart: 0

  • Your cart is empty.
  • Total: €0.00
  • Checkout

What are you looking for?

BEFORE POSTING

Before posting, please please please do have a look at our Documentation section. Your problem may be addressed there, allowing you to solve it without help from us :)

Copyright © 2025 · Centric Theme on Genesis Framework · WordPress · Log in