Page Index Toggle Pages: 1 2 [3] 
Topic Tools
Very Hot Topic (More than 25 Replies) Add [noparse] to YaBBC and "don't parse" checkbox (Read 15,424 times)
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Add [noparse] to YaBBC and "don't parse" checkbox
Reply #30 - May 30th, 2009 at 8:11am
Post Tools
OH Eng wrote on May 29th, 2009 at 10:12pm:
Ahh... nevermind.I see you put an extra one in there just as a title.

Grin Grin
  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Carsten
Ex Member


Re: Add [noparse] to YaBBC and "don't parse" checkbox
Reply #31 - May 31st, 2009 at 5:26pm
Post Tools
A old bug seems to have become more obvious when this feature was implemented - pointed out by AntonioK here: http://www.yabbforum.com/community/YaBB.pl?num=1243704629

Same thing would happen if you have smilies in your signature. The fix is to 'neutralize' $ns while the members display info is loaded:

In Display.pl find
Code
Select All
		if ($musername ne 'Guest' && !$yyUDLoaded{$musername} && -e ("$memberdir/$musername.vars")) {
			&LoadUserDisplay($musername);
		} 


and replace it with
Code
Select All
		if ($musername ne 'Guest' && !$yyUDLoaded{$musername} && -e ("$memberdir/$musername.vars")) {
			my $tmpns = $ns;
			$ns = "";
			&LoadUserDisplay($musername);
			$ns = $tmpns;
		} 

  
Back to top
 
IP Logged
 
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Add [noparse] to YaBBC and "don't parse" checkbox
Reply #32 - May 31st, 2009 at 5:39pm
Post Tools
New Display.pl in CVS/SVN.

Thnx Carsten. Smiley
  

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