Page Index Toggle Pages: 1
Topic Tools
Normal Topic noparse issues with News-scroller (Read 1,475 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,126
Location: Earth

YaBB 2.6.0
Re: noparse issues with News-scroller
Reply #4 - Nov 6th, 2012 at 9:33pm
Post Tools
This Topic was moved here from YaBB 2 - Bugs [Need Verification] [move by] Dandello.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,126
Location: Earth

YaBB 2.6.0
Re: noparse issues with News-scroller
Reply #3 - Aug 16th, 2012 at 11:01pm
Post Tools
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.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,126
Location: Earth

YaBB 2.6.0
Re: noparse issues with News-scroller
Reply #2 - Aug 14th, 2012 at 10:18pm
Post Tools
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?
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,126
Location: Earth

YaBB 2.6.0
Re: noparse issues with News-scroller
Reply #1 - Aug 14th, 2012 at 7:43pm
Post Tools
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.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,126
Location: Earth

YaBB 2.6.0
noparse issues with News-scroller
Aug 14th, 2012 at 12:31am
Post Tools
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 »  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top