Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 07-15-2007, 11:55 AM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
To correct you on that, it's not a stock BBCode, so it won't exist unless you create it.
Which is a pity, since both official sites have it and practically all other software has it available by default. This topic has just made me realise I didn't give away strike through BB code...
Reply With Quote
  #22  
Old 03-03-2009, 05:12 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Firstly, Sorry for bumping an old thread...


Quote:
Originally Posted by E2E View Post
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 tried that Way, but it didn't work for me.

Quote:
Originally Posted by bada_bing View Post
Can someone post a detailed description on how to install this and how to pull up the BB Code in a new thread? Also how do you do the CSS version.

I would like to know this too, If someone would be kind enough as to have the patience t explain.


Many Thanks.
Reply With Quote
  #23  
Old 03-03-2009, 11:28 PM
TigerC10's Avatar
TigerC10 TigerC10 is offline
 
Join Date: Apr 2006
Location: Austin, TX
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use this:

Code:
Title: Strikethrough
BB Code Tag Name: s
Replacement:
<span style="text-decoration: line-through;">{param}</span>
Example:
[s]this text has a strikethrough[/s]
Description:
The [s] tag allows you to create text that has a strike through on it.
Use {option}: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Button Image (Optional):
I like to change the editor template instead of adding in the optional button image, that way I can make the strikethrough button appear next to the B I and U buttons.
Reply With Quote
  #24  
Old 03-07-2009, 09:31 AM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TigerC10 - That has worked perfectly. Thank You.
Reply With Quote
  #25  
Old 07-14-2009, 03:19 PM
Suiram Suiram is offline
 
Join Date: Jan 2009
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TigerC10 View Post
Use this:

Code:
Title: Strikethrough
BB Code Tag Name: s
Replacement:
<span style="text-decoration: line-through;">{param}</span>
Example:
[s]this text has a strikethrough[/s]
Description:
The [s] tag allows you to create text that has a strike through on it.
Use {option}: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Button Image (Optional):
I like to change the editor template instead of adding in the optional button image, that way I can make the strikethrough button appear next to the B I and U buttons.
luvely, cheers guv'nor. :up:
Reply With Quote
  #26  
Old 07-15-2009, 02:09 AM
1Unreal 1Unreal is offline
 
Join Date: Jul 2008
Location: London
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Both <s> and <strike> are depreciated. Use CSS. Not sure if its mentioned in this thread.
Reply With Quote
  #27  
Old 08-29-2009, 11:13 AM
kyrenator kyrenator is offline
 
Join Date: Apr 2009
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TigerC10 View Post
Use this:

Code:
Title: Strikethrough
BB Code Tag Name: s
Replacement:
<span style="text-decoration: line-through;">{param}</span>
Example:
[s]this text has a strikethrough[/s]
Description:
The [s] tag allows you to create text that has a strike through on it.
Use {option}: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Button Image (Optional):
I like to change the editor template instead of adding in the optional button image, that way I can make the strikethrough button appear next to the B I and U buttons.
It worked for me! thanks!
Reply With Quote
  #28  
Old 01-20-2010, 05:57 PM
Tettinntil's Avatar
Tettinntil Tettinntil is offline
 
Join Date: Feb 2006
Location: Trondheim, Norway
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cossa View Post
<strike><span style="text-decoration: line-through;">{param}</span></strike>
Where do I add this?
Reply With Quote
  #29  
Old 01-20-2010, 08:16 PM
James Birkett James Birkett is offline
 
Join Date: Jun 2009
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tettinntil View Post
Where do I add this?
Add:

Code:
<span style="text-decoration:underline;">{param}</span>
to the replacement, replacing the previous <strike> or <s>
Reply With Quote
  #30  
Old 01-21-2010, 05:44 PM
Tettinntil's Avatar
Tettinntil Tettinntil is offline
 
Join Date: Feb 2006
Location: Trondheim, Norway
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by James Birkett View Post
Add:

Code:
<span style="text-decoration:underline;">{param}</span>
to the replacement, replacing the previous <strike> or <s>
Replacement? In styles? Sorry for a possibly stupid question..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:58 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.05069 seconds
  • Memory Usage 2,285KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete