News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Uncensored Boards

Started by Acans, October 08, 2009, 02:29:35 AM

Previous topic - Next topic

Acans

Compatibility
For SMF 2.0 RC1.2, 2.0 RC2, 2.0 RC3 and 2.0 RC4.

Introduction

This mod allows admins to set censors up as normal but for one or two boards, for example an 'adults only' board, to disable the censoring system.

This mod requires 2.0 only features and cannot be backported to 1.1.

Updates

1.5 ~ 21/11/10
Update for 2.0 RC4 compatibility and changed how the mod installs/uninstalls.

1.4 ~ 13/03/10
Update for 2.0 RC3 compatibility

1.3 ~ 13/11/09
Fixed for minor typo bug in ModerationCenter.php. Just uninstall, redownload and reinstall.

1.2 ~ 31/10/09
Update for 2.0 RC2 compatibility

1.1 ~ 19/10/09
Minor bugfix with respect to admin panel quick search

1.0 ~ 28/09/09
Initial release
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not
  dead yet, the time was soon to come to pass when mysql_query shall be gone and no more

TC Carl


Folks using 1.1.x can refer to this small mod to exclude certain boards from the censor:

http://www.simplemachines.org/community/index.php?topic=17809.0

I use this and it's very handy for separating the adult jokes from the main board.


Tanks

This mod installed fine on my SMF 2.0 RC2

Then after a few hours i got this error, but only as admin

Parse error: syntax error, unexpected T_VARIABLE in \Sources\ModerationCenter.php on line 1401

I have replaced that file with a standard ModerationCenter.php file, so i got my forum working again.

I will attach the file with the error, maybe you can have a look at it so i can reupload it to my forum. Thanks.

Cheers,

Tanks

Arantor

Argh, stupid fault on my part, though no-one mentioned it in the last month :-S Thanks for letting me know.

Easy fix even from the modified version. Find:$context['bi_board'] = $row['id_board'] and add a ; at the end of that line.

I'll upload a fixed version in just a moment. EDIT: Uploaded now.
Holder of controversial views, all of which my own.


Tanks

Thanks, that seemed to fix the error. And thanks alot for the very useful mod ;)

Arantor

Good to know :)

Let me know if you have any other problems.
Holder of controversial views, all of which my own.


Dumpy

Will this mod be updated anytime soon for RC5?  My members miss their uncensored boards - foul mouthed beggars lol ;D

Robin1989

has anyone tested this on RC5 to see if it works?

Arantor

There's really no reason why not when it works on earlier versions. At worst you should need to use emulate from Admin > Packages > Browse Packages > Advanced
Holder of controversial views, all of which my own.


Robin1989

yeah just installed it and it worked fine once i emulated rc4

OChaos

Nice Mod, this works great for an uncensored VIP board we have.   Thanks!

anakmacan

Please make version for 2.0.1..

Robert.


Advertisement: