Forum Replies Created
-
AuthorPosts
-
marcos
KeymasterAfter this last update of the plugin, the analitics become work 🙂
marcos
KeymasterThis is realy necessary? I´ve pasted several informations….
Stefano
KeymasterNo problem, glad you managed to fix 🙂
Nitin
KeymasterHi Stefano,
I checked, pay post counter is conflicting with this plugin
https://wordpress.org/plugins/wp-exclude-from-homepage/I have deactivated it for now, hope to find an alternative soon.
Sorry for all the inconvenience caused.
Regards
Nitin GStefano
KeymasterCould I ask you a temp admin account in your site? That’s the quickest and easiest way for me to fix your issue, as it has never been reported yet and I can’t exactly pinpoint the problem…
marcos
KeymasterI´ve tried to update now, and doens´t worket. Visits still 0.
I´ve installed yesteday, and since never worked. Just installed and don´t work.Nitin
KeymasterNo Caching for pages.
The problem that is facing is like this:
For Allowed user roles Contributor is Unchecked (not included) and Author is Checked (included)
Now if a User (Contributor) submits a post, nothing is payed to him.
If I change the user role who has submitted the post from Contributor to Author, then his details show under stats in the WP Admin area.
But it does not show on the Frontpage (where there is a shortcode).Now vice versa
If a User (Author) submits a post, his earning (pay) details show under the stats in the WP Admin area.
Now if I change the user role for that user to Contributor, his earning details do not show under stats WP Admin area, but still show on the Frontpage (where there is a shortcode).Hope I am not confusing you, do check and see if you are able to reproduce this issue.
Regards
Nitin GStefano
KeymasterHi Marcos,
have you tried to update Analytics data through the apt manual feature (Google Analytics Status > Update data)? What steps have you followed that caused the issue?Have a nice day,
StefanoStefano
KeymasterHi Marcos,
I checked: the currency code is BRL, so yes it’s Brazilian Real 🙂
Thanks for pointing out, I’ll change it in the next release.Have a nice day,
StefanoStefano
KeymasterNo front-end server caching or something alike?
marcos
KeymasterIn the system information appear this:
### Begin System Info ##### Please include this information when posting support requests ##
Multisite: No
SITE_URL: http://www.psiconlinews.com
HOME_URL: http://www.psiconlinews.comPPC Version: 2.502
WordPress Version: 4.2.2PHP Version: 5.6.8
MySQL Version: <br />
<b>Warning</b>: mysql_get_server_info(): Access denied for user ”@’localhost’ (using password: NO) in <b>/srv/users/serverpilot/apps/wordpress/public/wp-content/plugins/post-pay-counter/classes/ppc_system_info_class.php</b> on line <b>53</b><br />
<br />
<b>Warning</b>: mysql_get_server_info(): A link to the server could not be established in <b>/srv/users/serverpilot/apps/wordpress/public/wp-content/plugins/post-pay-counter/classes/ppc_system_info_class.php</b> on line <b>53</b><br />Web Server Info: Apache/2.4.12 (Unix) OpenSSL/1.0.1f
PHP Safe Mode: No
PHP Memory Limit: 256M
PHP Time Limit: 30WP_DEBUG: Disabled
WP Table Prefix: Length: 3 Status: Acceptable
WP Remote Post: wp_remote_post() does not work
DISPLAY ERRORS: On (1)
FSOCKOPEN: Your server supports fsockopen.
cURL: Your server supports cURL.ACTIVE PLUGINS:
bbPress: 2.5.7
Contact Form 7: 4.1.2
Envato WordPress Toolkit: 1.7.2
Facebook Comments Plugin: 2.3.1
LayerSlider WP: 5.3.2
Post Pay Counter: 2.502
Post Pay Counter PRO: 1.5.7.7
Revolution Slider: 4.6.9
WordPress SEO: 2.1.1
WPBakery Visual Composer: 4.4.4
WPtouch Mobile Plugin: 3.7.8## PRO INFO ##
PPCP Version: 1.5.7.7
IS PRO: 1ANALYTICS CONSTRUCT: CORRECT
ANALYTICS TOKEN: CORRECT
ANALYTICS PROFILE: CORRECT
ANALYTICS CRON: NOT WORKING
ANALYTICS FIRST REQUEST TIME:
ANALYTICS LAST REQUEST TIME:
ANALYTICS PENDING ROWS: 0
ANALYTICS TEMP FILES: array (
)### End System Info ###
marcos
KeymasterI´ve tried to change the define(‘PPCP_ANALYTICS_DEBUG’, false);
for define(‘PPCP_ANALYTICS_DEBUG’, true);
but still don´t workedmarcos
KeymasterI´ve revoket and tryed again. Doesn´t work again, and appear it in the log error:
2015-05-15 03:05:52
An error was thrown with code “ga_get_data_error”, message “Error: 400: Error calling GET https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A90152735&start-date=&end-date=2015-05-15&metrics=ga%3AuniquePageviews&max-results=9999&dimensions=ga%3ApagePath&filters=ga%3ApagePath%21%40%2F404.html%3Bga%3ApagePath%21%40%2Fsearch%2F&start-index=1: (400) Invalid value ”. Values must match the following regular expression: ‘[0-9]{4}-[0-9]{2}-[0-9]{2}|today|yesterday|[0-9]+(daysAgo)'” and debug data “array (
‘profile’ => ‘90152735’,
‘start_time’ => false,
‘end_time’ => ‘2015-05-15’,
‘metrics’ => ‘ga:uniquePageviews’,
‘optional_params’ =>
array (
‘max-results’ => 9999,
‘dimensions’ => ‘ga:pagePath’,
‘filters’ => ‘ga:pagePath!@/404.html;ga:pagePath!@/search/’,
‘start-index’ => 1,
),
‘last_request_update_status’ => NULL,
)”.Nitin
Keymasterppc
Stefano
KeymasterHi Nitin,
What short code are you using?Nitin
KeymasterOkay, some more details:
I am not paying contributor and only paying authors.
If a user (contributor) submits a post, he is not included in the stats, but if I change his user group from contributor to author (after making a post), he details are updated in the pay post counts stats (admin area) but are not showing on the frontpage.I will wait for a few more hours to check if there is any cron that updates the user group after some time.
Else I think you need to check if there is any such issue.
Regards
Nitin GStefano
KeymasterHi Ben,
yes sorry, my mistake. Version 2.502 fixes the issue, just updated and visits will show up again.Have a nice day,
StefanoStefano
KeymasterSe hai bisogno di sapere quanto un utente è già stato pagato, puoi usare i metodi della classe PPCP_payment_history, molto più recente e ben strutturata. In particolare, prova a usare il metodo get_author_payment_history, vedi se ti aiuta 🙂
Pippo
KeymasterCertamente, grazie del supporto.
Sto creando una dashboard utente personalizzata e necessito del codice php per ottenere i seguenti valori per utente:
Total payment ($a) ( che sarebbe il valore di quanti soldi ha generato un utente con i suoi articoli)
Due Pay($b) ( che sarebbe il valore di quanti soldi un account deve ancora ricevere )
———-
Avendo questi due valori posso ottenere quanto un utente ha ricevuto facendo semplicemente $a – $b.
Come possiamo fare?
Stefano
KeymasterSe ti serve nel frontend la cosa cosa migliore è usare lo shortcode escludendo tutte le altre colonne, altrimenti diventa un po’ complesso, non direi ci siano metodi immediati per il reperimento di quei dati… Puoi specificare un po meglio le specifiche?
-
AuthorPosts