Strike through

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
shamrocks
Registered User
Posts: 127
Joined: Thu Jul 20, 2006 10:35 pm
Location: NLFD, Canada
Contact:

Strike through

Post by shamrocks » Sat Apr 03, 2010 1:21 pm

How to you 'strike through' text in a post?
Need help!

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20237
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Strike through

Post by Mick » Sat Apr 03, 2010 1:25 pm

You need to create a custom BBCode for that, an example would be:
To use any of the following custom BBCodes, navigate to the Posting => BBCodes section of the phpBB3 administration panel and click the "Add a new BBCode" button. Enter the respective code from below into the "BBCode usage" and "HTML replacement" boxes.
BBCode usage:

Code: Select all

[s]{TEXT}[/s]
HTML replacement:

Code: Select all

<span style="text-decoration: line-through;">{TEXT}</span>
Example usage:

Code: Select all

[s]strikethrough text[/s]
Last edited by Mick on Sat Apr 03, 2010 1:30 pm, edited 1 time in total.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

User avatar
eeji
Jr. Style Validator
Posts: 887
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK
Contact:

Re: Strike through

Post by eeji » Sat Apr 03, 2010 1:28 pm

you'd need to set up a custom BB code:

BB usage:

Code: Select all

[s]{TEXT}[/s]
HTML replacement:

Code: Select all

<span style="text-decoration:line-through;">{TEXT}</span>
**edit: Beaten to it! :D

shamrocks
Registered User
Posts: 127
Joined: Thu Jul 20, 2006 10:35 pm
Location: NLFD, Canada
Contact:

Re: Strike through

Post by shamrocks » Sat Apr 03, 2010 4:36 pm

Sweet, thanks guys. There is so much stuff I don't know about with this. lol.
Need help!

smatt454
Registered User
Posts: 5
Joined: Mon May 16, 2011 8:32 am

Re: Strike through

Post by smatt454 » Mon May 16, 2011 9:47 am

Hey I did this...but I'm having problems.

When I do
foo

in the preview I get
foo
but when I post I get
foo


What am I doing wrong?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20237
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Strike through

Post by Mick » Mon May 16, 2011 10:25 am

smatt454 wrote:Hey I did this...but I'm having problems.

When I do
foo

in the preview I get
foo
but when I post I get
foo


What am I doing wrong?
Please do not reply to year old topics, start your own.

Please fill out the support request template to enable us to assist you better.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

smatt454
Registered User
Posts: 5
Joined: Mon May 16, 2011 8:32 am

Re: Strike through

Post by smatt454 » Mon May 16, 2011 1:51 pm

Sorry, found this thread googling and didnt pay attention to the date.

Locked

Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: Tbot [Bot] and 67 guests