Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Abbreviations/Acronyms (MathJax Compatible) Details »
Abbreviations/Acronyms (MathJax Compatible)
Mod Version: 1.4.2, by MarkFL (Coder) MarkFL is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (1 vote - 5.00 average) Installs: 15
Released: 27 Oct 2015 Last Update: 19 Feb 2017 Downloads: 89
Not Supported DB Changes Uses Plugins Additional Files Translations  

Overview

This product allows you to define a set of abbreviations/acronyms that will have a tooltip explanation defined for your users who may not be familiar with these abbreviations and will find an explanation useful. You can define which areas of your site this product is active and your users can also decide if they wish for the product to be active for them in their settings. If you use MathJax on your site for mathematical expressions, you will find this product is completely compatible with it, and will not break such expressions.

Upon installation, a custom user profile field is auto-created to allow your users control over use of this product, and this field is deleted if you uninstall the product.



The product settings are divided into two primary groups: the first pertaining to the abbreviations/acronyms and the second to your implementation of MathJax. If you are not using MathJax, then you can simply ignore that section.



Abbreviations/Acronyms Details

Here you will find a textarea for defining your list of abbreviations and acronyms. Each one should be place on a separate line, with the abbreviation/acronym first, then a pipe symbol ("|"), followed by the explanation you want to appear in the tooltip. If you wish for your tooltip to contain line breaks, then use "\n" (without the quotes) for these breaks. When you save your settings, the list is alphabetically sorted to make locating these definitions easier in the future.

Next, you can set the areas of your site in which this product will be active, including Posts, Signatures, Private Messages, Visitor Messages and Group Messages.

You can then set whether you wish for this product to be active for guests.



MathJax Details

If you do not use MathJax, then you need not make any changes here.

If you do use MathJax, then first you need to define whether you have their script(s) manually defined in your templates or if you are using my product for its dynamic implementation. I recommend using my product for the most reliable and efficient compatibility.

If you use MathJax's default delimiters, then you need not change them, as the defaults are already defined by this product. However, if you have defined your own delimiters, then all delimiters you have defined need to be given in the delimiter settings.

Updates:

Version 1.1:
  • I discovered a MySQL function I was using was deprecated as of 5.5, so I replaced it with a query.
  • Fixed bug whereby the preview of a post in a new thread now shows the acronyms.

Version 1.2:
  • Fixed bug where "/" character in an abbreviation caused a PHP error.
  • Fixed bug where acronym at the beginning of a text string will now work.

Version 1.3:
  • Profile filed number of auto-created field cached so a db query is no longer required each time text is parsed.

Version 1.3.1:
  • HTML special characters may now be used in abbreviations/acronyms.

Version 1.4:
  • Admin options processing more efficient.
  • Added setting for "Active Forums."
  • Fixed issue where hex colors within COLOR BBCode containing abbreviations broke posts.

Version 1.4.1:
  • Dotted underline is now the same color as the text.

Version 1.4.2:
  • Fixed issue with non-Latin characters.

Compatibility:

Tested and working on VB 4.2.x and should work on all 4.x versions of vBulletin.

Backup/Warning:

This product alters your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:

1.) Download and extract the attached .zip file.
2.) Upload the contents of the "upload" folder to your forum's root directory.
3.) Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
4.) Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
5.) Click "Import."
6.) You MUST enable the product in the settings before it will function.
7.) Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.

Support for this product can be found here:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	markfl_acrojax_tooltip.png
Views:	625
Size:	106.5 KB
ID:	153572   Click image for larger version

Name:	markfl_acrojax_ucp.png
Views:	625
Size:	5.9 KB
ID:	153574   Click image for larger version

Name:	markfl_acrojax_acp.jpg
Views:	206
Size:	73.3 KB
ID:	155556  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks LaTeX By MathJax MarkFL vBulletin 4.x Add-ons 4 07 Jun 2017 03:55
Show Thread Enhancements Acronyms for vB RolandvonGilead vBulletin 3.6 Add-ons 55 02 Mar 2015 12:14

Comments
  #2  
Old 27 Oct 2015, 21:36
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Very nice idea, and can be used for other things as well.

Possible idea, if we could use it for adding some links in certain scenarios with additional parameter after second | e.g. "Amazon|Online Bookstore|http://www.amazon.com"

I know that there is similar product from BOP5 (if I'm not mistaken), but sometimes we could make it a link. And, if you think it's good idea and doable, can that link be made with different CSS than "normal" links, so it graphically looks different from normal links?

With this new links we could use it for different purposes, for additional explanation, for autolinking certain keywords, just explaining some things additionally...

Speaking about this, what if some acronym has more than one meaning? I see we could make something like this: "ALA|1. Alpha Lipoic Acid\n2. Alpha Linoleic Acid" (link for ALA: https://en.wikipedia.org/wiki/Ala) This probably would work?
Reply With Quote
  #3  
Old 29 Oct 2015, 07:24
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update: version 1.1
  • I discovered a MySQL function I was using was deprecated as of 5.5, so I replaced it with a query.
  • Fixed bug whereby the preview of a post in a new thread now shows the acronyms.
Reply With Quote
  #4  
Old 14 Nov 2015, 05:05
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update: version 1.2
  • Fixed bug where "/" character in an abbreviation caused a PHP error.
  • Fixed bug where acronym at the beginning of a text string will now work.
Reply With Quote
  #5  
Old 20 Feb 2016, 15:56
VCCN VCCN is offline
 
Join Date: Jan 2015
Hi, great plugin - excactly what we need - but it doesn't seems to work with 4.2.2 - i have installed according to the instructions as well as set the product as "Active" - but my acronyms does not get underline or tool tip when mouseover.
Any tip to get it working?
Reply With Quote
  #6  
Old 20 Feb 2016, 16:48
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by VCCN View Post
Hi, great plugin - excactly what we need - but it doesn't seems to work with 4.2.2 - i have installed according to the instructions as well as set the product as "Active" - but my acronyms does not get underline or tool tip when mouseover.
Any tip to get it working?
I use it on a vB 4.2.2 PL 4 site with no issues. There is most likely a conflict with another product.

Do they not work anywhere on your site?
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #7  
Old 21 Feb 2016, 18:48
VCCN VCCN is offline
 
Join Date: Jan 2015
Correct, does not work at all.

I have tried two other mods that do the same thing, they worked fine, but had a few issues. i removed them before i installed this.
Reply With Quote
  #8  
Old 21 Feb 2016, 19:04
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Okay, I will have to come to your site to troubleshoot. Please PM me the login credentials for a temporary admin account.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #9  
Old 22 Feb 2016, 11:56
VCCN VCCN is offline
 
Join Date: Jan 2015
Originally Posted by MarkFL View Post
Okay, I will have to come to your site to troubleshoot. Please PM me the login credentials for a temporary admin account.
PM sent !
Reply With Quote
  #10  
Old 28 Feb 2016, 20:50
eh69 eh69 is offline
 
Join Date: Feb 2009
I cant uninstall this

please help
Database error in vBulletin 4.2.3:

Invalid SQL:

DELETE FROM vb_profilefield
WHERE profilefieldid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2
Error Number : 1064
Request Date : Sunday, February 28th 2016 @ 08:49:58 PM
__________________
Forum Alfa Romeo Giulietta, 159, MiTo, 156, 147, 166, 145, 146, 155, 164, 33, 75, GTV, GT, Brera, Alfetta ;D
Reply With Quote
  #11  
Old 28 Feb 2016, 20:58
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Did you remove the external .PHP file before attempting to uninstall? If so, that would cause an issue, because that file is needed.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #12  
Old 23 May 2016, 04:56
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update - Version 1.3:
  • Profile filed number of auto-created field cached so a db query is no longer required each time text is parsed.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #13  
Old 05 Jun 2016, 16:24
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
hey Mark - what happens if you have the same acronym listed twice? I can use the Acronym portion of this, but with multiple sports on my site, if I use BUF, this could be for Buffalo Bills OR Buffalo Sabres.

I know this is probably an edge case and on a priority scale of 1-10, it's probably a 0.
Reply With Quote
  #14  
Old 05 Jun 2016, 16:34
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Yes, I have made no provisions in this product for multiple uses of the same acronym/abbreviation. I have made the reasonable assumption that all will be unique and have a global meaning on a site. If you enter the same abbreviation twice in your list, the first one (after being auto-sorted) will be used only.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #15  
Old 02 Jul 2016, 05:10
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
testing this out over the weekend. I still have a use for this.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 00:42.

Layout Options | Width: Wide Color: