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 no translation for that post!



wpForo (1.7.0) - Fi...
 
Share:
Notifications
Clear all

[Solved] wpForo (1.7.0) - Fix annoying tooltips

1 Posts
1 Users
0 Likes
2,300 Views
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2680
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
Share: