Thread subject: muscapaul's PHP-Fusion website :: Forum - Accepting Code of Conduct

Posted by muscapaul on 25-05-2007 12:18
#1

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)


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 18-09-2008 13:23

Posted by muscapaul on 18-08-2008 20:41
#2

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.


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 18-09-2008 13:24

Posted by helmuth on 31-08-2008 02:57
#3

attached the Danish locales ;)

Posted by muscapaul on 18-09-2008 13:23
#4

Download updated.

Posted by Diabelez on 30-10-2008 00:37
#5

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


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by Diabelez on 30-10-2008 00:37

Posted by muscapaul on 30-10-2008 01:02
#6

I will check it again on a fresh installation tomorrow.

Posted by muscapaul on 30-10-2008 13:34
#7

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)


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 30-10-2008 13:55

Posted by Diabelez on 31-10-2008 00:36
#8

Thank you, now it works :)

Posted by Diabelez on 27-11-2008 23:58
#9

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? :)

Posted by muscapaul on 28-11-2008 01:20
#10

On what page?

Posted by Diabelez on 28-11-2008 03:27
#11

http://bodymod.dk...um_coc.php

Posted by muscapaul on 28-11-2008 13:31
#12

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... :(


Notice: Undefined index: post_edituser in /home/muscapal/public_html/print.php on line 114
Edited by muscapaul on 30-11-2008 13:37

Posted by Diabelez on 29-11-2008 04:57
#13

After i have uploaded the new files, i still got the error as a guest :(

Posted by muscapaul on 30-11-2008 13:34
#14

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.

Posted by Diabelez on 04-12-2008 21:48
#15

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

Posted by muscapaul on 12-12-2008 15:54
#16

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)

Posted by muscapaul on 15-01-2009 22:37
#17

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)

Posted by Oskar on 17-08-2009 00:58
#18

Anyone have make it works on FB4?

Posted by Giuseppe on 20-11-2010 06:55
#19

hi i need too this for FB4


sorry for my bad english