Membership Plug-in
-
- Beiträge: 8
- Registriert: 4. Aug 2020, 20:34
Membership Plug-in
i want to install the membership plug-in.
can someone tell me the correct way to install it.....
thanks in advance
Daren
can someone tell me the correct way to install it.....
thanks in advance
Daren
Re: Membership Plug-in
Hi Daren,
1. Download the file mitgliedsbeitrag_4.3.4.zip from the Plugins area on this page
2. Copy this zip file into the adm_plugins folder of your Admidio installation and unzip it
(If your FTP program cannot unzip, then unzip the zip file on your local PC and copy the folder mitgliedsbeitrag into the adm_plugins folder of your Admidio installation)
3. Now log in to Admidio and call up the menu module
4. In menu you create a new entry
Name: Membership fee
Menu level: --Plugins
URL: /adm_plugins/mitgliedsbeitrag/mitgliedsbeitrag.php
Visible for: Administrator (an entry in "Visible for" does not necessarily have to be, but if you do not specify a role here, everyone (!!!) can start the plugin)
5. Before the first start of the membership fee plugin, you should enter values for "Contribution €" and "Contribution period" for at least one role (e.g. "Member") (otherwise an error message appears)
6. When the plug-in is started for the first time, a setup routine is run through which then creates additional profile fields.
rmb
1. Download the file mitgliedsbeitrag_4.3.4.zip from the Plugins area on this page
2. Copy this zip file into the adm_plugins folder of your Admidio installation and unzip it
(If your FTP program cannot unzip, then unzip the zip file on your local PC and copy the folder mitgliedsbeitrag into the adm_plugins folder of your Admidio installation)
3. Now log in to Admidio and call up the menu module
4. In menu you create a new entry
Name: Membership fee
Menu level: --Plugins
URL: /adm_plugins/mitgliedsbeitrag/mitgliedsbeitrag.php
Visible for: Administrator (an entry in "Visible for" does not necessarily have to be, but if you do not specify a role here, everyone (!!!) can start the plugin)
5. Before the first start of the membership fee plugin, you should enter values for "Contribution €" and "Contribution period" for at least one role (e.g. "Member") (otherwise an error message appears)
6. When the plug-in is started for the first time, a setup routine is run through which then creates additional profile fields.
rmb
-
- Beiträge: 3
- Registriert: 11. Aug 2020, 17:45
Re: Membership Plug-in
Hi,
I did this with Mitgliedsbeitrag as also written here:
https://www.admidio.org/dokuwiki/doku.p ... edsbeitrag
But when first called, only a white page appears.
I noticed, there is a /mitgliedsbeitrag/installation.php - do I have to call that manually?
(even if I do, there also only appears an empty page).
Thanks a lot!
I did this with Mitgliedsbeitrag as also written here:
https://www.admidio.org/dokuwiki/doku.p ... edsbeitrag
But when first called, only a white page appears.
I noticed, there is a /mitgliedsbeitrag/installation.php - do I have to call that manually?
(even if I do, there also only appears an empty page).
Thanks a lot!
Re: Membership Plug-in
Hi MarcoElias,
the installation.php is called automatically if necessary profile fields are missing.
Which plugin version and which Admidio version do you use?
Turn on the debug mode in config.php (from Admidio).
and add these lines to mitgliedsbeitrag.php (at the beginning):
Are there any error messages when starting the plugin?
Check also the logs file in adm_my_files.
rmb
the installation.php is called automatically if necessary profile fields are missing.
Which plugin version and which Admidio version do you use?
Turn on the debug mode in config.php (from Admidio).
Code: Alles auswählen
$gDebug=1;
Code: Alles auswählen
error_reporting(E_ALL);
ini_set('display_errors', 1);
Check also the logs file in adm_my_files.
rmb
-
- Beiträge: 1
- Registriert: 25. Mär 2021, 21:17
Re: Membership Plug-in
Oh boy, another nu-b.
So, maybe I did something wrong, but I don't read German and though I suspect I installed the plugin correctly, the Admin page for it is all in German. Heck, the difficulty I had even registering for this forum became educational as it was all in German too.
Is there a version in English?
So, maybe I did something wrong, but I don't read German and though I suspect I installed the plugin correctly, the Admin page for it is all in German. Heck, the difficulty I had even registering for this forum became educational as it was all in German too.
Is there a version in English?
Re: Membership Plug-in
Hi Flyswadder,
have you changed the language from Admidio to English?
->Administration - Einstellungen - Modul Allgemein - Regionaleinstellungen - Sprache: English
->Administration - Preferences - Modul General - Regional settings - Language: English
The membership fee plugin is now displayed in English.
Unfortunately, I haven't gotten to the translation of the wiki yet.
rmb
have you changed the language from Admidio to English?
->Administration - Einstellungen - Modul Allgemein - Regionaleinstellungen - Sprache: English
->Administration - Preferences - Modul General - Regional settings - Language: English
The membership fee plugin is now displayed in English.
Unfortunately, I haven't gotten to the translation of the wiki yet.
rmb
Re: Membership Plug-in
I'm seeing the same ## slugs being presented and my error log is providing:
[2021-09-22 10:46:51.317255] Admidio.ERROR: L10N: Could not found text-id! {"textId":"PLG_MITGLIEDSBEITRAG_OTHER_CONTRIBUTION_ROLES"} {"file":"/admidio/adm_program/system/classes/Language.php","line":119,"class":"Language","function":"get"}
Why are the translations falling back to the Language.php and not the local xml file? I'm using Admidio 4.0.8 and the mitgliedsbeitrag 5.0.2
Note, my language is English and I've changed my Country and Currency as well. So it's not that my system is not setup properly.
[2021-09-22 10:46:51.317255] Admidio.ERROR: L10N: Could not found text-id! {"textId":"PLG_MITGLIEDSBEITRAG_OTHER_CONTRIBUTION_ROLES"} {"file":"/admidio/adm_program/system/classes/Language.php","line":119,"class":"Language","function":"get"}
Why are the translations falling back to the Language.php and not the local xml file? I'm using Admidio 4.0.8 and the mitgliedsbeitrag 5.0.2
Note, my language is English and I've changed my Country and Currency as well. So it's not that my system is not setup properly.
Re: Membership Plug-in
Is it just that one phrase that hasn't been translated (that would be very strange) or none at all?
If the language file was not loaded, there should be an entry in the log file, look here.
rmb
If the language file was not loaded, there should be an entry in the log file, look here.
rmb
Re: Membership Plug-in
It is all the tags of the membership plugin. I just copied one to keep the message here short. There is nothing there about missing a language file.
Is there some issue with relative pathing? Note, I did clip some other path stuff that my shared hosting added before the language plugin.
Is there some issue with relative pathing? Note, I did clip some other path stuff that my shared hosting added before the language plugin.
Re: Membership Plug-in
Add the following code to mitgliedsbeitrag.php after the require_once instructions:
rmb
Code: Alles auswählen
$gL10n->addLanguageFolderPath(ADMIDIO_PATH . FOLDER_PLUGINS . '/mitgliedsbeitrag/languages');
Re: Membership Plug-in
This resolved the issue, thanks!rmb hat geschrieben: ↑24. Sep 2021, 20:12 Add the following code to mitgliedsbeitrag.php after the require_once instructions:
rmbCode: Alles auswählen
$gL10n->addLanguageFolderPath(ADMIDIO_PATH . FOLDER_PLUGINS . '/mitgliedsbeitrag/languages');
Re: Membership Plug-in
See the attachment after the translation. Euros seems to be hard coded in instead of pulling the actual currency unit. Mostly just in the menu item.
- Dateianhänge
-
- currency.PNG (25.01 KiB) 16252 mal betrachtet
Re: Membership Plug-in
The € symbol is not hard-coded. Look behind "Total sum:"-> 0 $.
However, the symbol in front of "Paid membership fees" is hard-coded. It's an icon from the "Font Awesome" library. This symbol does not depend on the set currency, it should only represent "money".
rmb
However, the symbol in front of "Paid membership fees" is hard-coded. It's an icon from the "Font Awesome" library. This symbol does not depend on the set currency, it should only represent "money".
rmb
Re: Membership Plug-in
Understood, 0 impact on how to use the plug-in. Thanks for all the help
Re: Membership Plug-in
Hi,
just tried to install Mitgliedbetrag 5.1.6 with Admidio (fresh installation) 4.2.8. I am running php7.4 and MySQL 8.
Calling the membershift_fee.php (and auto forwarding to installation.php) gives me the following error.
Any idea how to fix this?
just tried to install Mitgliedbetrag 5.1.6 with Admidio (fresh installation) 4.2.8. I am running php7.4 and MySQL 8.
Calling the membershift_fee.php (and auto forwarding to installation.php) gives me the following error.
Any idea how to fix this?
Code: Alles auswählen
Datenbankfehler
S Q L - E R R O R
CODE: 42S22
1054
Unknown column 'usf_mandatory' in 'field list'
B A C K T R A C E
FILE: adm_program/system/classes/Database.php
LINE: 649
CALL: Database->showError()
FILE: adm_plugins/membership_fee/installation.php
LINE: 912
CALL: Database->query()
FILE: adm_plugins/membership_fee/installation.php
LINE: 269
CALL: check_DB()