Any chance of adding strikethrough?

Anything about use of this forum : NOT about cycling
User avatar
Audax67
Posts: 4541
Joined: 25 Aug 2011, 9:02am
Location: Alsace, France
Contact:

Any chance of adding strikethrough?

Postby Audax67 » 21 Oct 2019, 10:23am

To the tech side: Any chance of adding strikethrough to the editor? It's so nice to be able to say what you really think then cross it out in favour of something bland. :D
Have we got time for another cuppa?

User avatar
661-Pete
Posts: 9184
Joined: 22 Nov 2012, 8:45pm
Location: Sussex

Re: Any chance of adding strikethrough?

Postby 661-Pete » 21 Oct 2019, 2:43pm

strikethrough example.jpg
strikethrough example.jpg (8.52 KiB) Viewed 314 times
Suppose that this room is a lift. The support breaks and down we go with ever-increasing velocity.
Let us pass the time by performing physical experiments...
--- Arthur Eddington (creator of the Eddington Number).

Psamathe
Posts: 10606
Joined: 10 Jan 2014, 8:56pm

Re: Any chance of adding strikethrough?

Postby Psamathe » 21 Oct 2019, 3:05pm

You should be able to use the [s]incorrect[/s] BBCode tags (not tested but can't see any reason why the would be disabled or not have been installed.

Useful for a clearer change particularly when others have quoted a post and you've gone back and changed it (either<s>incorrect<s> or <del>deleted</del> in html depending on the reasons/nature of the change).

Ian

Vorpal
Moderator
Posts: 17384
Joined: 19 Jan 2009, 3:34pm
Location: Not there ;)

Re: Any chance of adding strikethrough?

Postby Vorpal » 21 Oct 2019, 3:11pm

We would have to do a custom phpBB code for that (it would look like what Psamanthe posted), and everything that we do custom has to be re-done when we upgrade to the next version, so we generally avoid that sort of thing.

The easiest thing to do is to use a font generator, like https://fsymbols.com/generators/strikethrough/ or https://saijogeorge.com/strikethrough-text-generator/

u̶s̶i̶n̶g̶ ̶s̶u̶c̶h̶ ̶s̶i̶t̶e̶s̶ s̶t̶r̶i̶k̶e̶ ̶t̶h̶o̶u̶g̶h̶ ̶i̶s̶ ̶a̶l̶r̶e̶a̶d̶y̶ ̶p̶o̶s̶s̶i̶b̶l̶e̶
“In some ways, it is easier to be a dissident, for then one is without responsibility.”
― Nelson Mandela, Long Walk to Freedom

Psamathe
Posts: 10606
Joined: 10 Jan 2014, 8:56pm

Re: Any chance of adding strikethrough?

Postby Psamathe » 21 Oct 2019, 3:23pm

Vorpal wrote:We would have to do a custom phpBB code for that (it would look like what Psamanthe posted), and everything that we do custom has to be re-done when we upgrade to the next version, so we generally avoid that sort of thing.

The easiest thing to do is to use a font generator, like https://fsymbols.com/generators/strikethrough/ or https://saijogeorge.com/strikethrough-text-generator/

u̶s̶i̶n̶g̶ ̶s̶u̶c̶h̶ ̶s̶i̶t̶e̶s̶ s̶t̶r̶i̶k̶e̶ ̶t̶h̶o̶u̶g̶h̶ ̶i̶s̶ ̶a̶l̶r̶e̶a̶d̶y̶ ̶p̶o̶s̶s̶i̶b̶l̶e̶

[s][/s] BBCode tags are part of the BBCode specification https://www.bbcode.org/examples/?id=4

Ian

Vorpal
Moderator
Posts: 17384
Joined: 19 Jan 2009, 3:34pm
Location: Not there ;)

Re: Any chance of adding strikethrough?

Postby Vorpal » 21 Oct 2019, 3:39pm

Yes, but they are not part of the standard installation on phpBB.
“In some ways, it is easier to be a dissident, for then one is without responsibility.”
― Nelson Mandela, Long Walk to Freedom

User avatar
admin
Site Admin
Posts: 1186
Joined: 14 Dec 2006, 8:27pm
Location: Lancing, West Sussex
Contact:

Re: Any chance of adding strikethrough?

Postby admin » 21 Oct 2019, 3:40pm

Strikethrough is not provided as standard with phpBB3, and I'm not going to add it I've added it now. The custom tags go into the database, rather than code, so easier to keep.

Psamathe
Posts: 10606
Joined: 10 Jan 2014, 8:56pm

Re: Any chance of adding strikethrough?

Postby Psamathe » 21 Oct 2019, 3:42pm

admin wrote:Strikethrough is not provided as standard with phpBB3, and I'm not going to add it I've added it now. The custom tags go into the database, rather than code, so easier to keep.

It was not me asking for it but I do think it a useful feature - as you have well illustrated in your post. Many thanks.

Ian

User avatar
661-Pete
Posts: 9184
Joined: 22 Nov 2012, 8:45pm
Location: Sussex

Re: Any chance of adding strikethrough?

Postby 661-Pete » 21 Oct 2019, 4:21pm

Wow it actually works!
Suppose that this room is a lift. The support breaks and down we go with ever-increasing velocity.
Let us pass the time by performing physical experiments...
--- Arthur Eddington (creator of the Eddington Number).

richardfm
Posts: 134
Joined: 15 Apr 2018, 3:17pm
Location: Cardiff, Wales

Re: Any chance of adding strikethrough?

Postby richardfm » 21 Oct 2019, 7:19pm

ʍɥɐʇ I ʍɐuʇ ᴉs ndsᴉpǝ poʍu ʇǝxʇ

User avatar
Spinners
Posts: 1599
Joined: 6 Dec 2008, 6:58pm
Location: Port Talbot

Re: Any chance of adding strikethrough?

Postby Spinners » 21 Oct 2019, 7:40pm

test
Cycling UK Life Member
PBP Ancien (2007)

brynpoeth
Posts: 11422
Joined: 30 Nov 2013, 11:26am

Re: Any chance of adding strikethrough?

Postby brynpoeth » 21 Oct 2019, 8:00pm

Perhaps the mods could use strike through instead of delete so we know what we may not write
Entertainer, kidult, curmudgeon
Cycling-of course, but it is far better on a Gillott
We love safety cameras, we love life

User avatar
gaz
Posts: 13777
Joined: 9 Mar 2007, 12:09pm
Location: Kent, car park of England

Re: Any chance of adding strikethrough?

Postby gaz » 21 Oct 2019, 10:49pm

[inappropriate word removed]
Hand wash only. Do not iron.

User avatar
Graham
Moderator
Posts: 5957
Joined: 14 Dec 2006, 8:48pm

Re: Any chance of adding strikethrough?

Postby Graham » 23 Oct 2019, 9:36am

Auto-generated spam signatures from Tapatalk fill me with the greatest joy.

User avatar
661-Pete
Posts: 9184
Joined: 22 Nov 2012, 8:45pm
Location: Sussex

Re: Any chance of adding strikethrough?

Postby 661-Pete » 23 Oct 2019, 11:15am

Brex*it is wonderful
Suppose that this room is a lift. The support breaks and down we go with ever-increasing velocity.
Let us pass the time by performing physical experiments...
--- Arthur Eddington (creator of the Eddington Number).