Page Index Toggle Pages: 1
Topic Tools
Normal Topic Smilies in Censored Words? (Read 4,070 times)
CaysE
YaBB Newcomer
*
Offline



Posts: 24
Smilies in Censored Words?
Aug 23rd, 2009 at 6:30pm
Post Tools
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 »  
Back to top
 
IP Logged
 
Carsten
Ex Member


Re: Smilies in Censored Words?
Reply #1 - Aug 26th, 2009 at 8:44pm
Post Tools
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
  
Back to top
 
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Smilies in Censored Words?
Reply #2 - Aug 27th, 2009 at 4:36am
Post Tools
New Display.pl in SVN.
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top