Anti-spam MOD for phpBB3, extension for phpbb3.1
User avatar
Posts: 1115
Joined: 16 Mar 2011, 12:51
Has thanked: 158 times
Been thanked: 67 times


Unread post by shagimuratov » 05 Feb 2015, 07:15

How to update the MOD on phpBB 3.0.X?
ATTENTION! You have to update MOD only by uninstall - install steps!
1. Uninstall via Automod current MOD version.
2. Download latest MOD version.
3. Install MOD via Automod.
4. In ACP enter the key: Administration Control Panel -> MODS -> CleanTalk -> Settings
5. Do dummy registration with email "stop_email@example.com". You should get reject notice by the MOD.

After update I have ct_mail() error issue
The issue like bellow happens if you update plugin without uninstalling the previous version.

Code: Select all

Fatal error: Cannot redeclare ct_error_mail() (previously declared in PHPBB_ROOT/includes/cleantalk.php:34) in PHPBB_ROOT/includes/cleantalk.php on line 67
To resolve issue follow this,
1. Download and extract previous CleanTalk MOD (which was before the update),
2. Open in any browser install.xml.
3. Go to includes/ucp/ucp_register.php instructions inside install.xml.
4. Open to edit file PHPBB_ROOT/includes/ucp/ucp_register.php.
5. Remove patches as described in install.xml (there are described how to apply patches, but you should remove, not apply).
6. Do dummy registration with any valid email. You should not get any phpBB3 or MOD errors.
7. Repeat steps 3-5 for PHPBB_ROOT/posting.php.
Denis Shagimuratov
Project leader