vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Editor Toolbar Tooltips (https://vborg.vbsupport.ru/showthread.php?t=322088)

MarkFL 03-11-2016 10:00 PM

Editor Toolbar Tooltips
 
1 Attachment(s)
Overview:

This simple mod allows you to provide more information in the mouseover tooltips of your editor toolbar buttons.

https://vborg.vbsupport.ru/attachmen...1&d=1457755430

For each button you wish to give more information, enter a separate line in the provided setting containing the BBcode tag name (including the square brackets), a more descriptive name for the tag, and then any addition instructions you wish to include. These 3 data should be separated by the pipe symbol ("|").

Updates:

Version 1.1:
  • Admin options processing optimized.
  • Javascript function rewritten so onload function does not interfere with other onload events.
  • Support added for quick editor.

Compatibility:

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

Backup/Warning:

This product does not alter 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. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.

https://vborg.vbsupport.ru/attachmen...1&d=1458420808

Support for this product can be found here:

In Omnibus 03-12-2016 02:23 AM

Brilliant. Why didn't anyone think of it sooner?

Stratis 03-12-2016 02:06 PM

Very smart to make this mod. Before 2 years I have included info in tags where ever it was possible for me. Now with this, is very easy and I will include all others that I did not manage to do.

Questions:
* How can I remove "This is our xxxxx tag."
Which code I must delete from "Add Javascript Function" (I want to delete that line for my use)

* Does this work for other bbcode tags? that they are integrated by default in vb
like as bbcode (# CODE), (Quote) e.t.c. because I did not manage to find how. If it works to them to, I will try more.

Thank you Mark for mod. ;)

MarkFL 03-12-2016 03:24 PM

Yes, it works for any button whose title already contains the tag name within square brackets, like QUOTE, CODE, HTML, PHP, etc. :)

Alan_SP 03-12-2016 04:21 PM

Excellent idea. :up:

MarkFL 03-12-2016 05:05 PM

Stratis, to remove that line, locate the line of code:

Code:

tags[n].title += (".\n\nThis is our " + tagdefs[m] + " tag.\n\n" + taginstructs[m]);
And change it to:

Code:

tags[n].title += (".\n\n" + taginstructs[m]);
You will still need to define something in the settings that would have been displayed, but using this edit, it will be ignored. :)

Stratis 03-12-2016 06:36 PM

Quote:

Originally Posted by MarkFL (Post 2567082)
Stratis, to remove that line

Done, thanks Mark I appreciate this :)

MarkFL 03-19-2016 01:41 AM

Update - Version 1.1:
  • Admin options processing optimized.
  • Javascript function rewritten so onload function does not interfere with other onload events.
  • Support added for quick editor.

IggyP 11-12-2017 05:03 PM

hello,
i have noticed an issue here with a 4.2.5 im working with....

seems to only show the hover tooltip in quick reply now, and not normal adv editor....

any ideas?

IggyP 02-14-2018 12:02 AM

thank you for the support on this at the other site i asked you before.....

by now i have another question tho....i have one button with a bit of a long description...i would like to add a line break in the middle, is that possible? no big deal just curious if there is an easy way


All times are GMT. The time now is 12:45 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.01093 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete