vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   BB Code - StrikeThrough (https://vborg.vbsupport.ru/showthread.php?t=77721)

platnum 03-08-2005 03:12 PM

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!.

E2E 03-08-2005 03:23 PM

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!

platnum 03-08-2005 03:29 PM

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.

---MAD--- 08-23-2005 05:02 PM

Quote:

Originally Posted by platnum
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.

thanks bro its great :P

AllenSam 08-31-2005 05:21 PM

You can also use <s>{param}</s>.

LEAD_WEIGHT 08-31-2005 11:11 PM

Quote:

Originally Posted by AllenSam
You can also use <s>{param}</s>.

Some how it did not place a line thought it. Oh well

AllenSam 08-31-2005 11:19 PM

It works for me:

http://www4.pcdc.net/~sammage/urealms/strike.html

Check the source and see for yourself.

msimplay 01-26-2006 01:10 PM

Quote:

Originally Posted by E2E
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!

I would use inline css instead for the replacement

HTML Code:

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

Guest210212002 01-26-2006 01:32 PM

/me agrees with msimplay

CSS is a much cleaner way to do it.

bada_bing 03-17-2006 07:33 PM

HOw do you do it via CSS?


All times are GMT. The time now is 08:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01145 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete