Forum Replies Created

Viewing 15 replies - 1 through 15 (of 34 total)
  • Forum: Plugins
    In reply to: [Pageviews] Very Load
    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Hi 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

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Thank 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!

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Добрый день, автоматизированного решения на данный момент нет, но если пришлете запрос на support@pressjitsu.com – постараемся вам помочь.

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Здравствуйте,

    1. Скрипты миграции для некоторых сервисов уже реализованы

    2. Как таковой “миграции” обратно нет, но есть API при помощи которого можете получать значения и записывать их в мета-данные или в любое другое место.

    3. Он работает на JavaScript, т.е. в любом случае цифры будут появляться после того, как загрузится вся страница целиком, но будет ли скрипт ждать загрузки изображений и других скриптов, или подгружать параллельно, зависит от поддержки браузером defer/async.

    4. Посмотрите в документации – по умолчанию счетчик выводится в конце контента, но можно вывести его в любом другом месте при помощи события: do_action( 'pageviews' );

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Здравствуйте, поддержки Easy Load More к сожалению пока нет. Рекомендуем попробовать модуль Infinite Scroll в плагине Jetpack, он хорошо работает с Pageviews.

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Try 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 after the_post(), you’ll see some functions there already, like the_title(), the_content(), etc. Don’t be afraid to experiment.

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    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.

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Hey 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 – support@pressjitsu.com, and we’ll help you implement it on your server.

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Hey 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 7 years, 5 months ago by Pressjitsu.
    Plugin Contributor Pressjitsu

    (@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?

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Здравствуйте, у вас много ошибок JavaScript на сайте, смотрите в консоли, например:

    pageviews.js?v=3:47 Uncaught ReferenceError: jQuery is not defined

    Без jQuery этот плагин не может работать корректно, то есть возможно ваша тема не правильно подгружает библиотеку, или WP-Rocket ее плохо минифицирует. Попробуйте отключить минификацию и прочие манипуляции над скриптами, если такие есть. Сам pageviews.js подгружается в футере асинхронно. С PHP7 проблем на наблюдалось.

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Hi Julia!

    Да, плагин совместим с любыми плагинами кэширования, в том числе и WP Super Cache. Количество просмотров будут обновляться при каждом обновлении страницы. Дайте знать если возникнут еще вопросы!

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Thanks for the suggestion Gabriel, we’ll definitely think about it.

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    Hey 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.

    Plugin Contributor Pressjitsu

    (@pressjitsu)

    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 support@pressjitsu.com.

    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:

    https://pv.pjtsu.com/

    Hope that helps!

Viewing 15 replies - 1 through 15 (of 34 total)