YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
Smilies in Censored Words? (Read 3,920 times)
 Aug 23rd, 2009 at 6:30pm
There are no actions to perform.  

CaysE 
YaBB Newbie
*
Offline
Posts: 24


None
Smilies in Censored Words?
Since upgrading to 2.4, I can no longer use Smilies in the censored words list.  I have a the smiley ... set as :bleep in the Add More Smilies list (which works fine), but this:

fukc~:bleep

only shows the text ":bleep" instead of the actual smiley.  This used to work in earlier version of YaBB.  Any help?
« Last Edit: Aug 23rd, 2009 at 6:31pm by CaysE »  
 
IP Logged  
 Reply #1 - Aug 26th, 2009 at 8:44pm
There are no actions to perform.  
Carsten 
Ex Member


None
Re: Smilies in Censored Words?
Guess this should be considered a bug. Seems like somebody moved the censored words test down after the ubbc conversion in Display.pl in ver. 2.3.1

The fix is:

In Display.pl find:
Code Select All
		$message = $postmessage; 


and replace it with:
Code Select All
		$message = &Censor($postmessage); 


Still in Display.pl find:
Code Select All
		&ToChars($message);
		$message = &Censor($message); 


and replace it with (remove the censor test code line):
Code Select All
		&ToChars($message); 



Good catch CaysE  Smiley
 
 
IP Logged  
 Reply #2 - Aug 27th, 2009 at 4:36am
There are no actions to perform.  

Jet Li 
Legacy Dev Team
Development Team
****
Offline
Posts: 6,588
Hong Kong


None
Re: Smilies in Censored Words?
New Display.pl in SVN.
 
...
PM me for YaBB Installation Service
WWW Jet Li 100000788351637  
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.