› Forums › Post Pay Counter PRO › Support › Report Code And Authors Access
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.
Tagged: shortcode
- This topic has 8 replies, 2 voices, and was last updated 9 years, 8 months ago by Stefano.
-
AuthorPosts
-
January 9, 2015 at 9:25 am #32542Derek CollinsonKeymaster
Hi Stefano,
I’d appreciate it if you could give me the code to allow Authors to access all stats except exclude payments columns since I don’t pay them at the moment.
Also could you please explain how the authors get access to their reports.
I have created a report page called “Author Stats” but not sure what to do next to allow authors access.
Thank you.
Derek
January 9, 2015 at 10:08 am #32549StefanoKeymasterHi Derek,
the code you are looking for should be:[ppc author="current" exclude="post_total_payment, post_due_payment"]
You only need to paste that as content of the post, and link it to your users.
There’s a tutorial if you have any doubt about it anyway ๐
January 9, 2015 at 10:22 pm #32592Derek CollinsonKeymasterThanks Stefano.
How do I link it to the users. In other words exactly how will they access the page with the shortcode and how will that page know which author’s stats to fetch?
Also I’d like to get rid of the Total due payment too.
Also when I preview the Author Stats page I have created the column headings are all bunched up. Can you please explain how to make the columns wider?
You can see what I mean here http://howdoidate.com/authors-stats/
Thank you.
January 10, 2015 at 10:49 am #32645StefanoKeymasterThe link you posted here is exactly the one you should give your users:
http://howdoidate.com/authors-stats/When the page is opened, my plugin checks what user is looking at it and loads their own stats. Is the Due payment column still there with the shortcode I wrote above?
The matter of columns being all crammed up is quite normal, actually. That’s all up to your theme style: if you display stats in public pages, the stats table adjusts itself to your own public theme. My advice would be to hide some more columns, thus gaining space.
Still available for more info ๐
Have a nice day,
StefanoJanuary 10, 2015 at 12:15 pm #32649Derek CollinsonKeymasterHi Stefano,
I have tried using this code:
[ppc author="current" exclude="post_total_payment, post_due_payment, words, images, total_due_payment"]
but doesn’t work i.e.ords, images and total due payment are still shown.
How does the stats page know which author has loaded it?
Thank you.
Derek
January 10, 2015 at 7:55 pm #32669StefanoKeymasterOh, you mean the due payment at the bottom of the table? Yes, that’s not hidden as of now. Use the following code:
[ppc author="current" exclude="post_total_payment, post_due_payment, post_words, post_images" display_overall=0]
The due payment at the bottom will still be visible at the bottom, but will vanish as soon as the next update will be released.
The same way WordPress greets you by name in the upper-right of the admin section, my plugin knows what user is logged in ๐
Let me know!
January 16, 2015 at 8:03 pm #33026StefanoKeymasterOk, the shortcode I have you should be fully working with the newly-released version 1.5.7 ๐
January 17, 2015 at 5:51 pm #33100Derek CollinsonKeymasterHi Stefano,
You said the due payment at the bottom will still be visible at the bottom, but will vanish as soon as the next update will be released.
Well I can still see the due payment at the bottom with the new release.
What do you suggest to fix?
Also I’d like to be enable my authors to see the number of views per post for the current month to date, quarter to date and year to date – in fact ideally it would be best if they could select the time period themselves. Is this possible and if so what would the code be?
Thanks
Derek
January 18, 2015 at 9:59 am #33162StefanoKeymasterI’ve just tried using the very same shortcode I posted in the post before, and it works for me: no due payment anywhere.
[ppc author="current" exclude="post_total_payment, post_due_payment, post_words, post_images" display_overall=0]
Please make sure your shortcode is correct and that you’re running PRO version 1.5.7. If you still see it, could I have a temp admin account to inspect the issue myself?
As for letting users tweak the time range: the only way to do that is to grant them access to the admin stats page. The shortcode provides a static page.
Have a nice day,
Stefano -
AuthorPosts
- The topic ‘Report Code And Authors Access’ is closed to new replies.