Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is most likely no translated for the post!




Share:
Notifications
Clear all

wpForo (1.7.0) - Fix annoying tooltips


 Hans
(@hans)
Noble Member Admin
Joined: 8 years ago
Posts: 1832
Topic starter  

With the addon "Advanced Attachments" ("wpforo-advanced-attachments") of wpForo, comes a slightly annoying tooltip effect, caused by the included jQuery.UI, which includes the tooltip function which in turn takes over all title tags of HTML elements.

To disable this effect:

Remove the ui.tooltip code, from /wp-content/plugins/wpforo-advanced-attachments/wpf-third-party/file-uploader/js/jquery-ui.min.js.
Since this file contains minimized JavaScript code, you may have to search a little (tip: a tool like Online JavaScript Beautifier can make things more readable).

It starts at (note: I've attached a copy of my file here):

, e.widget("ui.tooltip" ...

all the way until the end of the file, just make sure to leave this last part in place:

});

It would have been better to regenerate the jQuery.ui (here) and simply disable the tooltip option there, but it seems there is a problem with the jQuery website for that particular page (at the moment).

Note:

I feel this to be more of a dirty "hack" than anything else, and it will probably have consequences elsewhere in the forum.

Maybe in a future releases of wpForo's Advanced Attachments Addon this issue can be taken into consideration ...  (none of the other addons use it)


ReplyQuote

Like what you see and you'd like to help out? 

The best way to help is of course by assisting others with their questions here in the forum, but you can also help us out in other ways:

- Do your shopping at Amazon, it will not cost you anything extra but may generate a small commission for us,
- send a cup of coffee through PayPal ($5, $10, $20, or custom amount),
- become a Patreon,
- donate BitCoin (BTC), or BitCoinCash (BCH).

Share: