Post Pay Counter

The best way to pay authors on WordPress

  • Features
    • PRO version
  • Cart
    • Addons
  • Documentation
  • Support
You are here: Home

Stefano

  • Profile
  • Topics Started
  • Replies Created
  • Favorites

Forum Replies Created

Viewing 20 posts - 2,081 through 2,100 (of 3,037 total)
← 1 2 3 … 104 105 106 … 150 151 152 →
  • Author
    Posts
  • October 30, 2015 at 4:21 pm in reply to: Statistiche non visibili agli autori #48455
    Luca9213
    Keymaster

    Ogni autore può visualizzare le sue statistiche personali nella propria dashboard, da un po di tempo, invece gli autori non possono più accedere alle loro statistiche perché sul menu sinistro del pannello personale non esce più la voce “statistiche” che prima usciva. Premetto che non ho modificato nulla nelle impostazioni del plugin.

    October 30, 2015 at 8:05 am in reply to: Hooks & Api #48440
    Stefano
    Keymaster

    Ciao Fabrizio,
    purtroppo non c’è molto di scritto.

    Se hai bisogno di aggiungere un nuovo tipo di pagamento (oltre a parole, visite, ecc), questo è molto semplice tramite le funzioni del plugin. Puoi guardare questo articolo che spiega come fare.

    Al momento non c’è una lista di actions & filters disponibili, mi dispiace. Tuttavia il codice di entrambe le versioni (free e PRO) è piuttosto ben commentato. Se vuoi spiegarmi che cosa avevi intenzione di fare, posso almeno forse indirizzarti su quali classi aprire e guardare 🙂

    Buona giornata,
    Stefano

    October 29, 2015 at 6:40 am in reply to: Statistiche non visibili agli autori #48396
    Stefano
    Keymaster

    Ciao Luca,
    Qual è l’errore che viene mostrato?

    Buona giornata,
    Stefano

    October 28, 2015 at 5:14 am in reply to: Post Pay Counter Pro – Flushing Rewrite Rules #48356
    Serkan
    Keymaster

    Hi Stefano,

    Ok, I can confirm that commenting out those two lines $wp_rewrite->flush_rules(); lines did in fact resolve the issue. After activating Post Pay Counter and Post Pay Counter PRO, I went to the Rewrite Rules Inspector and saw that the rewrite rule for ppcp/paypal$ was red (because activating the plugin didn’t flush it anymore. So I flushed the rewrite rules and all is working peacefully now. I am not sure exactly which function it was (maybe both), but here are the two functions where I commented the lines out. Both located in post-pay-counter-pro/classes/ppcp_paypal_class.php…

    
    /**
         * Adds plugin's IPN rewrite rule (ppcp/paypal).
         *
         * @access  public
         * @since   1.3
         */
    	
    	 static function ipn_add_rewrite_rule() {
            global $wp_rewrite;
    		
            if( ! is_object( $wp_rewrite ) ) $wp_rewrite = new WP_Rewrite();
            
            //Add IPN listener rule if not there already
            $rules = $wp_rewrite->wp_rewrite_rules();
            if( ! isset( $rules['ppcp/paypal$'] ) ) {
                add_rewrite_rule( 'ppcp/paypal$', 'index.php?ppcp=paypal', 'top' );
                //$wp_rewrite->flush_rules();
            }
        }
        
        /**
         * Deletes plugin's IPN rewrite rule (ppcp/paypal).
         *
         * @access  public
         * @since   1.3.2
         */
    	
    	 static function ipn_delete_rewrite_rule() {
            global $wp_rewrite;
    		
            if( ! is_object( $wp_rewrite ) ) $wp_rewrite = new WP_Rewrite();
            
            //Delete IPN listener rule if there
            $rules = $wp_rewrite->wp_rewrite_rules();
            if( isset( $rules['ppcp/paypal$'] ) ) {
                unset( $rules['ppcp/paypal$'] );
                //$wp_rewrite->flush_rules();
            }
            
        }
    

    Not sure what’s going on in regards to when the flush_rules() is supposed to run but it’s definitely causing the conflict with rtMedia. Maybe something to do with priority??

    Anyway, let me know if theres anything else you want to know and also if you plan on changing this for future releases so I know what to do when I update Post Pay Counter PRO.

    Thanks
    Serkan

    October 27, 2015 at 8:50 pm in reply to: Post Pay Counter Pro – Flushing Rewrite Rules #48340
    Stefano
    Keymaster

    Hi Serkan,
    well, yes and no.

    WordPress advises not to flush rules on init (it’s a slow process and running it at each page load is not a good idea), but I don’t actually do that. That function runs on every page load, but it just checks whether PPC rewrite rules are correctly set up, and if yes it just doesn’t do anything. However, if it finds an issue, it does flush the rules, so maybe in this specific case where rules can’t be added, it keeps flushing them.

    Try to comment that line out, although I’m not at all sure this will fix it. Please do let me know!

    Have a nice day,
    Stefano

    October 27, 2015 at 4:07 pm in reply to: Post Pay Counter Pro – Flushing Rewrite Rules #48331
    Serkan
    Keymaster

    Hi Stefano,

    rtCamp has given me a response regarding this issue. Here it is…

    Hi Serkan,

    This is Ritesh from rtMedia team. I have checked Post Pay Counter Pro plugin’s code for rewrite rules in your site. First of all, it isn’t a proper way to add rewrite rules in WordPress.

    
    //In post-pay-counter-pro.php file
    add_action( 'init', array( 'PPCP_paypal_functions', 'ipn_add_rewrite_rule' ) );
    
    //In classes/PPCP_paypal_functions.php file
    static function ipn_add_rewrite_rule() {
        global $wp_rewrite;
    
        if( ! is_object( $wp_rewrite ) ) $wp_rewrite = new WP_Rewrite();
    
        //Add IPN listener rule if not there already
        $rules = $wp_rewrite->wp_rewrite_rules();
        if( ! isset( $rules['ppcp/paypal$'] ) ) {
            add_rewrite_rule( 'ppcp/paypal$', 'index.php?ppcp=paypal', 'top' );
            $wp_rewrite->flush_rules();
        }
    }
    

    If you are familiar with WordPress ecosystem, look at the above code. This ipn_add_rewrite_rule function is bind to WordPress’ init hook with default priority which will be called on every page request and that function contains this line $wp_rewrite->flush_rules() which flushes the rewrite rules. If you comment that line, it will work all fine without any issue. This can only be fixed in Post Pay Counter Pro plugin.

    In rtMedia, we too flush the rewrite rules but it’s only happen on new version update. I hope you understand my point here.

    Thanks.

    If I comment out the line $wp_rewrite->flush_rules();, do you think there will be any problem with Post Pay Counter not working correctly?

    Thanks
    Serkan

    October 20, 2015 at 2:56 pm in reply to: Post Pay Counter Pro – Flushing Rewrite Rules #48126
    Serkan
    Keymaster

    Hi Stefano,
    Thanks for your response.

    Well, I think a lot changed with their plugin because they essentially took their 1 plugin with many different features, and split it up into 30+ plugins (one for each feature). They provided a migration tool that split it all up accordingly into 30+ individual plugins.

    I will ask them, but I don’t know if they will be able to give me a clean cut answer.

    I can tell you that their plugin creates quite a few different rewrite rules, and when I had your plugin and their plugin enabled at the same time, none of their rewrite rules were able to be created.

    Btw, I wasn’t implying that it was a problem with your plugin, I just thought it would be easier to fix with your plugin.

    Thanks again, I will contact them as well.
    Serkan

    October 20, 2015 at 7:49 am in reply to: Post Pay Counter Pro – Flushing Rewrite Rules #48109
    Stefano
    Keymaster

    Hi Serkan,
    I’m not sure (it could be a problem with my plugin), but since the issue started showing up after an update of the other plugin, could you please ask their support team what could have changed that affected this feature?

    Have a nice day,
    Stefano

    October 19, 2015 at 1:33 pm in reply to: Calculations are subtracting #48069
    Stefano
    Keymaster

    You’re welcome! 🙂

    Have a nice day,
    Stefano

    October 19, 2015 at 6:58 am in reply to: Calculations are subtracting #48057
    John
    Keymaster

    Slimstats is not showing the same number of pageviews as Google or JetPack, which are both showing the same figure.

    Slimstats is not showing any visits from Asia where we are based, which is impossible. Alexa shows the majority of views from Asia.

    Slimstats is showing more authors’ pages have been viewed than what is showing in PPS

    I think we’ll just install the Pro version and see if that works better. Will see if the Thai baht can improve a little first. The exchange rate is a killer at the moment.

    Thanks very much. Greatly appreciate the input.

    October 19, 2015 at 6:40 am in reply to: more than one base payment #48055
    John
    Keymaster

    Sometimes authors submit text without photos and we add from our own sources. So in that case it is showing photos that we’ve added to the post as a credit for photo payment for the story author.

    We use media credit plugin to assign acknowledgment for each photo.

    October 11, 2015 at 9:34 am in reply to: Bounce rate and Page/Session to Stats page #47558
    Denis
    Keymaster

    That’s a pitty. But thanks anyway

    October 7, 2015 at 7:59 am in reply to: Bounce rate and Page/Session to Stats page #47360
    Stefano
    Keymaster

    Hi Denis,
    While implementing the feature, I’ve actually come across a serious technical issue I’ve not been able to overcome in this little time I have, so I have to leave the development of this feature.
    Sorry to have kindled unfulfilled hopes!

    (FYI, the point is that visits and adsense revenues are incremental data: every day, yesterday data is added to what we already have. But we can’t do the same with bounce rate and avg time on page, we should do an average with all the rows we have for a specific post, which would imply a totally different data processing than the one that’s currently in place.)

    Have a nice day,
    Stefano

    October 6, 2015 at 8:00 am in reply to: Analytics #47324
    Stefano
    Keymaster

    Got it and replied there 🙂

    October 6, 2015 at 5:33 am in reply to: Problem updating #47315
    Dede Indrapurna
    Keymaster

    Hi Stefano,

    Yep, I think that’s the problem. Now it works. Turns out I forgot to properly configure with the chmod and chown of the folder after I transferred the file with SCP.

    Thanks!

    October 6, 2015 at 12:56 am in reply to: Analytics #47300
    kelechi
    Keymaster

    I sent the password through the contact me form. i didn’t know how to make it private…

    October 5, 2015 at 1:39 pm in reply to: Problem updating #47271
    Stefano
    Keymaster

    Hi Dede,
    I frankly haven’t much of an idea of what could be wrong… Maybe make sure the plugin folder has 777 permissions on you FTP. If it keeps not working, email me and I’ll send you the updated zip 🙂

    Have a nice day,
    Stefano

    October 5, 2015 at 12:45 pm in reply to: Problem updating #47268
    Dede Indrapurna
    Keymaster

    By the way, here is the complete log:

    The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. style, post-pay-counter-pro.php, temp, classes, .DS_Store, lang, uninstall.php, js, style/ppcp_stats_style.css, style/ppcp_options_style.css, temp/.DS_Store, temp/ga, classes/ppcp_save_options_class.php, classes/ppcp_paypal_class.php, classes/ppcp_update_class.php, classes/ppcp_autoupdate_class.php, classes/ppcp_export_class.php, classes/ppcp_meta_boxes_class.php, classes/ppcp_install_functions_class.php, classes/ppcp_google_analytics_class.php, classes/ppcp_html_functions_class.php, classes/ppcp_payment_history_class.php, classes/ppcp_license_class.php, classes/ppcp_adsense_class.php, classes/ppcp_general_functions_class.php, classes/ppcp_shortcode_class.php, classes/ppcp_system_info_class.php, classes/ppcp_stats_class.php, classes/ppcp_payment_bonus_class.php, classes/google-api-php-client-master, classes/ppcp_payment_class.php, classes/ppcp_ajax_functions_class.php, lang/ppcp-it_IT.po, lang/ppcp-fr_FR.mo, lang/ppcp-de_DE.po, lang/ppcp-de_DE.mo, lang/ppcp-pt_BR.mo, lang/ppcp-it_IT.mo, lang/ppcp-pt_BR.po, lang/ppcp-fr_FR.po, lang/ppcp-default.pot, lang/ppcp-nl_NL.po, lang/ppcp-nl_NL.mo, js/ppcp_post_effects.js, js/ppcp_options_ajax_stuff.js, js/ppcp_payment_stuff.js, js/ppcp_options_effects.js, js/ppcp_payment_confirm.js, js/ppcp_payment_history.js, js/ppcp_post_ajax.js, classes/google-api-php-client-master/README.md, classes/google-api-php-client-master/style, classes/google-api-php-client-master/.travis.yml, classes/google-api-php-client-master/CONTRIBUTING.md, classes/google-api-php-client-master/composer.json, classes/google-api-php-client-master/phpunit.xml.dist, classes/google-api-php-client-master/LICENSE, classes/google-api-php-client-master/src, classes/google-api-php-client-master/.gitignore, classes/google-api-php-client-master/autoload.php, classes/google-api-php-client-master/style/ruleset.xml, classes/google-api-php-client-master/src/Google, classes/google-api-php-client-master/src/Google/Service.php, classes/google-api-php-client-master/src/Google/Verifier, classes/google-api-php-client-master/src/Google/Cache, classes/google-api-php-client-master/src/Google/Collection.php, classes/google-api-php-client-master/src/Google/Exception.php, classes/google-api-php-client-master/src/Google/Signer, classes/google-api-php-client-master/src/Google/Utils.php, classes/google-api-php-client-master/src/Google/Task, classes/google-api-php-client-master/src/Google/Auth, classes/google-api-php-client-master/src/Google/Model.php, classes/google-api-php-client-master/src/Google/Utils, classes/google-api-php-client-master/src/Google/Logger, classes/google-api-php-client-master/src/Google/autoload.php, classes/google-api-php-client-master/src/Google/Service, classes/google-api-php-client-master/src/Google/Http, classes/google-api-php-client-master/src/Google/Client.php, classes/google-api-php-client-master/src/Google/Config.php, classes/google-api-php-client-master/src/Google/IO, classes/google-api-php-client-master/src/Google/Verifier/Abstract.php, classes/google-api-php-client-master/src/Google/Verifier/Pem.php, classes/google-api-php-client-master/src/Google/Cache/Memcache.php, classes/google-api-php-client-master/src/Google/Cache/File.php, classes/google-api-php-client-master/src/Google/Cache/Exception.php, classes/google-api-php-client-master/src/Google/Cache/Abstract.php, classes/google-api-php-client-master/src/Google/Cache/Null.php, classes/google-api-php-client-master/src/Google/Cache/Apc.php, classes/google-api-php-client-master/src/Google/Signer/Abstract.php, classes/google-api-php-client-master/src/Google/Signer/P12.php, classes/google-api-php-client-master/src/Google/Task/Runner.php, classes/google-api-php-client-master/src/Google/Task/Exception.php, classes/google-api-php-client-master/src/Google/Task/Retryable.php, classes/google-api-php-client-master/src/Google/Auth/OAuth2.php, classes/google-api-php-client-master/src/Google/Auth/LoginTicket.php, classes/google-api-php-client-master/src/Google/Auth/Exception.php, classes/google-api-php-client-master/src/Google/Auth/ComputeEngine.php, classes/google-api-php-client-master/src/Google/Auth/Abstract.php, classes/google-api-php-client-master/src/Google/Auth/AssertionCredentials.php, classes/google-api-php-client-master/src/Google/Auth/Simple.php, classes/google-api-php-client-master/src/Google/Auth/AppIdentity.php, classes/google-api-php-client-master/src/Google/Utils/URITemplate.php, classes/google-api-php-client-master/src/Google/Logger/Psr.php, classes/google-api-php-client-master/src/Google/Logger/File.php, classes/google-api-php-client-master/src/Google/Logger/Exception.php, classes/google-api-php-client-master/src/Google/Logger/Abstract.php, classes/google-api-php-client-master/src/Google/Logger/Null.php, classes/google-api-php-client-master/src/Google/Service/Logging.php, classes/google-api-php-client-master/src/Google/Service/Dataflow.php, classes/google-api-php-client-master/src/Google/Service/GamesConfiguration.php, classes/google-api-php-client-master/src/Google/Service/Genomics.php, classes/google-api-php-client-master/src/Google/Service/Customsearch.php, classes/google-api-php-client-master/src/Google/Service/MapsEngine.php, classes/google-api-php-client-master/src/Google/Service/Replicapoolupdater.php, classes/google-api-php-client-master/src/Google/Service/Gmail.php, classes/google-api-php-client-master/src/Google/Service/Dfareporting.php, classes/google-api-php-client-master/src/Google/Service/AdSenseHost.php, classes/google-api-php-client-master/src/Google/Service/AdSense.php, classes/google-api-php-client-master/src/Google/Service/Resourceviews.php, classes/google-api-php-client-master/src/Google/Service/Bigquery.php, classes/google-api-php-client-master/src/Google/Service/Freebase.php, classes/google-api-php-client-master/src/Google/Service/Spectrum.php, classes/google-api-php-client-master/src/Google/Service/Audit.php, classes/google-api-php-client-master/src/Google/Service/Plus.php, classes/google-api-php-client-master/src/Google/Service/Pagespeedonline.php, classes/google-api-php-client-master/src/Google/Service/Coordinate.php, classes/google-api-php-client-master/src/Google/Service/Replicapool.php, classes/google-api-php-client-master/src/Google/Service/IdentityToolkit.php, classes/google-api-php-client-master/src/Google/Service/AndroidPublisher.php, classes/google-api-php-client-master/src/Google/Service/Fitness.php, classes/google-api-php-client-master/src/Google/Service/Cloudsearch.php, classes/google-api-php-client-master/src/Google/Service/Licensing.php, classes/google-api-php-client-master/src/Google/Service/ShoppingContent.php, classes/google-api-php-client-master/src/Google/Service/Mirror.php, classes/google-api-php-client-master/src/Google/Service/Cloudlatencytest.php, classes/google-api-php-client-master/src/Google/Service/Datastore.php, classes/google-api-php-client-master/src/Google/Service/Deploymentmanager.php, classes/google-api-php-client-master/src/Google/Service/Drive.php, classes/google-api-php-client-master/src/Google/Service/Translate.php, classes/google-api-php-client-master/src/Google/Service/TagManager.php, classes/google-api-php-client-master/src/Google/Service/QPXExpress.php, classes/google-api-php-client-master/src/Google/Service/Webmasters.php, classes/google-api-php-client-master/src/Google/Service/Directory.php, classes/google-api-php-client-master/src/Google/Service/Pubsub.php, classes/google-api-php-client-master/src/Google/Service/Manager.php, classes/google-api-php-client-master/src/Google/Service/AppState.php, classes/google-api-php-client-master/src/Google/Service/Reseller.php, classes/google-api-php-client-master/src/Google/Service/Exception.php, classes/google-api-php-client-master/src/Google/Service/Blogger.php, classes/google-api-php-client-master/src/Google/Service/Compute.php, classes/google-api-php-client-master/src/Google/Service/PlusDomains.php, classes/google-api-php-client-master/src/Google/Service/Container.php, classes/google-api-php-client-master/src/Google/Service/Fusiontables.php, classes/google-api-php-client-master/src/Google/Service/Webfonts.php, classes/google-api-php-client-master/src/Google/Service/Analytics.php, classes/google-api-php-client-master/src/Google/Service/YouTube.php, classes/google-api-php-client-master/src/Google/Service/SQLAdmin.php, classes/google-api-php-client-master/src/Google/Service/GamesManagement.php, classes/google-api-php-client-master/src/Google/Service/YouTubeAnalytics.php, classes/google-api-php-client-master/src/Google/Service/Games.php, classes/google-api-php-client-master/src/Google/Service/Taskqueue.php, classes/google-api-php-client-master/src/Google/Service/CivicInfo.php, classes/google-api-php-client-master/src/Google/Service/Reports.php, classes/google-api-php-client-master/src/Google/Service/Resource.php, classes/google-api-php-client-master/src/Google/Service/Calendar.php, classes/google-api-php-client-master/src/Google/Service/GroupsMigration.php, classes/google-api-php-client-master/src/Google/Service/Urlshortener.php, classes/google-api-php-client-master/src/Google/Service/Appsactivity.php, classes/google-api-php-client-master/src/Google/Service/Dns.php, classes/google-api-php-client-master/src/Google/Service/CloudMonitoring.php, classes/google-api-php-client-master/src/Google/Service/Oauth2.php, classes/google-api-php-client-master/src/Google/Service/Tasks.php, classes/google-api-php-client-master/src/Google/Service/Doubleclicksearch.php, classes/google-api-php-client-master/src/Google/Service/AndroidEnterprise.php, classes/google-api-php-client-master/src/Google/Service/Prediction.php, classes/google-api-php-client-master/src/Google/Service/Groupssettings.php, classes/google-api-php-client-master/src/Google/Service/SiteVerification.php, classes/google-api-php-client-master/src/Google/Service/DoubleClickBidManager.php, classes/google-api-php-client-master/src/Google/Service/Storage.php, classes/google-api-php-client-master/src/Google/Service/Admin.php, classes/google-api-php-client-master/src/Google/Service/AdExchangeSeller.php, classes/google-api-php-client-master/src/Google/Service/AdExchangeBuyer.php, classes/google-api-php-client-master/src/Google/Service/Autoscaler.php, classes/google-api-php-client-master/src/Google/Service/Books.php, classes/google-api-php-client-master/src/Google/Service/Computeaccounts.php, classes/google-api-php-client-master/src/Google/Http/REST.php, classes/google-api-php-client-master/src/Google/Http/MediaFileUpload.php, classes/google-api-php-client-master/src/Google/Http/CacheParser.php, classes/google-api-php-client-master/src/Google/Http/Request.php, classes/google-api-php-client-master/src/Google/Http/Batch.php, classes/google-api-php-client-master/src/Google/IO/Exception.php, classes/google-api-php-client-master/src/Google/IO/Abstract.php, classes/google-api-php-client-master/src/Google/IO/Curl.php, classes/google-api-php-client-master/src/Google/IO/cacerts.pem, classes/google-api-php-client-master/src/Google/IO/Stream.php

    October 5, 2015 at 6:53 am in reply to: Personalize Settings Not Working #47239
    Stefano
    Keymaster

    Hi Nathan,
    Are you running the latest PPC version? Does your own user have the third permission checked?

    Have a nice day,
    Stefano

    October 4, 2015 at 7:22 am in reply to: problens with due payment #47088
    Stefano
    Keymaster

    I don’t understand what you’re saying, anyway the problem was that some posts were left unpaid even though they looked paid – look at the amount paid in the payment history and it shouldn’t match the total payment displayed in stats.

    Have a nice day,
    Stefano

  • Author
    Posts
Viewing 20 posts - 2,081 through 2,100 (of 3,037 total)
← 1 2 3 … 104 105 106 … 150 151 152 →

Your cart

Number of items in cart: 0

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

What are you looking for?

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