Forum Replies Created
-
AuthorPosts
-
Stefano
KeymasterJust released! It’s a new, opt-in option, you can find it in Options > Counting settings > Words payment.
Let me know! π
Have a nice day,
StefanoStefano
KeymasterI would say no later than saturday, I’ll keep you posted π
-
This reply was modified 6 years, 2 months ago by
Stefano.
Stefano
KeymasterYou are right. I am going to add an option to allow the shortcodes to be applied when words are counted. If you want to test this before release, this is the relevant part of code, starting at line 262 of post-pay-counter/classes/ppc_counting_stuff_class.php:
//Handle input parameter if( is_a( $post, 'WP_Post' ) ) $post_content = apply_filters( 'ppc_count_post_words_post_content_start', $post->post_content, $post->ID ); else if( is_string( $post ) ) $post_content = apply_filters( 'ppc_count_post_words_post_content_start', $post ); else return new WP_Error( 'ppc_invalid_argument', 'count_post_words only accepts a WP_post istance or a text string', array( $post ) ); //Strip tags & content with class="ppc_exclude_words" (doesn't handle nested tags, ie <div class="ppc_exclude_posts">some content <div class="nested">nested content</div> this will already be counted</div> $purged_content = preg_replace( '/<([^>]*) [^>]*class=("|\')ppc_exclude_words("|\')[^>]*>(.*?)<\/\1>/s', '', $post_content ); if( self::$settings['counting_exclude_quotations'] ) $purged_content = preg_replace( '/<(blockquote|q)>(.*?)<\/(blockquote|q)>/s', '', $purged_content ); if( self::$settings['counting_words_exclude_pre'] ) $purged_content = preg_replace( '/<(pre)>(.*?)<\/(pre)>/s', '', $purged_content ); if( ! has_shortcode( $post_content, 'ppc' ) ) $purged_content = do_shortcode( $purged_content ); $purged_content = strip_tags( $purged_content );Stefano
KeymasterUhm, this is difficult to debug, the public content copied-pasted in my local WordPress reports 601 words from WP. Could you maybe copy here the HTML version of the post, taken from the editor?
Stefano
KeymasterHi there,
Could you link to one example post having the issue, so we can try to reproduce the issue? πHave a nice day,
StefanoStefano
KeymasterDo you have any way of checking whether you’re able to login to other services through your Google account?
Stefano
KeymasterThese worked, thanks. I can confirm that the issue is not with your account, as mine resulted in the same error. I don’t know what to say: if you know that Analytics is blocked in your area, then that’s probably the reason. I can confirm the process works fine as I have no problem on my servers and no other customers ever reported this, I’m afraid π
Stefano
KeymasterWith the google login button, I get
400. Thatβs an error.
Error: redirect_uri_mismatch
Stefano
KeymasterFollowed instructions, however when I hit the green login button it doesn’t do anything. I don’t understand a word of the site so I’m not sure whether I’m doing something wrong :/
Stefano
KeymasterThere is no shortcode to exactly output that information, I’m afraid! Points 1 and 2 can be seen in the Overall stats section at the bottom of the shortcode stats, if the shortcode time range is All time. Other points may prove trickier and I am not sure you may find a way to get that information in a single number :/
Have a nice day,
StefanoStefano
KeymasterHi Syed,
here is the page with all the available shortcodes, you should be able to achieve what you need. I’ll be here if you need any more help πDisplay stats details in public pages with Post Pay Counter PRO shortcode
Stefano
KeymasterYes, the request goes through the server. I don’t know, this is clearly something related to the website as it never happened. If you want, I can try to have a look with a temp admin account on your site π
September 21, 2019 at 9:02 am in reply to: Calculation is not happening properly (PRO plugin) #67813Stefano
KeymasterYes, that is correct. You ma still use all addon features when the license expires, but is always needs to be active π
Stefano
KeymasterHi Jonathan,
I agree: that box should be filled up even if the post is still in draft, although data may be inaccurate. I’ll address this in the next PRO release in a few days! πHave a nice day,
StefanoSeptember 19, 2019 at 8:50 am in reply to: Calculation is not happening properly (PRO plugin) #67702Stefano
Keymaster1) It won’t show anything IF you have also checked Hide posts that do not reach the threshold below. Otherwise it should, doesn’t it? π
September 18, 2019 at 9:07 pm in reply to: Calculation is not happening properly (PRO plugin) #67683Stefano
KeymasterUhm, you are right, there is no way to completely hide them. You can exclude posts from stats though π
September 18, 2019 at 8:07 pm in reply to: Calculation is not happening properly (PRO plugin) #67665Stefano
KeymasterHi Karnika,
- Uhm, maybe you have a threshold set in Options > Counting Settings > Total payment?
- That’s not a native feature, unfortunately!
- (linked to above)
- No, again, I am afraid that cannot be changed.
- You can personalize authors’ settings so as to disable all payment criteria for the ones you do not want to see in stats. You can do so in Options > Personalize settings. You may also want to check out the User Roles Custom Settings addon to set up custom settings for whole user roles.
Hope this helps! π
Have a nice day,
StefanoStefano
KeymasterHi Ashkan,
can you details the steps you did that lead you to the problem. It looks like you did not log into your Google account when prompted to do so. I would advise checking out the Analytics tutorial for help πGoogle Analytics setup and configuration with Post Pay Counter PRO
Have a nice day,
StefanoStefano
KeymasterHi Ashkan,
just done and resent your purchase receipt complete of the other addon. Let me know if all is fine! πHave a nice day,
StefanoStefano
KeymasterTi ho scritto per email π
-
This reply was modified 6 years, 2 months ago by
-
AuthorPosts