MyBB Community Forums
Strike Advanced - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: Strike Advanced (/thread-99048.html)



Strike Advanced - StevenF50 - 2011-07-16

Title: Strike Advanced
Description: A strike that's more than a strike!
Regular Expression: \[strike\](.*?)\[/strike\]
Replacement: <font color=red><strike>$1</strike></font>
Preview: Preview found Here
What To Type:
[strike][/strike]

MyCode brought to you by myBB Professor


RE: Strike Advanced - ranjani - 2011-07-16

well, this is what I use :
<font color=red><strike><font color=black>$1</font></strike></font>

my striking habit ...


RE: Strike Advanced - StevenF50 - 2011-07-16

Well it's a similar thing. Mines all red though.


RE: Strike Advanced - Fluffybunny - 2011-07-17

Nice code Steven.


RE: Strike Advanced - StevenF50 - 2011-07-17

Thanks Fluffy.


RE: Strike Advanced - StevenF50 - 2011-08-31

Bumping this up.


RE: Strike Advanced - Berlo - 2011-09-01

Whats wrong with using:

[color=#FF0000][s]strikeout[/s][/color]

Which turns out like:

Quote:strikeout

To me, it is just reinventing functionality that already exists.


RE: Strike Advanced - vodka - 2011-09-02

Title: Strike Advanced (xhtml Validated)
Description: A strike that's more than a strike!
Regular Expression: \[strike\](.*?)\[/strike\]
Replacement: <span style="color:#FF0000;"><strike>$1</strike></span>
Preview: Preview found Here
What To Type:
[strike][/strike]



RE: Strike Advanced - StevenF50 - 2011-09-02

@Berlo Because it means you don't have to write the colour bb code.
@Vodka Huh? You've copy and pasted what I said.