vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How Do I: Add Strike Text Button AND "My Posts" Button (https://vborg.vbsupport.ru/showthread.php?t=174280)

Rubiano 03-27-2008 12:46 AM

How Do I: Add Strike Text Button AND "My Posts" Button
 
1. Hello people of earth! My forum does not have the strike text button. [S]Such as this one.[/S] How do i add this?

2. Also, how do i add a "My Posts" button/drop down menu like the one show below?



https://vborg.vbsupport.ru/external/2008/03/12.jpg



https://vborg.vbsupport.ru/external/2008/03/13.jpg

Dismounted 03-27-2008 01:32 AM

The "strike text" BB Code is not a part of default vBulletin, you need to add it yourself.

Rubiano 03-27-2008 01:59 AM

Quote:

Originally Posted by Dismounted (Post 1475526)
The "strike text" BB Code is not a part of default vBulletin, you need to add it yourself.

What code do i add and where?

Lynne 03-27-2008 02:08 AM

Go to Custom BBCode > Add New

Title: Strike Through (or whatever you want to call it)
Tag: [s] (or whatever you want to use
HTML: <span style="text-decoration: line-through;">{param}</span>

The rest is explained at the bottom of the Add BBCode page.

Rubiano 03-28-2008 12:39 AM

What about the "My Posts" button? What should i put and where for that?

Lynne 03-28-2008 02:04 PM

For the My Posts button, you'll have to add a drop-down menu: https://vborg.vbsupport.ru/showthrea...ight=drop+down The links for those should be available in the memberinfo template since those are used there also (for My Posts and My Threads anyway).

technom8t 04-08-2008 06:19 PM

would anyone know how to change/edit the above strike through BBcode so that a double line would appear or even a thicker line, this would be much appreciated

example

http://img2.freeimagehosting.net/uploads/4d1a9293be.jpg

Boofo 04-08-2008 07:54 PM

Quote:

Originally Posted by Lynne (Post 1475562)
Go to Custom BBCode > Add New

Title: Strike Through (or whatever you want to call it)
Tag: [s] (or whatever you want to use
HTML: <span style="text-decoration: line-through;">{param}</span>

The rest is explained at the bottom of the Add BBCode page.

<strike>{param}</strike>

would also work. ;)

Lynne 04-08-2008 08:50 PM

Quote:

Originally Posted by Boofo (Post 1486191)
<strike>{param}</strike>

would also work. ;)

Except <strike> and <s> have been deprecated so it is better to use the css.

Boofo 04-08-2008 09:20 PM

I didn't know that. Thank you. ;)

But I don't think you need the ; at the end of it since it is the only text-decoration.

Lynne 04-08-2008 10:07 PM

Quote:

Originally Posted by Boofo (Post 1486231)
I didn't know that. Thank you. ;)

But I don't think you need the ; at the end of it since it is the only text-decoration.

You're right, you don't. But, it doesn't hurt either. :)

Boofo 04-08-2008 10:26 PM

True, but you know how validating can get touchy and it will only probably get touchier in the future. ;)

Lynne 04-08-2008 10:33 PM

Actually, if you look at the css that vbulletin 'makes', it always adds a semi-colon at the end and it validates perfectly. :p

Boofo 04-08-2008 10:50 PM

You're right, they do most of it that way, but when I reported a bug a while back, the fix I posted had a ; at the end and I was told that was wrong. The right code they posted for it was the exact same thing I had posted but without the ; at the end of it. So, I guess it depends on who you talk to at the time. Both ways validate fine now, but that will probably change in time. It usually does. ;)

Lynne 04-08-2008 11:01 PM

Quote:

Originally Posted by Boofo (Post 1486298)
You're right, they do most of it that way, but when I reported a bug a while back, the fix I posted had a ; at the end and I was told that was wrong. The right code they posted for it was the exact same thing I had posted but without the ; at the end of it. So, I guess it depends on who you talk to at the time. Both ways validate fine now, but that will probably change in time. It usually does. ;)

Ahhhh, but will the standard become with or without the semi-colon, that is the question! :D



I just did a quick search on css inline and found it being done both ways in different tutorials. I'm not sure if there is an actual 'desired' way.

Boofo 04-08-2008 11:29 PM

That's usually the way it works, doesn't it? No matter which way I pick, they will make the other one standard. ;)


All times are GMT. The time now is 11:52 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.05625 seconds
  • Memory Usage 1,753KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete