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
 
noparse issues with News-scroller (Read 1,375 times)
 Aug 14th, 2012 at 12:31am
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,856
Earth


YaBB 2.5
noparse issues with News-scroller
Something I just noticed with both 2.5AE and the version of 3.0 I have running for testing.

In the Message display - if the last post in the thread has 'UBB and smilies disabled' it disables the parsing of UBB and smilies in the news-scroller.

More: on further investigation, this is an issue with 2.5AE whether using the grey-box fix or not in YaBBC.pl
« Last Edit: Aug 14th, 2012 at 1:23am by Dandello »  
WWW  
IP Logged  
 Reply #1 - Aug 14th, 2012 at 7:43pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,856
Earth


YaBB 2.5
Re: noparse issues with News-scroller
Additional : placing the message and smilies inside a [noparse][/noparse] tag instead of using the check box appears to allow the news-scroller to render properly.

There's no news-scroller active here so we can't test it out on this board.
 
WWW  
IP Logged  
 Reply #2 - Aug 14th, 2012 at 10:18pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,856
Earth


YaBB 2.5
Re: noparse issues with News-scroller
Answering my own comments again - it looks like the disable parsing checkbox was added in 2.5AE. Maybe Jet Li or one of the other coders who worked on that version can take a look and see why it effected the news-scroller?
 
WWW  
IP Logged  
 Reply #3 - Aug 16th, 2012 at 11:01pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,856
Earth


YaBB 2.5
Re: noparse issues with News-scroller
Got it.

Using the checkbox to disable parsing of ubbc tags and smiles also disables parsing of ubbc tags and smilies in the news-scroller (when in use and if the last message in the queue is the not-parsed one.)

the fix:
In ./Sources/Subs.pl find
Code Select All
			for (my $j = 0; $j < @newsmessages; $j++) {
				$message = $newsmessages[$j];
				&wrap;
				if ($enable_ubbc) {
					if (!$yyYaBBCloaded) { require "$sourcedir/YaBBC.pl"; } 



Add after:
Code Select All
					$ns = "";
 



This resets the Noparsing flag to the default of 'off' so the news-scroller parses properly.
 
WWW  
IP Logged  
 Reply #4 - Nov 6th, 2012 at 9:33pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,856
Earth


YaBB 2.5
Re: noparse issues with News-scroller
This Topic was moved here from YaBB 2 - Bugs [Need Verification] by Dandello.
 
WWW  
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.