Plugin-Beschreibung: Smileys & Votes

Frontend-Funktionen

Zeigt 6 Emoji-Reaktionen mit Live-Zähler pro Bild an. Speichert Benutzerreaktionen anhand eines Hash-Werts zur Wiedererkennung. Pro Bild ist nur eine Reaktion pro Nutzer möglich. Unterstützung sowohl für registrierte als auch anonyme Benutzer. Anzeige der Gesamtanzahl aller Reaktionen. Ideal, um Besucherfeedback auf emotionale Weise zu sammeln.

Backend-Funktionen

Übersicht aller Reaktionen mit Möglichkeit zum Zurücksetzen (einzeln oder alle Einträge).

Einstellungen

Konfigurierbare Flutsperre: Max. Anzahl Reaktionen pro Zeitraum und Zeitraum in Stunden einstellbar. Einträge pro Seite für die Blätterfunktion frei wählbar.

Design & Integration

Zwei Emoji-Layouts auswählbar: buttons_1.tpl und buttons_2.tpl, um das Erscheinungsbild an das Design der Galerie anzupassen.

Datenschutz

IP-Adressen werden verschlüsselt gespeichert und sind nicht zurückrechenbar.

Plugin-Struktur

Strucktur Smileys Votes: Läuft über Datenbank MySQL 8.0 und PHP 8.3
root/
└── plugins/
    └── smileys_votes/
        ├── css/
        │   ├── style.css             # CSS for tables etc., included via main.inc.php
        │   └── index.php             # Redirect to "root/"
        │
        ├── images/
        │   ├── emoji/                # Default emoji images
        │   ├── emoji1.png            # "like": "👍"
        │   ├── emoji2.png            # "love": "♥️"
        │   ├── emoji3.png            # "happy": "🤗"
        │   ├── emoji4.png            # "love2": "🥰"
        │   ├── emoji5.png            # "annoyed": "😂"
        │   ├── emoji6.png            # "angry": "☹️"
        │
        ├── language/                 # Languages
        │   ├── de_DE/
        │   │   ├── plugin.lang.php
        │   │   ├── description.txt
        │   │   └── index.php         # Redirect to "root/"
        │   ├── en_GB/
        │   │   ├── plugin.lang.php
        │   │   ├── description.txt
        │   │   └── index.php         # Redirect to "root/"
        │   └── en_FR/
        │       ├── plugin.lang.php
        │       ├── description.txt
        │       └── index.php         # Redirect to "root/"
        │
        ├── root/
        │   ├── smileys-votes.php       # List of all reactions
        │   ├── reaction_limit.php      # Error page when reaction limit is exceeded
        │   └── themes/
        │       └── Active_thema/
        │           └── themes/
        │               └── template/
        │                   ├── reaction_limit.tpl   # Template for the error page
        │                   └── smileys-votes.tpl    # Template for smileys-votes.php
        │
        ├── template/
        │   ├── admin_like_dislike.tpl  # Tab for existing list, settings, change smileys template
        │   ├── buttons_1.tpl           # Voting buttons
        │   └── buttons_2.tpl           # Voting buttons
        │
        ├── action.php                  # Handles actions like voting
        ├── admin.php                   # Plugin admin area: load functions, save/reset settings
        ├── functions.inc.php           # Core function collection
        ├── index.php                   # Redirect to "root/"
        ├── main.inc.php                # Plugin main entry (e.g. CSS/JS, display logic)
        ├── maintain.inc.php            # Plugin installation and uninstallation
        ├── plugin.xml                  # Plugin metadata (e.g. name, version, description)
        ├── description.html            # Description
        └── strukture.php               # Structure/initialization logic for Smileys Votes

  

Plugin Description: Smileys & Votes

Frontend Features

Displays 6 emoji reactions with a live counter per image. Stores user reactions using a user hash for recognition. Allows only one reaction per image and user. Works with both registered and anonymous users. Shows total number of all reactions across the gallery. Ideal for collecting emotional feedback from visitors.

Backend Features

Overview of all reactions with options to reset individual or all entries.

Settings

Configurable reaction flood protection (max. reactions per period, period in hours). Customizable number of entries per page in the reaction list.

Emoji Templates

Two switchable layouts: buttons_1.tpl and buttons_2.tpl for easy integration.

Privacy Compliant

IP addresses are stored in encrypted form and cannot be reverse-engineered.

Plugin Structure

root/
└── plugins/
    └── smileys_votes/
        ├── css/
        │   ├── style.css             # CSS for tables etc., included via main.inc.php
        │   └── index.php             # Redirect to "root/"
        │
        ├── images/
        │   ├── emoji/                # Default emoji images
        │   ├── emoji1.png            # "like": "👍"
        │   ├── emoji2.png            # "love": "♥️"
        │   ├── emoji3.png            # "happy": "🤗"
        │   ├── emoji4.png            # "love2": "🥰"
        │   ├── emoji5.png            # "annoyed": "😂"
        │   ├── emoji6.png            # "angry": "☹️"
        │
        ├── language/                 # Languages
        │   ├── de_DE/
        │   │   ├── plugin.lang.php
        │   │   ├── description.txt
        │   │   └── index.php         # Redirect to "root/"
        │   ├── en_GB/
        │   │   ├── plugin.lang.php
        │   │   ├── description.txt
        │   │   └── index.php         # Redirect to "root/"
        │   └── en_FR/
        │       ├── plugin.lang.php
        │       ├── description.txt
        │       └── index.php         # Redirect to "root/"
        │
        ├── root/
        │   ├── smileys-votes.php       # List of all reactions
        │   ├── reaction_limit.php      # Error page when reaction limit is exceeded
        │   └── themes/
        │       └── Active_thema/
        │           └── themes/
        │               └── template/
        │                   ├── reaction_limit.tpl   # Template for the error page
        │                   └── smileys-votes.tpl    # Template for smileys-votes.php
        │
        ├── template/
        │   ├── admin_like_dislike.tpl  # Tab for existing list, settings, change smileys template
        │   ├── buttons_1.tpl           # Voting buttons
        │   └── buttons_2.tpl           # Voting buttons
        │
        ├── action.php                  # Handles actions like voting
        ├── admin.php                   # Plugin admin area: load functions, save/reset settings
        ├── functions.inc.php           # Core function collection
        ├── index.php                   # Redirect to "root/"
        ├── main.inc.php                # Plugin main entry (e.g. CSS/JS, display logic)
        ├── maintain.inc.php            # Plugin installation and uninstallation
        ├── plugin.xml                  # Plugin metadata (e.g. name, version, description)
        ├── description.html            # Description
        └── strukture.php               # Structure/initialization logic for Smileys Votes

  

Description du plugin : Smileys & Votes

Fonctionnalités côté visiteur

Affiche 6 émojis de réaction avec compteur en direct pour chaque image. Enregistre les réactions des utilisateurs via un identifiant de hachage. Une seule réaction autorisée par image et par utilisateur. Fonctionne avec les utilisateurs enregistrés ou anonymes. Affiche le nombre total de toutes les réactions de la galerie. Idéal pour recueillir des retours émotionnels de la part des visiteurs.

Fonctionnalités côté administration

Liste complète des réactions avec possibilité de réinitialiser une ou toutes les entrées.

Paramètres

Protection anti-spam configurable : nombre maximal de réactions par période, période en heures. Nombre d’entrées par page réglable dans la liste des réactions.

Modèles d'émojis

Deux modèles au choix : buttons_1.tpl et buttons_2.tpl pour une intégration facile.

Conformité RGPD

Les adresses IP sont stockées sous forme chiffrée et ne peuvent pas être retracées.

Structure du plugin

root/
└── plugins/
    └── smileys_votes/
        ├── css/
        │   ├── style.css             # CSS pour les tableaux, etc., inclus via main.inc.php
        │   └── index.php             # Redirection vers "root/"
        │
        ├── images/
        │   ├── emoji/                # Images emoji par défaut
        │   ├── emoji1.png            # "like" : "👍"
        │   ├── emoji2.png            # "love" : "♥️"
        │   ├── emoji3.png            # "happy" : "🤗"
        │   ├── emoji4.png            # "love2" : "🥰"
        │   ├── emoji5.png            # "annoyed" : "😂"
        │   ├── emoji6.png            # "angry" : "☹️"
        │
        ├── language/                 # Langues
        │   ├── de_DE/
        │   │   ├── plugin.lang.php
        │   │   ├── description.txt
        │   │   └── index.php         # Redirection vers "root/"
        │   ├── en_GB/
        │   │   ├── plugin.lang.php
        │   │   ├── description.txt
        │   │   └── index.php         # Redirection vers "root/"
        │   └── en_FR/
        │       ├── plugin.lang.php
        │       ├── description.txt
        │       └── index.php         # Redirection vers "root/"
        │
        ├── root/
        │   ├── smileys-votes.php       # Liste de toutes les réactions
        │   ├── reaction_limit.php      # Page d’erreur en cas de dépassement de limite de réaction
        │   └── themes/
        │       └── Active_thema/
        │           └── themes/
        │               └── template/
        │                   ├── reaction_limit.tpl   # Modèle pour la page d’erreur
        │                   └── smileys-votes.tpl    # Modèle pour smileys-votes.php
        │
        ├── template/
        │   ├── admin_like_dislike.tpl  # Onglet pour liste existante, réglages, modification du modèle de smileys
        │   ├── buttons_1.tpl           # Boutons de vote
        │   └── buttons_2.tpl           # Boutons de vote
        │
        ├── action.php                  # Traite les actions comme les votes
        ├── admin.php                   # Zone d’administration du plugin : charge les fonctions, enregistre/réinitialise les paramètres
        ├── functions.inc.php           # Collection principale de fonctions
        ├── index.php                   # Redirection vers "root/"
        ├── main.inc.php                # Entrée principale du plugin (par ex. CSS/JS, logique d’affichage)
        ├── maintain.inc.php            # Installation et désinstallation du plugin
        ├── plugin.xml                  # Métadonnées du plugin (nom, version, description, etc.)
        ├── description.html            # Description
        └── strukture.php               # Logique de structure/initialisation pour Smileys Votes