Displays a basic preview of a thread in forumdisplay/search in a tooltip. The tooltip acts like any standard tooltip - it will be shown after the mouse is hovered on the table cell containing the thread title. (will also do it for thread title text itself if the user is not a moderator, in which case, the "click and hold to edit" will override the thread tooltip)
This will also display a tooltip preview for the last post, when the user hovers the mouse on the last post cell in forumdisplay/search (note, this doesn't work for the forum index).
Note: this plugin assumes that you're using the UTF-8 character set everywhere (which MyBB somewhat assumes anyway).
As there are clearly a lot of people who don't read the above, I will say this differently. This DOES work for moderators and administrators, however you need to hover the mouse on the TABLE CELL for it to appear (not the actual thread link).
(This post was last modified: 11-11-2014 07:16 AM by ZiNgA BuRgA.)
I use thread tooltip also on forumdisplay_thread, portal etc. If I put in all these templates only the <php> code I'll have problems? PHP will have more requests and then the site slower?
(10-12-2016 08:43 AM)MrBrechreiz Wrote: This plugin shows you already the first post at hover?
Thanks, I understand that it does that. But if you look at my screenshot in this thread you'll see that I want excerpts to always be displayed. https://community.mybb.com/thread-204832.html
I am wondering if I can modify this plugin so it shows excerpts all the time instead of only when hovered.
(This post was last modified: 10-12-2016 10:03 AM by babui.)
(11-16-2016 07:30 AM)metulburr Wrote: IS there a way to make an option in User CP to turn on/off the tool tips, by default turned on
Plugin doesn't have the feature, someone would have to modify it to do that.
(11-16-2016 07:30 AM)metulburr Wrote: Also why is the max warning set at 200? Vbulletin seems to have 300 maybe 400?
200 is probably a mistake. The columns in the table are defined to be length 255, so it'll never allow anything longer than that unless you change the table definition (if you wish to do that, change the max length of the postpreview and lastpostpreview columns of your threads table).