Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:plugins:statistics [2018/02/25 10:30] fasseen:plugins:statistics [2024/03/18 19:53] (current) fasse
Line 4: Line 4:
  
 ==== Downloads ==== ==== Downloads ====
-[[https://www.admidio.org/intern/adm_program/modules/downloads/get_file.php?file_id=169|statistics_2.2.1.zip]] - **(Admidio 3.2)**\\  
-[[https://www.admidio.org/intern/adm_program/modules/downloads/get_file.php?file_id=184|statistics_2.3.0.zip]] - (Admidio 3.3 Beta) 
  
-Ältere Versionen:\\  +<WRAP download 60%> 
-[[https://www.admidio.org/intern/adm_program/modules/downloads/get_file.php?file_id=157|statistics_2.1.0.zip]] - (Admidio 3.1)\\  +[[https://www.admidio.org/intern/adm_program/modules/documents-files/get_file.php?file_uuid=0759c809-aa74-4491-8da9-c362b5a9d21a|statistics-3.4.1.zip]] - **(Admidio 4.1 or newer)**\\  
-[[https://www.admidio.org/intern/adm_program/modules/downloads/get_file.php?file_id=74|statistics_2.0.0.zip]] - (Admidio 3.0)\\  +</WRAP> 
-[[https://www.admidio.org/intern/adm_program/modules/downloads/get_file.php?file_id=73|statistics_1.1.2.zip]] - (Admidio 2.4)+ 
 +Older versions:\\  
 +[[https://www.admidio.org/intern/adm_program/modules/documents-files/get_file.php?file_uuid=9313315e-48d9-4d05-bf08-780d985c54c7|statistics-3.1.3.zip]] - (Admidio 4.0)\\  
 +[[https://www.admidio.org/intern/adm_program/modules/documents-files/get_file.php?file_uuid=cf435477-d3f3-447c-b892-8ed43433f2b5|statistics-3.0.0.zip]] - (Admidio 3.3)\\  
 +[[https://www.admidio.org/intern/adm_program/modules/documents-files/get_file.php?file_uuid=528400c7-5c18-4141-9253-08ee78876b7f|statistics-2.2.1.zip]] - (Admidio 3.2)\\  
 +[[https://www.admidio.org/intern/adm_program/modules/documents-files/get_file.php?file_uuid=45a585a6-d353-4f00-807f-1cccdcbcbf63|statistics-2.1.0.zip]] - (Admidio 3.1)\\  
 +[[https://www.admidio.org/intern/adm_program/modules/documents-files/get_file.php?file_uuid=83815e11-3c1d-421d-89a2-e91e7463db07|statistics-2.0.0.zip]] - (Admidio 3.0)\\  
 +[[https://www.admidio.org/intern/adm_program/modules/documents-files/get_file.php?file_uuid=c87264ba-4ffb-4549-a62d-c5894e4e82e2|statistics-1.1.2.zip]] - (Admidio 2.4)
  
 ==== Informationen ==== ==== Informationen ====
-Formerly supervised by: **kcn/Alexn**\\ +Formerly supervised by: **Fasse** //formely: kcn/Alexn//\\ 
  
-Plugin-Version:     **2.2.1**\\ +Plugin-Version:     **3.4.1**\\ 
  
-Necessary Admidio-Version:  **3.2**\\ +Necessary Admidio-Version:  **4.1**\\ 
  
 Supported databases:  **MySQL, PostgreSQL**\\  Supported databases:  **MySQL, PostgreSQL**\\ 
  
-Supported Languages: **Deutsch**+Supported Languages: **German, English**
  
 License: **GPL 2** License: **GPL 2**
Line 35: Line 40:
  
 ===== Installation ===== ===== Installation =====
-The installation is carried out as follows:+The following steps are required during the installation of plugin version >= 3.0:
  
-  -Unzip the contents of the file  __statistics_1.x.x.zip__ to //adm_plugins// +  * Unzip the contents of the file  __statistics_3.x.x.zip__ to the folder //adm_plugins// 
-  -Please add the following line in the file adm_themes/modern/**my_body_bottom.php**:\\ <code>include(ADMIDIO_PATH . FOLDER_PLUGINS . "/adm_plugins/statistics/statistics.php");</code> +  * Go to the following page <code>https://www.your-admidio-page.de/adm_plugins/statistics/install/install.php</code> 
-  -Log in Admidio and click Statistics menu on item "Install/Uninstall" +  * Now do the installation. 
-  -Install the plugin with the Installation Manager+  * Log in to Admidio and set the appropriate access rights for the newly added menu items **Statistics** and **Statistics Editor**. These are automatically transferred to the plugin pages. 
 + 
 +The installation of the plugin version < 3.0 ​is carried out as follows: 
 +   
 +  - Unzip the contents of the file  ​__statistics_2.x.x.zip__ to //adm_plugins//​  
 +  - Please add the following line in the file adm_themes/modern/**my_body_bottom.php**:\\ <code>include(ADMIDIO_PATH . FOLDER_PLUGINS . "/statistics/statistics.php");</code> 
 +  - Log in Admidio and click Statistics menu on item "Install/Uninstall"​  
 +  - Install the plugin with the Installation Manager
  
 ==== Update ==== ==== Update ====
-  * Within the first step you should save the file **config.php** in your plugin folder. +  * All files from the existing plugin folder must be replaced with the files from the new version. 
-  * Now replace alle files of your plugin folder with the files of the new version. + 
-  * Upload your saved **config.php** to your plugin folder and override the existing file.+<WRAP important>For an update from a version smaller than 3.0.0, the following file must be called once. <code>https://www.your-admidio-homepage.org/adm_plugins/statistics/statistics.php</code> This adds the menu items to the menu of Admidio. If this file call is still included in a theme file, then this entry can be removed after this call. 
 +</WRAP>
  
 ===== Configuration of permissions ===== ===== Configuration of permissions =====
- +The access authorizations can be managed from version 3.0 of the plugin via the role assignment in the menu itemsThere you can assign any roles to a menu item that can see this menu item. The plugin checks this role mapping and displays the corresponding pages only to members of these roles.
-In the __config.php__ file permissions for the plugin are stored. +
-The following permissions are available: +
-  ***$allowInstall** - determines who can install & uninstall the plugin +
-  ***$allowConfig** - determines who can edit statistics +
-  ***$allowShow** - determines who is allowed to view statistics +
- +
-Here are some examples of how permissions can be configured: +
-  *Allow function for certain user group\\ <code>$allowConfig = array('Webmaster');</code> +
-  *To activate a function for several user groups, just the array extend around the respective groups\\ <code>$allowShow = ('Webmaster','Vorstand','Rollenname1','Rollenname2');</code> +
- +
-Possible user groups are: +
-  ***All** - everyone has access to the module (not recommended) +
-  ***User** - Only registered users (not recommended) +
-  ***Role Manager** - only users with rights "to create roles" (not recommended) +
-  ***<Rolename>** - only members of this role+
  
 ==== Complete User's Guide ==== ==== Complete User's Guide ====
Line 70: Line 68:
  
 ==== Versionshistorie ==== ==== Versionshistorie ====
 +//3.4.1 (18.03.2024)//
 +  * Fix that allows to edit roles within the menu entry of the plugin
 +
 +//3.3.0 (28.12.2023)// 
 +  * Fixes for Admidio 4.3
 +  * Automatically forward to installation page
 +
 +
 +//3.3.0 (21.08.2023)// 
 +  * Fixes for PHP8 compatibility
 +  * Fix saving of Statistics
 + 
 +//3.2.1 (15.11.2022)// 
 +  * fix some minor bugs within the editor
 +
 +//3.2.0 (05.12.2021)//
 +  * Compatible with Admidio 4.1
 +
 +//3.1.3 (27.12.2020)//
 +  * Replace deprecated function admStrToUpper
 +
 +//3.1.2 (07.11.2020)//
 +  * Compatible with Admidio from version 4.0
 +
 +//3.0.0 (07.08.2019)//
 +  * Calling up a print preview (RMB)
 +  * Inclusion of script calls in the Admidio menu
 +  * Management of access permissions via the role assignment to the menu items
 +  * English translation
 +  * Remove config.php
 +  * Bugfix at the evaluation of dropdown field conditions
 +
 +//2.3.2 (17.06.2018)//
 +  * Remove direct includes of Admidio classes and use autoloader (Fasse)
  
 //2.3.0 (25.02.2018)// //2.3.0 (25.02.2018)//
  • en/plugins/statistics.1519551044.txt.gz
  • Last modified: 2018/02/25 10:30
  • by fasse