MyBB Community Forums

Full Version: Reply Ban
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
when i use the inline thread moderation to sticky the thread
i'm getting the following error with this plugin activated

Warning [2] Cannot modify header information - headers already sent by (output started at /home/xxx/blackmarke7.com/inc/languages/zho/replyban.lang.php:1) - Line: 1932 - File: inc/functions.php PHP 5.6.36 (Linux)
File	Line	Function
[PHP]	 	errorHandler->error
/inc/functions.php	1932	header
/inc/functions.php	1945	my_setcookie
/moderation.php	3333	my_unsetcookie
/moderation.php	2018	clearinline
Warning [2] Cannot modify header information - headers already sent by (output started at /home/xxx/blackmarke7.com/inc/languages/zho/replyban.lang.php:1) - Line: 1932 - File: inc/functions.php PHP 5.6.36 (Linux)
File	Line	Function
[PHP]	 	errorHandler->error
/inc/functions.php	1932	header
/inc/functions.php	1945	my_setcookie
/moderation.php	3334	my_unsetcookie
/moderation.php	2018	clearinline

fixed by saving file in utf8 without bom
the original lang file provided was saved in utf8 with bom
how to create post with reply ban
guys someone tell me how to make thread with reply ban .
(2019-03-30, 08:18 AM)kuttysoft Wrote: [ -> ]guys someone  tell me how to make thread with reply ban .

Why do you need to make a thread where everyone will see the user being banned?

That should be made private between the Admin and the user.
@Starpaul20

Some locations for version 1.8.22 do not work well.
No warning appears.

There is no warning like the picture below.
[Image: 68747470733a2f2f726573696d61672e636f6d2f...382e706e67]

Can you update the plugin for MyBB1.8.22 comprehensive
The warning is shown when the user tries to bypass the ban.

If you want to display some warning you will need to edit the plugin file. Find:
if($existingban > 0)
 {
 $quickreply = $newreply = '';
 }

Replace with:
global $replybanned;

$replybanned = '';
 if($existingban > 0)
 {
 $replybanned = 'whatever you want to display to notify the user he is banned..';
 $quickreply = $newreply = '';
 }

Then paste {$replybanned}within your showthread template.
Plugin has been updated to 1.4

- Updated file encoding
- Banned user from editing if reply banned
- Removed buttons on postbit if banned
- Added Notice for users that are reply banned

To update, you must first deactivate the plugin (do not uninstall), upload all new files and reactivate.
Plugin has been updated to 1.5.

- Added check to see if THIS_SCRIPT is defined
- Fixed PHP 8.0 errors
- Use require_once for template updates

If you're updating from any previous version, you must first deactivate the plugin (do not uninstall), upload all new files and reactivate.
Hi really like thus plugin....it is very useful.

I would to ask if it is possible to modify it so that
a the user who starts a thread can ban others from replying to the thread?

How can this be done?

Thanks in advance.
Pages: 1 2 3 4