Forum Replies Created
-
AuthorPosts
-
Stefano
KeymasterI was not able to use the plugin editor: I can access it, but any attempt to change any file results in an immediate error and the edits are not saved.
However, I did manage to get somewhere. I am still unsure as to why the issue happens, I will dig more into it. There is a possible quick fix that you can put in place yourself while you wait for an official fix, and it is the following. In the role’s settings of the problematic users, for the visits payment, select I have my own visit counter (callback) and paste ppcp_get_analytics_post_visits in the field that comes up. I couldn’t test it with the user roles (as there are too many right now), but it did work when I did it for a specific user.
Please let me know if this fix works – I am a bit at a loss because I don’t seem able to replicate the issue on my installation.-
This reply was modified 3 years, 11 months ago by
Stefano.
Stefano
KeymasterCan you allow me into the Plugins editor? So I can change the plugin code and output some debugging information.
Stefano
KeymasterI understand, but what leads you to believe that it is the role settings that make the visit counting wrong?
Stefano
KeymasterI see. I disabled all payment criteria for the Beginner role, both to check that the settings were working and to take away some noise, so we can focus on the visits only. Does that user have different stats without the role settings? Would he have different visits numbers?
-
This reply was modified 3 years, 12 months ago by
Stefano.
Stefano
KeymasterI haven’t yet touched anything, but I do see visits for author 352, check out this link:
https://faharas.net/wp-admin/admin.php?page=ppc-stats&author=352&tstart=1582794170&tend=1639138037You are still not seeing anything?
Stefano
KeymasterWhat is the website address?
Stefano
KeymasterThat is very odd! I can look into it if you want.
Stefano
KeymasterCan you also show a screenshot of the detailed stats view for author ID 352?
December 8, 2021 at 3:42 am in reply to: pre-sale question Need different setting for every user #133063Stefano
KeymasterYou can try setting up the plugin yourself and ask for more specific help if you have issues ๐ If you just go through the Options page with some care, you will find everything is pretty well-documented.
To show stats in the frontend, we have an apt collection of shortcodes, here the tutorial
Display stats details in public pages with Post Pay Counter PRO shortcode
A nice day,
StefanoDecember 6, 2021 at 7:16 pm in reply to: pre-sale question Need different setting for every user #132688Stefano
KeymasterHello Awais,
Yes, even the free version alone allows to set different settings for each user ๐A nice day,
StefanoStefano
KeymasterHi there!
What are the settings for that user role?A nice day,
StefanoStefano
KeymasterAs I’ve said already, open a new ticket and we’ll help. Go here, scroll to the bottom, and open your own ticket – down write in other people’s tickets please ๐
Stefano
KeymasterGreat to hear! ๐
Stefano
KeymasterYet one more attempt:
function ppc_wpp_views( $post ) { if( function_exists( 'wpp_get_views' ) ) return wpp_get_views( $post->ID, 'all', false ); else return 0; }Stefano
KeymasterHi KP,
the problem is probably that their plugin returns views from the last day by default. Try updating the code this way:function ppc_wpp_views( $post ) { if( function_exists( 'wpp_get_views' ) ) return wpp_get_views( $post->ID, 'all' ); else return 0; }Let me know!
Stefano
KeymasterAs I said, what you set in the stats page does not matter.
Do like this:- go to Post Pay Counter > Options > Google Analytics Status and take a note of the visits time range displayed there
- go into your Analytics dashboard and set the same time range
- compare visits data by picking one post in the stats page and checking its visits amount in Analytics (make sure to include all possible sources, such as amp visits and fb shares, for example)
Stefano
KeymasterHi KP,
try to copy this code into your theme’s functions.php:function ppc_wpp_views( $post ) { if( function_exists( 'wpp_get_views' ) ) return wpp_get_views( $post->ID ); else return 0; }and then enter ppc_wpp_views as callback function into PPC’s visits counting.
Let me know if it works! ๐A nice day,
StefanoStefano
KeymasterHi Lex!
Great to hear you’re having a good time with the plugin!Is the date range you are looking at the same in Analytics and PPC? It can be slightly confusing, but the timerange for visits in not the one you pick in the stats page, but the one that is displayed in the Analytics Status box in the Options page ๐
A nice day,
StefanoStefano
KeymasterAs long as the post ID does not change (which does not, if the publishing date is updated), all the payment information still holds. Even if it shows up in the new month, its Due Payment will still account for what has already been paid for ๐
Stefano
KeymasterHi Christian,
posts that are marked as paid with PPC PRO will not be re-paid for the same criteria twice.
For example, suppose a post in January has 200 words. You mark it as paid, so that its due payment becomes 0. The author updates it in February, so that it has 250 words. The new due payment will only account for the new 50 words.Does this answer? ๐
A nice day,
Stefano -
This reply was modified 3 years, 11 months ago by
-
AuthorPosts