[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 current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
Technologov
Registered User
Posts: 2
Joined: Fri Dec 02, 2011 3:05 am

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

Post by Technologov »

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

User avatar
callumacrae
Former Team Member
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

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

Post by callumacrae »

I don't think tere is a standard xD

+1, though
Made by developers, for developers!
My blog

User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

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

Post by imkingdavid »

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.

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

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

Post by Oleg »

Strikethrough seems pretty useful, I think we can have it in the core package.

User avatar
Dragosvr92
Registered User
Posts: 624
Joined: Tue May 31, 2011 12:08 pm
Location: Romania
Contact:

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

Post by Dragosvr92 »

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 user: TheKiller
Avatar on Memberlist 1.0.3

User avatar
callumacrae
Former Team Member
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

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

Post by callumacrae »

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?
Made by developers, for developers!
My blog

User avatar
canonknipser
Registered User
Posts: 71
Joined: Mon Sep 19, 2011 4:42 am
Location: Germany

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

Post by canonknipser »

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
phpbb.de support team member - no support via PM or mail
English is not my native language
Extensions and scripts for phpBB

User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 557
Joined: Thu Sep 07, 2006 11:22 am
Location: Karlsruhe, Germany
Contact:

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

Post by bantu »

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.

Post Reply