Customizing SMF > SMF Coding Discussion
Small bug with the Self Ban modification
(1/1)
Fr3ak:
Hi guys,
One of my Administrators on my forum have installed a modification that goes by the name "Self Ban" which is pointless really.
When he installed the modification, it shows this above the forum:
--- Code: ---$txt['permissionname_profile_selfban'] = 'Allow members to ban their own account'; $txt['banAccount'] = 'Self-ban'; $txt['profileBanAccount'] = 'Ban this account'; $txt['create_selfbanAccount'] = 'Create a ban'; $txt['selfban_on_email'] = 'Ban on Email Address (%s)'; $txt['selfban_error_reason'] = 'Please specify a reason for your ban'; $txt['selfban_error_expire_date'] = 'Please specify how long the ban will last'; $txt['selfban_error_cannot'] = 'Please specify if you won\'t be able to login and/or post';$txt['IP-location'] = 'IP-Address.com Tracer';
--- End code ---
- Click the image to maximize it.
He said that he removed the modification but instead he just clicked delete. I tried to reinstall the modification and it said it was already installed and no upgrades are available. There are no backups of the forum made at this time. Is there any way I can remove this because the forum isn't displaying correctly for example; some fonts are larger than they should be (No, my zoom on Google Chrome is at 100%) and I can't seem to get my head around this.
Please, if there is anyone out there that can help me fix this problem, please help.
This is the link to the modification - http://custom.simplemachines.org/mods/index.php?mod=3113
Kind regards,
Sean
IchBin™:
Where you download the mod you can click the parse button to see the instructions the mod uses to install into SMF. YOu simply need to uninstall by removing/altering the code it touches in SMF. In the future you should post in the support boards since this is not a bug in SMF. :)
emanuele:
--- Quote from: Fr3ak on July 27, 2012, 10:17:08 AM ---"Self Ban" which is pointless really.
--- End quote ---
Do you really think anything I do has a meaning? Poor guy... :P
BTW you have an error in your Modifications.english.php, probably some of the strings ended up outside the php closing tag ("?>").
Fr3ak:
--- Quote from: emanuele on July 27, 2012, 11:41:02 AM ---
--- Quote from: Fr3ak on July 27, 2012, 10:17:08 AM ---"Self Ban" which is pointless really.
--- End quote ---
Do you really think anything I do has a meaning? Poor guy... :P
BTW you have an error in your Modifications.english.php, probably some of the strings ended up outside the php closing tag ("?>").
--- End quote ---
Didn't realize that you made this >_<
Just checked the Modifications.english.php and found the "Self Ban" code and I removed that, refreshed my forum and now it's working :)
Thanks for the help guys :)
emanuele:
--- Quote from: Fr3ak on July 27, 2012, 12:07:21 PM ---Didn't realize that you made this >_<
--- End quote ---
Don't be afraid, it *is* pointless! :P
--- Quote from: Fr3ak on July 27, 2012, 12:07:21 PM ---Just checked the Modifications.english.php and found the "Self Ban" code and I removed that, refreshed my forum and now it's working :)
--- End quote ---
Removing the text completely will most likely cause undefined index errors if you still have the mod installed. ;)
Navigation
[0] Message Index
Go to full version