PDA

View Full Version : BB Code Enhancements - (BB Codes) [Abbr] BBCode - Mouseover Abbreviations


mikey1991
08-24-2009, 10:00 PM
Brought to you by SleekvB Designs (http://sleekvbdesigns.com), also posted on vBulletinSetup (http://forum.vbulletinsetup.com/f18/bb-codes-abbr-bbcode-mouseover-abbreviations-28317.html#post84630) and vBulletin-Fans (http://www.vbulletin-fans.com/showthread.php?goto=newpost&t=31180)

Title: abbr
BB Code Tag Name: abbr
Replacement: <abbr title="{option}">{param}</abbr>
Example: When Hovered over, this should say "Test"
Description: Adds a description to the mouseover of words or links, sort of like vBSEO does.
Use {option}: Yes
Button Image (Optional): Choose your own
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

http://sleekvbdesigns.com/ss/abbr1.jpg
http://sleekvbdesigns.com/ss/abbr.jpg

relaxiha
08-25-2009, 07:03 AM
hi Please put photos from bbcode

mikey1991
08-25-2009, 08:02 AM
The images have been in the first post since the creation of this thread.....

dartho
08-25-2009, 08:48 AM
Cool - thanks! Degrades nicely in IE6 also (ABBR tags don't work in IE6, but it shows the text without the mouseover still)

mikey1991
08-25-2009, 09:13 AM
As far as I'm aware, IE6 isn't even supported by microsoft anymore, is it?
Just to clarify, will this work on IE6, and have you tested it?

I don't think it will :)

Bin7raib
08-25-2009, 09:16 AM
Thanks, :)

dartho
08-25-2009, 09:54 AM
Yes I have tested under IE6. As I said - the mouseover part does not work but the text still displays. EG - if your code is Hello, it will just show the text "Hello" under IE6 with no mouseover "tooltip" which is what I meant by saying it degrades nicely.

Some BBCodes which don't support older browsers display junk/tags, this tag doesn't. ie. IS GOOD

mikey1991
08-25-2009, 11:06 AM
Ah, okay, thanks for clearing that up :)

Bill Bickley
02-04-2016, 12:35 PM
I've set up the example as-is and it works in the "Test your BB Code" box.

Does not work in a forum message, though.

What might I be missing?

TIA.

Bill

MarkFL
02-04-2016, 06:10 PM
I've set up the example as-is and it works in the "Test your BB Code" box.

Does not work in a forum message, though.

What might I be missing?

TIA.

Bill

I just created the BBCode as per the instructions on my vB 3.8.9 dev site, and it works in posts for me. I would be glad to come to your site and look things over if you want to PM me the credentials for a temporary admin account. :)

Bill Bickley
02-06-2016, 02:59 PM
A bit more learning/testing, and it appears I simply misunderstood what the BBCode was capable of accomplishing. If I paste the code ( for example,
DAMHIK)
in my post, it works in that post and only that post. I had hoped that, once the code was established, someone using "DAMHIK" in another post would see the same tooltip.

Apparently, not?

Bill

MarkFL
02-06-2016, 03:02 PM
A bit more learning/testing, and it appears I simply misunderstood what the BBCode was capable of accomplishing. If I paste the code ( for example,
DAMHIK)
in my post, it works in that post and only that post. I had hoped that, once the code was established, someone using "DAMHIK" in another post would see the same tooltip.

Apparently, not?

Bill

No, it would have to be enclosed in the BBCode tags for each instance.

Now, I do have a product available for vB 3.8.x that allows you to define a list of abbreviations/acronyms that will then show up in all posts (as well as other forum area if you choose):

Abbreviations/Acronyms (MathJax Compatible) (https://vborg.vbsupport.ru/showthread.php?t=321690)