• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Ban Groups 1.0.1

No permission to download

Xon

Well-known member
#1
Xon submitted a new resource:

Ban Groups - Add users to different groups depending on how they are banned.

Add users to different groups depending on how they are banned.

Note; does not switch groups if the user goes from perma-baanned to temp banned or vis-versa.

On install, the "Add User Group on Ban" setting is copied into the new ban group settings.

Options
View attachment 131413

Installation

I recommend using Add-on install & upgrade or...
Read more about this resource...
 
#2
Hi, PHP 5.4 has no "finally"
"ErrorException:Fatal Error: syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH) -library/SV/BanGroups/XenForo/Model/User.php:23"

Maybe smb have a fix for this?
 

Xon

Well-known member
#3
Hi, PHP 5.4 has no "finally"
"ErrorException:Fatal Error: syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH) -library/SV/BanGroups/XenForo/Model/User.php:23"

Maybe smb have a fix for this?
Per the additional requirements this add-on requires php 5.5 or newer.
 

Xon

Well-known member
#5
Is there a way to uninstall the error while not being able to access the site, now that my site has been broken :(
https://xenforo.com/help/disable-addons-config-php/
At times, you may run into conflicts caused by add-ons. These conflicts may prevent you from accessing your control panel to disable the offending add-ons.

To fix this, you can disable add-ons via the library/config.php. Simply add this line of code at the end:

Code:
$config['enableListeners'] = false;
This will disable all code that is being run by add-ons. You should then go into the admin control panel and disable the offending add-ons from there. The line you added to library/config.php should then be removed.