The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
BB Code - StrikeThrough
Haha, I hope this isn't done already :P.
But I was just wondering how I could add a strikethrough bb code? I'm making a list of things I need to add to the site, and wouldn't mind a strikethrough when I'm done adding something... Anyway to do this? Thanks!. |
#2
|
|||
|
|||
Ooh, ooh, I can answer this one! =) Erm, well, I think I can at any rate: you can add strikethrough as a custom BB code via the Admin CP:
1. In your AdminCP, go to Custom BB Codes and click Add New BB Code 2. Enter the following info in the appropriate fields: Title: Strikethrough Tag: Strike Replacement: <strike>{param}</strike> Complete the rest of the fields as you like (to be honest, I believe the only field that you "must" set up as I've described is the "Replacement" one, as that's the one that tells vBulletin what html code you want to use for this bb code). That oughta do it - good luck! |
#3
|
|||
|
|||
Omg why didn't I think of that.. Now that I see it, it makes total sense.. haha im so stupid :P
Thanks bro, I'll go put it in now lol. |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
You can also use <s>{param}</s>.
|
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
It works for me:
http://www4.pcdc.net/~sammage/urealms/strike.html Check the source and see for yourself. |
#8
|
||||
|
||||
Quote:
HTML Code:
<span style="text-decoration: line-through;">{param}</span> |
#9
|
|||
|
|||
/me agrees with msimplay
CSS is a much cleaner way to do it. |
#10
|
||||
|
||||
HOw do you do it via CSS?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|