Posted by: pyragony54 Posted on: Aug 2nd, 2016 at 4:55pm
I tested the mod. Somehow he is not working correctly. The mail that is to get the blocked user, I get in my mailbox, and looks like this:
Posted by: Dandello Posted on: Aug 1st, 2016 at 3:53pm
The email code was seriously fracked up. New zip in 1st post.
Posted by: Dandello Posted on: Aug 1st, 2016 at 2:01pm
Okay - where I'm at on testing on this server: The suspended and banned emails get sent but they are completely messed up.
Posted by: Dandello Posted on: Jul 31st, 2016 at 11:57pm
I just got back in town so I'll check this tomorrow. Edited:
Okay, Suspended is the term we're using for non-permanent bans. So that gets chosen automatically if the admin has not chosen to ban the user permanently. Permanently banned users also get a 'banned' flag in their profile.
Now to check why emails aren't being sent out. (tomorrow.)
Posted by: pyragony54 Posted on: Jul 31st, 2016 at 11:32am
I have now tested this mod for 2.6.12. So he works, but the excommunicated do not get mail. I also only the display window for banning. For suspending nothing appears on the screen. Please check the mod.
Posted by: Dandello Posted on: Feb 18th, 2016 at 6:10pm
Updated for 2.6.12.
Posted by: Dandello Posted on: Feb 18th, 2016 at 4:43pm
Advanced Time Ban is part of 2.7.00
Posted by: Dandello Posted on: Oct 29th, 2015 at 2:14pm
Dutch/Nederlands
In Email.lng find
Code
1;
Add above
Code
$yabbtags{'banneduseremail'} = q~scherm naam~;
$emaildesc{'banneduseremail'} = q~De verbannen gebruiker Notificatie email~;
$bannedusersybject = q~Uw account verbannen op~;
$banneduseremail = q~Hallo, {yabb displayname}:
U bent verbannen van {yabb mbname} {yabb ban_time} door {yabb banner}{yabb ban_reason}.
Met vriendelijke groet,
Het {yabb mbname} team
<a href="{yabb scripturl}">{yabb scripturl}</a>
~;
$yabbtags{'suspendeduseremail'} = q~scherm naam~;
$emaildesc{'suspendeduseremail'} = q~De verbannen gebruiker Notificatie email~;
$suspendusersybject = q~Uw account is geschorst op~;
$suspendeduseremail = q~Hallo, {yabb displayname}:
Uw account op {yabb mbname} is geschorst {yabb ban_time} door {yabb banner}{yabb ban_reason}.
Met vriendelijke groet,
Het {yabb mbname} team
<a href="{yabb scripturl}">{yabb scripturl}</a>
~;
In Profile.lng find
Code
1;
add before
Code
$profile_txt{'ban_page'} = q~Verbod op~;
$profile_txt{'ban_enter'} = q~Verbod~;
$profile_txt{'ban_cancel'} = q~Annuleren~;
$profile_txt{'ban_reason'} = 'Reden voor het verbod op <span class="small">(Optioneel)</span>';
$profile_txt{'email_ban'} = 'Email gebruiker met betrekking tot verbod';
$profile_txt{'ban_for'} = 'voor een';
Many thanks to Pieszyce for the Dutch/Nederlands translation.
Posted by: alqutob Posted on: Apr 13th, 2015 at 9:06pm