vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - (BB Codes) [Abbr] BBCode - Mouseover Abbreviations (https://vborg.vbsupport.ru/showthread.php?t=221707)

mikey1991 08-24-2009 09:00 PM

(BB Codes) [Abbr] BBCode - Mouseover Abbreviations
 
1 Attachment(s)
Brought to you by SleekvB Designs, also posted on vBulletinSetup and vBulletin-Fans

Title: abbr
BB Code Tag Name: abbr
Replacement: <abbr title="{option}">{param}</abbr>
Example: [abbr=test]When Hovered over, this should say "Test"[/abbr]
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 06:03 AM

hi Please put photos from bbcode

mikey1991 08-25-2009 07:02 AM

The images have been in the first post since the creation of this thread.....

dartho 08-25-2009 07: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 08: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 08:16 AM

Thanks, :)

dartho 08-25-2009 08: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 [abbr=Goodbye]Hello[/abbr], 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 10: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

Quote:

Originally Posted by Bill Bickley (Post 2564200)
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,
[abbr="Don't ask me how I know"]DAMHIK[/abbr])
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

Quote:

Originally Posted by Bill Bickley (Post 2564343)
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,
[abbr="Don't ask me how I know"]DAMHIK[/abbr])
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)


All times are GMT. The time now is 12:54 AM.

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.01473 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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