Pressjitsu
Forum Replies Created
-
Forum: Plugins
In reply to: [Pageviews] Very LoadHi there, thank you for your message!
This plugin does not write anything to the database, except an API key and secret during installation. All the counting is executed on a third-party services, nothing about your counts are written to your WordPress database, so it’s hard to tell where your database load comes from.
Could be a conflict with another plugin, could be a specific implementation, hard to tell without any details – site URL, plugin version, a list of other plugins installed, how are you measuring DB load, what are the queries that are causing the load, etc.
~ D
Forum: Reviews
In reply to: [Pageviews] Sends information to plugin-author without asking by php-codeThank you so much for your review!
Please note, that the auth.php code that you’re referring to is actually the screen that ASKS the user to grant permission to send post IDs and permalinks to a third-party service. We DO NOT send such information without the user explicitly clicking “Allow” and thus giving consent.
This is needed for our Sync service to work, which syncs numbers with other services such as Google Analytics. Previously when we did syncs manually, we would ask the users for their login credentials, which is not secure. This new way, however, allows site owners to temporarily and securely grant access ONLY to the data that is truly necessary for our service to work.
Again, nothing is ever sent to the Pageviews Sync service without explicitly asking the user first.
Cheers!
Forum: Plugins
In reply to: [Pageviews] Syncronizing with Google AnalyticsДобрый день, автоматизированного решения на данный момент нет, но если пришлете запрос на [email protected] – постараемся вам помочь.
Forum: Plugins
In reply to: [Pageviews] Миграция с WP-PostViews и другие вопросы.Здравствуйте,
1. Скрипты миграции для некоторых сервисов уже реализованы
2. Как таковой “миграции” обратно нет, но есть API при помощи которого можете получать значения и записывать их в мета-данные или в любое другое место.
3. Он работает на JavaScript, т.е. в любом случае цифры будут появляться после того, как загрузится вся страница целиком, но будет ли скрипт ждать загрузки изображений и других скриптов, или подгружать параллельно, зависит от поддержки браузером defer/async.
4. Посмотрите в документации – по умолчанию счетчик выводится в конце контента, но можно вывести его в любом другом месте при помощи события:
do_action( 'pageviews' );
Forum: Plugins
In reply to: [Pageviews] Обновление счётчиков после дозагрузкиЗдравствуйте, поддержки Easy Load More к сожалению пока нет. Рекомендуем попробовать модуль Infinite Scroll в плагине Jetpack, он хорошо работает с Pageviews.
Forum: Plugins
In reply to: [Pageviews] Displaying custom text next to post view countTry it out in different places and see how it works, worst case scenario you break things and undo your changes ?? Try and target somewhere inside “the loop” which is inside
have_posts()
anywhere afterthe_post()
, you’ll see some functions there already, likethe_title()
,the_content()
, etc. Don’t be afraid to experiment.Forum: Plugins
In reply to: [Redis Page Cache] is the same wp-super-cache – advanced-cache.php file ?advanced-cache.php is a drop-in file for page caching in WordPress, both WP Super Cache and Redis Page Cache rely on that file, so yes, you should not be using both caching plugins at the same time.
Forum: Plugins
In reply to: [Pageviews] Displaying custom text next to post view countHey there! I just mentioned above exactly what code you need to put in which files. If you’re still having trouble with that, please feel free to reach out to us via e-mail – [email protected], and we’ll help you implement it on your server.
Forum: Plugins
In reply to: [Pageviews] Displaying custom text next to post view countHey there, thanks for reaching out!
If you’d like to customize the output of this plugin, the first thing you should do is declare support for it in your theme’s (or child theme’s) functions.php file:
add_action( 'after_setup_theme', 'my_pageviews_support' ); function my_pageviews_support() { add_theme_support( 'pageviews' ); }
Then, wherever you would like to output the count in your theme’s templates, you can call a simple action, for example, inside the loop in single.php:
Post Views: <?php do_action( 'pageviews' ); ?>
A more thorough developer documentation is available on GitHub: https://github.com/pressjitsu/pageviews
Hope that helps!
- This reply was modified 8 years, 5 months ago by Pressjitsu.
Sorry for the late response. Not really, the connection will be closed when PHP runs garbage collection at the end of the request. Are you seeing abandoned connections in your Redis stats/log?
Forum: Plugins
In reply to: [Pageviews] Wp-Roket (кэширование) и счетчик просмотровЗдравствуйте, у вас много ошибок JavaScript на сайте, смотрите в консоли, например:
pageviews.js?v=3:47 Uncaught ReferenceError: jQuery is not defined
Без jQuery этот плагин не может работать корректно, то есть возможно ваша тема не правильно подгружает библиотеку, или WP-Rocket ее плохо минифицирует. Попробуйте отключить минификацию и прочие манипуляции над скриптами, если такие есть. Сам pageviews.js подгружается в футере асинхронно. С PHP7 проблем на наблюдалось.
Forum: Plugins
In reply to: [Pageviews] Pageviews work with WP Super Cash?Hi Julia!
Да, плагин совместим с любыми плагинами кэширования, в том числе и WP Super Cache. Количество просмотров будут обновляться при каждом обновлении страницы. Дайте знать если возникнут еще вопросы!
Forum: Plugins
In reply to: [Redis Page Cache] Not working, no X-PJ-Cache-StatusThanks for the suggestion Gabriel, we’ll definitely think about it.
Forum: Plugins
In reply to: [Redis Page Cache] Not working, no X-PJ-Cache-StatusHey Gabriel, thanks for getting in touch and glad to hear the issue has been resolved. If you experience any trouble with the plugin again, please feel free to open a new support thread and we’ll be happy to look into it.
Forum: Plugins
In reply to: [Pageviews] How to migrate data from WP-PostViews?Hey there, thanks for reaching out!
We’re still working on our migration tools, but if you e-mail us with the total number of posts you currently have, we’ll send you a small plugin/script to update the counts from WP-PostViews for your website. Our e-mail is [email protected].
The counter does work outside of WordPress, it’s a simple RESTful service which only requires an account key to work, which you can obtain using the /register endpoint:
Hope that helps!