/ushahidi_visitcounter

Allow to display counters for every incident page.

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

=== About ===

name: visit_counter
website: http://www.ushahidi.com
description: Adding count visits to reports
version: 0.2
requires: 2.1
tested up to: 2.7
author: Oksana Lysak
author website: http://www.ushahidi.com

== Description == Show count visits

== Installation ==

  1. Unpack archive with plugin
  2. Rename the folder to /visit_counter/
  3. Copy the entire /visit_counter/ directory into your /plugins/ directory.
  4. Open /plugins/visit_counter/config/visit_counter.php and set the appropriate settings
  5. Activate the plugin.

== Example ==

CREATE TABLE IF NOT EXISTS marks ( id int(11) NOT NULL AUTO_INCREMENT, name varchar(50) NOT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8

CREATE TABLE IF NOT EXISTS marks_to_units ( id_marks int(11) NOT NULL, id_units int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8

== Changelog ==

0.1

  • Created the plugin 0.2
  • Fixed bug with adding a report from admin page.

CREATE TABLE IF NOT EXISTS visits_count ( id_element int(11) NOT NULL, visits int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8;