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
 
Functionality Issue - "/me" (Read 1,326 times)
 Aug 9th, 2012 at 3:44pm
There are no actions to perform.  

JonB 
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 3,617
Land of the Blazing Sun!


None
Functionality Issue - "/me"
In YaBB versions prior to 2.4 the /me element in the compose window italicized the entire line and set the text color to #FF0000.  Deti changed it literally on a whim. (I know because Corey asked him directly).

Stylistically, I much prefer the older rendering.

Current

JonB says 'geee that was a dumb idea'.

Traditional:

JonB says 'geee that was a dumb idea'.


JMHO -
Cool

BTW - I just used it & I have no idea if everyone 'now present' knows we have a 'noparse' tag:
Code Select All
[ noparse ]/me[ /noparse ]  



OOPS!  another one - noparse should NOT be parsed inside a 'code' tag...

Cheesy
« Last Edit: Aug 9th, 2012 at 3:46pm by JonB »  
I find your lack of faith disturbing.
 
IP Logged  
 Reply #1 - Aug 9th, 2012 at 7:30pm
There are no actions to perform.  

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


YaBB 2.5
Re: Functionality Issue - "/me"
Is this on my todo list of bug fixes?  Huh

BTW, it looks like you're having way too much fun looking for bugs... Swat! Swat! Pssst...  Cheesy (Can we get a bug spray smiley?)

Okay, to put it back exactly the way it was in ./Sources/YaBBC.pl find:
Code Select All
	$message =~ s~/me ~<i>$displayname</i> ~ig; 


and replace with this (from 2.3.1):
Code Select All
	$message =~ s~/me\s+(.*)~<span style="color: #FF0000;"><i>* $displayname $1</i></span>~ig; 



but if you want to get clever:
Code Select All
	$message =~ s~/me\s+(.*)~<span style="color: #FF0000;"><i><b>$displayname  says:</b> '$1'</i></span>~ig; 


Wink
« Last Edit: Aug 9th, 2012 at 7:52pm by Dandello »  
WWW  
IP Logged  
 Reply #2 - Aug 10th, 2012 at 12:48am
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Functionality Issue - "/me"
Dandello wrote on Aug 9th, 2012 at 7:30pm:
style="color: #FF0000;"

lol thort you was going to move all the style tags from the code to the css   Tongue lol
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #3 - Aug 10th, 2012 at 1:40am
There are no actions to perform.  

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


YaBB 2.5
Re: Functionality Issue - "/me"
Not when I have to make it compatible with everybody else. Now on my hyper-modded boards it's
Code Select All
class="red" 

like it should be. (But then my hyper-modded board also has 5 style sheets and the javascript to render those cute code blocks only loads on Message Display and the posting screens.)

And if you want to make PerlCritic happy, the line should read:
Code Select All
    $message =~ s/\/me\s+(.*)/<span class="red"><i><b>$displayname  says:<\/b> '$1'<\/i><\/span>/igsm;
 


Cheesy Roll Eyes
« Last Edit: Aug 10th, 2012 at 3:02pm by Dandello »  
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
*****
Offline
Posts: 1,856
Earth


YaBB 2.5
Re: Functionality Issue - "/me"
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.