Forum - Accepting Code of Conduct
|
muscapaul |
Posted on 25-05-2007 12:18
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
The first public alpha is presented for Forum - Accepting Code of Conduct.
* This infusion lets Members read and accept a Code of Conduct before they can post in the Forum (either replies or new threads).
* Option to make Members read the Code of Conduct and accept it again after one month, three months or a year (default is one month).
* Option to disable the system without defusing it (enabled by default).
* Option to empty the table that holds the data of who accepted the Code of Conduct. This is useful, for example, when the Code of Conduct is updated and Members have to accept the new Code.
* The Code of Conduct is read from a separate text file that can easily be edited or exchanged for another. The txt file needs to be placed in the ../infusions/forum_coc folder and the name of the file needs be entered in the Settings Panel of the Infusion. A general example is given for the Code of Conduct but this should be updated for your site because every forum is unique. The default setting in the database is 'coc.txt' and an example file with that name is given in the ../infusions/forum_coc folder (exactly the same as the file example_coc.txt in the root of this folder).
* A link to the Forum - Code of Conduct is automatically added to the Navigation Panel. Members who have not yet accepted the code will automatically get the opportunity to accept it. Non-members will just see the Code.
DOWNLOAD:
Forum-COC_20070525.zip (last updated: 25.05.2007)
Edited by muscapaul on 18-09-2008 13:23
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
muscapaul |
Posted on 18-08-2008 20:41
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
New version: v1.00
Changes in this version:
* Completely updated to run under PHP-Fusion v7.
Upgrading from PHP-Fusion v6 to PHP-Fusion v7:
Upgrading starts by uploading the infusion files, overwriting the existing ones, and uploading the modified core files or updating them manually (see readme file).
PHP-Fusion v7 utilises a somewhat different system for administering admin rights for Infusions. In v6 it used to be a single setting that gave rights to all Infusions. Under the new version every infusion will be given its own code for admin rights. As a result it is necessary to run an upgrade script (../infusions/forum_coc/v6-7upgrade.php) that will at least at the rights for the primary Superadministrator. The file has checkboxes to indicate whether all superadmins should be given access rights to this Infusion and/or whether all admins should be given those rights. This script only needs to be run if a site is upgraded from PHP-Fusion v6 to v7. Even though a check has been built in to prevent the script from being run after the upgrade has already been performed, it is advised to delete the script from your server after upgrading.
DOWNLOAD (last updated: 18.09.2008)
18.09.2008: Danish locale added.
Edited by muscapaul on 18-09-2008 13:24
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
helmuth |
Posted on 31-08-2008 02:57
|
Member
Posts: 23
Joined: 26.04.06
|
attached the Danish locales
helmuth attached the following file:
danish_12.zip |
|
|
|
muscapaul |
Posted on 18-09-2008 13:23
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
Download updated.
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
Diabelez |
Posted on 30-10-2008 00:37
|
Member
Posts: 8
Joined: 21.02.07
|
When i try to install this infusion, nothing show up in Infusions after i have infused it :S
I have tried to defuse it and infuse it again, but nothing works
I have followed the readme very carefully
Edit: Its V7
Edited by Diabelez on 30-10-2008 00:37 |
|
|
|
muscapaul |
Posted on 30-10-2008 01:02
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
I will check it again on a fresh installation tomorrow.
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
muscapaul |
Posted on 30-10-2008 13:34
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
Issue fixed.
New version: v1.01
Changes in this version:
- Replaced the wrong infusion.php file with the correct one.
- Version number removed from table header in settings page.
- Error fixed: Upgrade script was faulty for updating the admin rights in the admin table. If you experience any problems related to admin rights, please run the code as given in the forum on http://www.muscap...read_id=38.
- Dutch locale added.
Upgrading from PHP-Fusion v6 to PHP-Fusion v7:
Upgrading starts by uploading the infusion files, overwriting the existing ones, and uploading the modified core files or updating them manually (see readme file).
PHP-Fusion v7 utilises a somewhat different system for administering admin rights for Infusions. In v6 it used to be a single setting that gave rights to all Infusions. Under the new version every infusion will be given its own code for admin rights. As a result it is necessary to run an upgrade script (../infusions/forum_coc/v6-7upgrade.php) that will at least at the rights for the primary Superadministrator. The file has checkboxes to indicate whether all superadmins should be given access rights to this Infusion and/or whether all admins should be given those rights. This script only needs to be run if a site is upgraded from PHP-Fusion v6 to v7. Even though a check has been built in to prevent the script from being run after the upgrade has already been performed, it is advised to delete the script from your server after upgrading.
DOWNLOAD (last updated: 30.10.2008)
Edited by muscapaul on 30-10-2008 13:55
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
Diabelez |
Posted on 31-10-2008 00:36
|
Member
Posts: 8
Joined: 21.02.07
|
Thank you, now it works |
|
|
|
Diabelez |
Posted on 27-11-2008 23:58
|
Member
Posts: 8
Joined: 21.02.07
|
There is a noticeerror when you are not logged in:
Notice: Undefined index: user_id in /infusions/forum_coc/forum_coc.php on line 32
But when you are logged in, there is no problems...
Is it possible to fix that error? |
|
|
|
muscapaul |
Posted on 28-11-2008 01:20
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
On what page?
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
Diabelez |
Posted on 28-11-2008 03:27
|
Member
Posts: 8
Joined: 21.02.07
|
http://bodymod.dk...um_coc.php |
|
|
|
muscapaul |
Posted on 28-11-2008 13:31
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
Issue fixed.
New version: v1.02
Changes in this version:
- * Undefined index error on forum_coc.php for Guest fixed.
Upgrading from PHP-Fusion v6 to PHP-Fusion v7:
Upgrading starts by uploading the infusion files, overwriting the existing ones, and uploading the modified core files or updating them manually (see readme file).
PHP-Fusion v7 utilises a somewhat different system for administering admin rights for Infusions. In v6 it used to be a single setting that gave rights to all Infusions. Under the new version every infusion will be given its own code for admin rights. As a result it is necessary to run an upgrade script (../infusions/forum_coc/v6-7upgrade.php) that will at least at the rights for the primary Superadministrator. The file has checkboxes to indicate whether all superadmins should be given access rights to this Infusion and/or whether all admins should be given those rights. This script only needs to be run if a site is upgraded from PHP-Fusion v6 to v7. Even though a check has been built in to prevent the script from being run after the upgrade has already been performed, it is advised to delete the script from your server after upgrading.
DOWNLOAD (last updated: 30.11.2008)
* forgot to add the corrected file to the download...
Edited by muscapaul on 30-11-2008 13:37
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
Diabelez |
Posted on 29-11-2008 04:57
|
Member
Posts: 8
Joined: 21.02.07
|
After i have uploaded the new files, i still got the error as a guest |
|
|
|
muscapaul |
Posted on 30-11-2008 13:34
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
Sorry, forgot to move the corrected file from the test site to the updated package. You only need to upload the file ../infusions/forum_coc/forum_coc.php to your server.
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
Diabelez |
Posted on 04-12-2008 21:48
|
Member
Posts: 8
Joined: 21.02.07
|
Super...
But... Now I have found another problem.
In the same file, when the systems ask for COC-accept:
Notice: Undefined variable: frequency in /infusions/forum_coc/forum_coc.php on line 95 |
|
|
|
muscapaul |
Posted on 12-12-2008 15:54
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
Issue fixed.
New version: v1.03
Changes in this version:
- Incorrect default value in settings table corrected (thx to Diabelez for reporting the error).
Upgrading from v1.02 to 1.03:
Upload the new ../infusions/forum_coc/infusion.php to your server and upgrade the infusion. If you have the error on the Forum - CoC page, then go to the Forum - COC settings tab and simply click on 'Save Settings' and the incorrect value will b corrected in teh database.
Upgrading from PHP-Fusion v6 to PHP-Fusion v7:
Upgrading starts by uploading the infusion files, overwriting the existing ones, and uploading the modified core files or updating them manually (see readme file).
PHP-Fusion v7 utilises a somewhat different system for administering admin rights for Infusions. In v6 it used to be a single setting that gave rights to all Infusions. Under the new version every infusion will be given its own code for admin rights. As a result it is necessary to run an upgrade script (../infusions/forum_coc/v6-7upgrade.php) that will at least at the rights for the primary Superadministrator. The file has checkboxes to indicate whether all superadmins should be given access rights to this Infusion and/or whether all admins should be given those rights. This script only needs to be run if a site is upgraded from PHP-Fusion v6 to v7. Even though a check has been built in to prevent the script from being run after the upgrade has already been performed, it is advised to delete the script from your server after upgrading.
DOWNLOAD (last updated: 12.12.2008)
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
muscapaul |
Posted on 15-01-2009 22:37
|
Super Administrator
Posts: 368
Joined: 24.03.06
|
New version: v1.04
Changes in v1.04:
- Updated modified core file ../forum/viewthread.php after PHP-Fusion core update to v7.00.05.
Upgrading from versions earlier than 1.03:
Upgrade as described above in this thread.
Upgrading from v1.03:
Upload the contents of the files and the changed-files folders to the root of your PHP-Fusion installation. Please not that if you modified any of the files in the changed-files folder for other purposes that you need to perform the necessary modifications manually as described in the readme.
DOWNLOAD (last updated: 15.01.2009)
Paul
Time flies like an arrow, fruit flies like banana (Groucho Marx)
sites: www.diptera.info (site owner); www.phpfusion-ned... (superadministrator) |
|
|
|
Oskar |
Posted on 17-08-2009 00:58
|
Member
Posts: 1
Joined: 10.04.07
|
Anyone have make it works on FB4? |
|
|
|
Giuseppe |
Posted on 20-11-2010 06:55
|
Member
Posts: 1
Joined: 04.12.07
|
hi i need too this for FB4
sorry for my bad english |
|
|