Post Pay Counter

The best way to pay authors on WordPress

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

Issue with payment history

by

› Forums › Author Basic Payment › Issue with payment history

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 3 replies, 2 voices, and was last updated 6 years ago by Stefano.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 27, 2019 at 12:26 pm #64736
    UD
    Guest

    Hello,

    I’m using Post Pay Counter Pro and Request Payment with SlimStats and WP User Frontend. To input the stats in a custom tab on the front end, this is the code I use in earnings.php:

    echo do_shortcode('[ppc author="current" display_timerange_choices=0 exclude="post_id, post_type, post_publication_date, post_status"]');
    echo do_shortcode('[ppc_user_paypal_email_settings]');
    echo do_shortcode([ppc_author_payment_history]);

    [ppc author="current" display_timerange_choices=0 exclude="post_id, post_type, post_publication_date, post_status"] – with this shortcode I’m able to exclude the options I want, but I can’t get it to show the post_images.

    [ppc_author_payment_history] – Shows up as array on the page and I’m not sure if I’m missing something.

    I was also wondering if I can change the titles “Visits”, “Total Pay” and “Due Pay” to something else?

    Thanks and I hope this made sense!

    April 28, 2019 at 9:47 am #64778
    Stefano
    Keymaster

    Hi there,
    for the payment history shortcode, I realize it may be a naive question, but in the code you posted you are missing quotes in the do_shortcode() call. Can you confirm this is not the case for real? 🙂

    For the post_images column not showing, can you confirm that the Images payment criteria is active in the plugin settings (and even for the particular author in question, should they have personalized settings)?

    I was also wondering if I can change the titles “Visits”, “Total Pay” and “Due Pay” to something else?

    There are two filters that you may want to hook up to: ppc_author_stats_format_stats_after_cols_default and ppc_general_stats_format_stats_after_cols_default (located in PPC_generate_stats::format_stats_for_output(), in classes/ppc_generate_stats_class.php, for reference). These should allow you to tweak all columns – as long as you leave the array indexes unchanged, you should be able to change the column labels without creating any issues. They apply, respectively, to the general stats page (i.e. all authors shown) and to the author stats pages (i.e. one specific author, all their posts) 🙂

    Hope this helps!
    Have a nice day,
    Stefano

    April 29, 2019 at 6:38 pm #64817
    UD
    Guest

    Thank you Stefano! That worked like a charm! And adding the quotation marks fixed the issue!

    April 29, 2019 at 10:52 pm #64829
    Stefano
    Keymaster

    Super glad to hear that! 🙂

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Issue with payment history’ 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