This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/image_view_counter/info.php

24 lines
880 B
PHP
Raw Normal View History

2021-12-14 18:32:47 +00:00
<?php
declare(strict_types=1);
namespace Shimmie2;
class ImageViewCounterInfo extends ExtensionInfo
{
public const KEY = "image_view_counter";
public string $key = self::KEY;
public string $name = "Post View Counter";
public string $url = "http://www.drudexsoftware.com/";
2023-11-11 21:49:12 +00:00
public array $authors = ["Drudex Software" => "support@drudexsoftware.com"];
public string $license = self::LICENSE_GPLV2;
public ExtensionCategory $category = ExtensionCategory::METADATA;
public string $description = "Tracks & displays how many times a post is viewed";
public ?string $documentation =
2024-08-31 16:05:18 +00:00
"Whenever anyone views a post, a view will be added to that image.
This extension will also track any username & the IP address.
This is done to prevent duplicate views.
A person can only count as a view again 1 hour after viewing the image initially.";
}