Git Product home page Git Product logo

bea-post-views-counter's Introduction

BEA Post Views Counter

Description

Enables you to display how many times a post, page and any post type had been viewed. Designed for high-traffic sites, performance, security & scalability.

Important to know

Contributors: momo360modena
Donate link: http://beapi.fr/donate/
Tags: counter, hits, postviews, views, count, popular, popular post, stats, view, views, widget
Requires at least: 3.1
Tested up to: 3.5.1
Stable tag: 0.6.9 License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Counters are available at several intervals, current day, day -1, current week, week -1, current month, -1 month, current year, year -1 and total off course!

This plugin offers various features like a widget that lists the most popular content, a shortcode display counters.

You can sort the content by popularity with the class WP_Query and query_posts function on the time interval of your choice.

You can choose to include or not connected visitors, site administrators, excluding robots and why not ban an IP address.

Finally, this plugin offers a unique feature that will delight blog owners with a lot of traffic, it is possible to have a visitor counter, asynchronous ajax, but is exclusively developed in PHP. This mode does not require any installation on your modifiction and is 10 times more efficient than the traditional version of AJAX.

In bulk :

  • 3 integration : inline, ajax, ajax full PHP (into an addon)
  • Data save on custom table (better performance compared to the meta table)
  • Developped with WP_DEBUG to TRUE
  • POO, MVC
  • Commented, i18n
  • Import data from WP-PostViews / BAW Post View Counter

Plugin written with poetry, no ads, no viruses, no spyware.

Installation

  1. Upload bea-post-views-counter folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

Frequently asked questions

Are what plugin pollutes the WordPress interface with ads and donation links ?

No, this plugin written with poetry, no ads, no viruses, no spyware.

Screenshots

1. Plugin settings

Plugin settings

2. Shortcode

Shortcode

3. Widget

Widget

Changelog

0.6.9

  • 4 Jul 2023
  • Update wordpress-settings-api-class library for php8 compatibility

0.6.8

  • 30 may 2023
  • Fix an error in the maybe_create_table() function of the plugin.php file
  • Fix an error where the mysqli_num_rows() function could be passed a boolean instead of a mysqli_result object

0.6.7

  • 4 Apr 2023
  • Fix missing .mo & .pot files after french translation update

0.6.6

  • 31 Mar 2023
  • Fix missing spaces in french counter message translation

0.6.5

  • 4 Jan 2019
  • Fix condition error on mutlisite environment for counters

0.6.4

  • 1 Oct 2018
  • Fix deprecated create_function()

0.6.3

  • 11 Oct 2017
  • Fix deprecated PHP4 style class constructor on Mysqli PHP Class

0.6.2

  • 10 Oct 2017
  • Use Mysqli version librarie

0.6.1

  • 30 Jun 2017
  • Add filter on posts_where to get elements on real current_month, current_day, current_week, current_year not on all counters

0.6.0

  • 29 Jun 2015
  • Add composer
  • Fix domain
  • Integrate the full php addon

0.5.1

  • 10 Oct 2013
  • Change hook parse_query for pre_get_posts. More compatible.

0.5

0.4

  • Minor changes on pure PHP counter

0.3

  • First public version

bea-post-views-counter's People

Contributors

asadowski10 avatar f2cmbeapi avatar herewithme avatar jeremykervran avatar maximeculea avatar nicolaskulka avatar rahe avatar stephane-gillot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bea-post-views-counter's Issues

WP admin pages - orderby counter

Hi,
Is there any way to sort the post in the WP admin lists by the counter column? It is not clickable at the moment.
Will it be available in upcoming versions?

I not, I would like to add the sort by myself, but for it I have to know the key of this meta data in the DB, and can't find it by myself. Can you please help me with that?

Thanks
Annie

Compteur du cron

Il faudrait lancer un cron régulièrement pour mettre à jour les différents compteurs. Exemple : un élément qui à 400 vues pour la semaine précédente mais qui n'a pas été visionné depuis longtemps gardera ses 400 vues pour la semaine précédente ( même si ce n'est pas le cas ) jusqu'à ce que quelqu'un visite cet élément.

Timezone

Glad I found this plugin when I googled "Baw post views" because this is better, but there is an issue with timezone which is UTC by default and I need the plugin to work with the timezone of my country. Any way to fix that, please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.