FOUNDATION-AI-BASED/Mechanic-Visitor-Counter
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
=== Mechanic Visitor Counter === Contributors: adityasubawa, FOUNDATION-AI-BASED Donate link: https://www.adityasubawa.com/ Tags: visitor counter, statistics, traffic, counter, stats Requires at least: 4.5.3 Tested up to: 6.5 Stable tag: 3.3.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Requires PHP: 5.4 Mechanic Visitor Counter is a widget which displays visitor counter and traffic statistics on WordPress. Features include Today Visitor, Today Hits, Total Hits, Total Visit, Who's Online and IP Address Visitors. == Description == Mechanic Visitor Counter is a widget which displays visitor counter and traffic statistics on WordPress. Some of the features offered include Today Visitor, Today Hits, Total Hits, Total Visit, Who's Online and IP Address Visitors. Upload and Install WordPress Visitor Counter Plugins, Activate and Drag the Widgets in to your WordPress Sidebar. Shortcode Usage: `[mechanic_visitor title="Optional Title" font_color="#aabbcc"]` Learn more: https://www.adityasubawa.com/mechanic-visitor-counter Upload your own image counter style: https://www.adityasubawa.com/how-to-upload-your-own-counter-style-to-the-mechanic-visitor-counter == Installation == This section describes how to install the plugin and get it working. 1. Upload the `Mechanic-Visitor-Counter-main` folder (or the zip file) to the `/wp-content/plugins/` directory. You can do this using the 'Upload Plugin' functionality in the plugins section of your WordPress dashboard. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Go to 'Appearance' >> 'Widgets' and drag 'Mechanic - Visitor Counter' into your desired sidebar or widget area. 4. Configure the widget options and save. 5. You are done. == Frequently Asked Questions == = How to add more counter Images? = You can add new counter image styles by creating a new folder within `/wp-content/plugins/Mechanic-Visitor-Counter-main/styles/image/`. The folder name will be the style name. Each style folder must contain image files named `0.gif`, `1.gif`, ..., `9.gif`. = How to add language? = Since version 3.1, the plugin supports localization. To contribute a translation, please use the `.pot` file (if available) or copy and translate the `languages/wp-statsmechanic-en_GB.po` file. Save your translation as `Mechanic-Visitor-Counter-main-{locale}.po` (e.g., `Mechanic-Visitor-Counter-main-es_ES.po`) and compile the `.mo` file. Place both files in the `languages` directory. You can also contact the original author at me@adityasubawa.com. == Screenshots == 1. Sample display 2. Widget options 3. Image counter options (in Settings -> Visitor Counter) == Changelog == = 3.3.4 = * Security hardening: Improved output escaping (XSS prevention) and database query preparation (SQL injection prevention). * Fixed PHP parse error related to mismatched braces. * Corrected text domain to match plugin slug (`Mechanic-Visitor-Counter-main`). * Replaced deprecated functions (`attribute_escape`). * Added missing License header and updated readme.txt headers (`Tested up to`, `Stable tag`). * Improved admin options page structure and sanitization. * Added versioning to enqueued stylesheet. * Added translator comment for PHP version notice. * Added credit to FOUNDATION-AI-BASED. = 3.3.3 = * Minor update. = 3.3.2 = * Adding shortcode function `[mechanic_visitor]`. * Remove sidebar in visitor counter options page. = 3.2.2 = * Adding turkish language, contribution by Yunus BOZKURT. * Adding image count length option. = 3.2.1 = * Adding plugin credit option (removed later). * Adding count start at Total Visit. = 3.2 = * Fix readme.txt. = 3.1 = * Adding localization or translation support. * Adding PHP Version compatibility check. * Adding 3 image counter styles. * Fix PHP and MySQL query issues. = 3.0 = * Fix primary key on table creation. * Adding view and hits starting number options. * Remove 3 image counter styles. * Upgrade options setting page. * Fix privilege access issue. = 2.9 = * Remove author credit selector. = 2.7 = * Universal Image path handling. = 2.6 = * Fix / path of some images. = 2.5 = === Mechanic Visitor Counter === Contributors: adityasubawa, FOUNDATION-AI-BASED Donate link: https://www.adityasubawa.com/ Tags: visitor counter, statistics, traffic, counter, stats Requires at least: 4.5.3 Tested up to: 6.5 Stable tag: 3.3.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Requires PHP: 5.4 Mechanic Visitor Counter is a widget which displays visitor counter and traffic statistics on WordPress. Features include Today Visitor, Today Hits, Total Hits, Total Visit, Who's Online and IP Address Visitors. == Description == Mechanic Visitor Counter is a widget which displays visitor counter and traffic statistics on WordPress. Some of the features offered include Today Visitor, Today Hits, Total Hits, Total Visit, Who's Online and IP Address Visitors. Upload and Install WordPress Visitor Counter Plugins, Activate and Drag the Widgets in to your WordPress Sidebar. Shortcode Usage: `[mechanic_visitor title="Optional Title" font_color="#aabbcc"]` Learn more: https://www.adityasubawa.com/mechanic-visitor-counter Upload your own image counter style: https://www.adityasubawa.com/how-to-upload-your-own-counter-style-to-the-mechanic-visitor-counter == Installation == This section describes how to install the plugin and get it working. 1. Upload the `Mechanic-Visitor-Counter-main` folder (or the zip file) to the `/wp-content/plugins/` directory. You can do this using the 'Upload Plugin' functionality in the plugins section of your WordPress dashboard. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Go to 'Appearance' >> 'Widgets' and drag 'Mechanic - Visitor Counter' into your desired sidebar or widget area. 4. Configure the widget options and save. 5. You are done. == Frequently Asked Questions == = How to add more counter Images? = You can add new counter image styles by creating a new folder within `/wp-content/plugins/Mechanic-Visitor-Counter-main/styles/image/`. The folder name will be the style name. Each style folder must contain image files named `0.gif`, `1.gif`, ..., `9.gif`. = How to add language? = Since version 3.1, the plugin supports localization. To contribute a translation, please use the `.pot` file (if available) or copy and translate the `languages/wp-statsmechanic-en_GB.po` file. Save your translation as `Mechanic-Visitor-Counter-main-{locale}.po` (e.g., `Mechanic-Visitor-Counter-main-es_ES.po`) and compile the `.mo` file. Place both files in the `languages` directory. You can also contact the original author at me@adityasubawa.com. == Screenshots == 1. Sample display 2. Widget options 3. Image counter options (in Settings -> Visitor Counter) == Changelog == = 3.3.4 = * Security hardening: Improved output escaping (XSS prevention) and database query preparation (SQL injection prevention). * Fixed PHP parse error related to mismatched braces. * Corrected text domain to match plugin slug (`Mechanic-Visitor-Counter-main`). * Replaced deprecated functions (`attribute_escape`). * Added missing License header and updated readme.txt headers (`Tested up to`, `Stable tag`). * Improved admin options page structure and sanitization. * Added versioning to enqueued stylesheet. * Added translator comment for PHP version notice. * Added credit to FOUNDATION-AI-BASED. = 3.3.3 = * Minor update. = 3.3.2 = * Adding shortcode function `[mechanic_visitor]`. * Remove sidebar in visitor counter options page. = 3.2.2 = * Adding turkish language, contribution by Yunus BOZKURT. * Adding image count length option. = 3.2.1 = * Adding plugin credit option (removed later). * Adding count start at Total Visit. = 3.2 = * Fix readme.txt. = 3.1 = * Adding localization or translation support. * Adding PHP Version compatibility check. * Adding 3 image counter styles. * Fix PHP and MySQL query issues. = 3.0 = * Fix primary key on table creation. * Adding view and hits starting number options. * Remove 3 image counter styles. * Upgrade options setting page. * Fix privilege access issue. = 2.9 = * Remove author credit selector. = 2.7 = * Universal Image path handling. = 2.6 = * Fix / path of some images. = 2.5 = * Adding yesterday, this month, this year statistics. = 2.4 = * Fix total hits and widget options. = 2.3 = * Upgrade to 2.4 version (Note: Version jump seems inconsistent). = 2.2 = * Fix image path. = 2.1 = * Adding Image Counter styles and align options. = 2.0 = * Adding new feature option in the widgets area. = 1.8 = * Fix auto hide IP address and Server Time. Upgrade to 2.0 version. = 1.7 = * Fix image issues. Upgrade to 1.8 version. = 1.6 = * Upgrade to 1.7 version. = 1.5 = * Upgrade to 1.6 version. = 1.4 = * Fix author credit options. Upgrade to 1.5 version. = 1.3 = * Upgrade to 1.4 version. = 1.2 = * Fix images system. Upgrade to 1.3 version. = 1.1 = * Upgrade to 1.2 version. = 1.0 = * Initial release (or upgrade to 1.1). == Upgrade Notice == = 3.3.4 = This version includes important security fixes and updates for compatibility. Please update. == Credits == * Original Author: Aditya Subawa (https://www.adityasubawa.com/) * Turkish Translation: Yunus BOZKURT * Code Improvements & Security Hardening (v3.3.4): FOUNDATION-AI-BASED (https://github.com/FOUNDATION-AI-BASED)