PDA

View Full Version : How Do I: Add Strike Text Button AND "My Posts" Button


Rubiano
03-27-2008, 12:46 AM
1. Hello people of earth! My forum does not have the strike text button. Such as this one. 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
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/showthread.php?t=122523&highlight=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
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
<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
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
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. ;)