Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "phpbb-extension",
"description": "GDPR-ready consent manager for phpBB forums, providing category consent, deferred script and iframe loading, consent logging, and extension integration APIs.",
"homepage": "https://www.phpbb.com/",
"version": "1.0.1",
"version": "1.0.2-dev",
"keywords": ["phpbb", "extension", "gdpr", "consent", "cookies"],
"license": "GPL-2.0-only",
"authors": [
Expand All @@ -14,7 +14,7 @@
],
"require": {
"php": ">=7.2",
"composer/installers": "^1.0 || ^2.0",
"composer/installers": "~1.0",
"ext-dom": "*"
},
"require-dev": {
Expand All @@ -23,7 +23,7 @@
"extra": {
"display-name": "Consent Manager",
"soft-require": {
"phpbb/phpbb": ">=3.3.5"
"phpbb/phpbb": ">=3.3.5,<4.0.0@dev"
}
}
}
3 changes: 2 additions & 1 deletion ext.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public function is_enableable()
*/
protected function check_phpbb_version()
{
return phpbb_version_compare(PHPBB_VERSION, '3.3.5', '>=');
return phpbb_version_compare(PHPBB_VERSION, '3.3.5', '>=')
&& phpbb_version_compare(PHPBB_VERSION, '4.0.0-dev', '<');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion language/en/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
}

$lang = array_merge($lang, [
'CONSENTMANAGER_NOT_ENABLEABLE' => 'Consent Manager could not be enabled. The minimum requirements of phpBB 3.3.5 and/or PHP 7.2 were not satisfied.',
'CONSENTMANAGER_NOT_ENABLEABLE' => 'Consent Manager could not be enabled. The phpBB and PHP version requirements were not satisfied.',
]);
Loading