phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

[feature-request]:[s]code for text strike through by default

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.1/Ascreaus followed by 3.2/Arsia.

[feature-request]:[s]code for text strike through by default

Postby Technologov » Fri Dec 02, 2011 3:10 am

Hi All !

Standard BBcode supports text strike through. [1]

However PHPbb seems to break this standard, and allow only bold, italic and underlined text.
text
text
text
[s]text[/s]

[1] http://en.wikipedia.org/wiki/BBCode
http://www.tizag.com/htmlT/htmlstrikethrough.php

I know it is possible to add via "BBCodes" in Admin Panel -- but only for forums that I administer myself. This won't work for third-party project forum, that I contact with.

This wish is about making this feature standard for all PHPbb forums, just like bold or underline.

-Technologov
Technologov
Registered User
 
Posts: 2
Joined: Fri Dec 02, 2011 3:05 am

Re: [feature-request]:[s]code for text strike through by def

Postby callumacrae » Fri Dec 02, 2011 6:38 am

I don't think tere is a standard xD

+1, though
"In JavaScript, there is a beautiful, elegant, highly expressive language that is buried under a steaming pile of good intentions and blunders"
—Douglas Crockford

View my MOD, phpBB Mobile
User avatar
callumacrae
Website Team
Website Team
 
Posts: 882
Joined: Tue Apr 27, 2010 9:37 am
Location: England

Re: [feature-request]:[s]code for text strike through by def

Postby imkingdavid » Wed Dec 07, 2011 4:28 pm

As the Wikipedia article says:
The following are the most common BBCode tags available to most modern message boards, and are displayed here with their HTML equivalents. However, the effect of these tags can be changed substantially, and the effect may not be identical on all sites using BBCode.

It says that they are the "most common", not the "standard". So while I do agree that strikethrough bbcode is very useful for many boards, and I hope that it does eventually get added to the default list, there is no cross-software bbcode standard list.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.
User avatar
imkingdavid
Development Team
Development Team
 
Posts: 900
Joined: Thu Jul 30, 2009 12:06 pm

Re: [feature-request]:[s]code for text strike through by def

Postby Oleg » Thu Dec 08, 2011 4:37 am

Strikethrough seems pretty useful, I think we can have it in the core package.
Oleg
3.1 Release Manager
3.1 Release Manager
 
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am

Re: [feature-request]:[s]code for text strike through by def

Postby Dragosvr92 » Thu Dec 08, 2011 6:21 am

As an html replacement we could use one of this:
Code: Select all
   <del>STRIKE 1</del>
     <s>STRIKE 2</s>
<strike>STRIKE 3</strike>

Probably you will go with <strike> as you've chosen to go with <strong> instead of <b> for the bold..
Previous username: TheKiller
Avatar on Memberlist 1.0.3
User avatar
Dragosvr92
Registered User
 
Posts: 358
Joined: Tue May 31, 2011 12:08 pm
Location: Romania

Re: [feature-request]:[s]code for text strike through by def

Postby callumacrae » Thu Dec 08, 2011 6:27 am

TheKiller wrote:As an html replacement we could use one of this:
Code: Select all
   <del>STRIKE 1</del>
     <s>STRIKE 2</s>
<strike>STRIKE 3</strike>

Probably you will go with <strike> as you've chosen to go with <strong> instead of <b> for the bold..

strike and s were deprecated a very long time ago. Why would strike be chosen other the other two, anyway?
"In JavaScript, there is a beautiful, elegant, highly expressive language that is buried under a steaming pile of good intentions and blunders"
—Douglas Crockford

View my MOD, phpBB Mobile
User avatar
callumacrae
Website Team
Website Team
 
Posts: 882
Joined: Tue Apr 27, 2010 9:37 am
Location: England

Re: [feature-request]:[s]code for text strike through by def

Postby canonknipser » Thu Dec 08, 2011 6:44 pm

callumacrae wrote:
TheKiller wrote:As an html replacement we could use one of this:
Code: Select all
   <del>STRIKE 1</del>
     <s>STRIKE 2</s>
<strike>STRIKE 3</strike>

Probably you will go with <strike> as you've chosen to go with <strong> instead of <b> for the bold..

strike and s were deprecated a very long time ago. Why would strike be chosen other the other two, anyway?

Its the same for <u>, so the better html for underlined text will be <ins> (for the normal end user it will currently make no difference)
Greetings, Frank

Visit us at http://www.dslr-seite.de/forum
english is not my native language
User avatar
canonknipser
Registered User
 
Posts: 45
Joined: Mon Sep 19, 2011 4:42 am
Location: Germany

Re: [feature-request]:[s]code for text strike through by def

Postby bantu » Fri Dec 09, 2011 3:34 pm

I wouldn't want to mess with the current (3.0.x) BBcode engine just for that. Once the new BBcode engine is in place and built-in BBcodes have been converted to user-configurable BBcodes, I see no reason why we should not include the strike BBcode by default. Unfortunately, it looks like the new BBcode engine won't be ready before 3.2-A1. Of course, the board admin should always be able to enable or disable certain BBcodes.
User avatar
bantu
3.0 Release Manager
3.0 Release Manager
 
Posts: 437
Joined: Thu Sep 07, 2006 11:22 am
Location: Karlsruhe, Germany


Return to [3.x] Discussion

Who is online

Users browsing this forum: No registered users and 15 guests