Thread Tooltip Preview
Author Message
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.)
Find all posts by this user
Quote this message in a reply
Download: threadtooltip-1.33.7z (2.65 KB)
Plugin Version: 1.33
Last Updated: 11-11-2014, 07:14 AM

Downloads: 1,956
MyBB Compatibility: 1.4.x, 1.6.x, 1.8.x
Plugin License: WTFPLv2
Uploader: ZiNgA BuRgA
brijeshrai Offline
Junior Member
**
Posts: 9
Joined: Feb 2012
Post: #81
RE: Thread Tooltip Preview
will this plugin also work for "View New Posts" and "View Today's Posts" results pages. Basically, will this also work for search results pages?
08-01-2012 12:13 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Online
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #82
RE: Thread Tooltip Preview
Why not try it and tell us?

My Blog
08-01-2012 01:59 PM
Find all posts by this user Quote this message in a reply
brijeshrai Offline
Junior Member
**
Posts: 9
Joined: Feb 2012
Post: #83
RE: Thread Tooltip Preview
(08-01-2012 01:59 PM)ZiNgA BuRgA Wrote:  Why not try it and tell us?

okay, sure
08-01-2012 03:07 PM
Find all posts by this user Quote this message in a reply
brijeshrai Offline
Junior Member
**
Posts: 9
Joined: Feb 2012
Post: #84
RE: Thread Tooltip Preview
(08-01-2012 03:07 PM)brijeshrai Wrote:  
(08-01-2012 01:59 PM)ZiNgA BuRgA Wrote:  Why not try it and tell us?

okay, sure

yeah they r showing Tongue
08-01-2012 03:53 PM
Find all posts by this user Quote this message in a reply
tempo Offline
Junior Member
**
Posts: 30
Joined: Aug 2012
Post: #85
RE: Thread Tooltip Preview
great plugin. I'm using it on v1.6.8 myBB board.

i want to ask if is it possible to change the look of the tooltip. Maybe changing CSS or something else (i don't like the yellow default window)
08-14-2012 08:52 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #86
RE: Thread Tooltip Preview
You can style it using CSS or javascript. You can manually put {$thread['postpreview']} for the first post preview and/or {$thread['lastpostpreview']} variable in your forumdisplay_thread template if you want to style it.

08-15-2012 04:27 AM
Find all posts by this user Quote this message in a reply
tempo Offline
Junior Member
**
Posts: 30
Joined: Aug 2012
Post: #87
RE: Thread Tooltip Preview
thanks for the answer but how can i style it using CSS?
i can't found any CSS code....
08-15-2012 04:12 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Online
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #88
RE: Thread Tooltip Preview
You put in the CSS code yourself.
This just uses the standard browser tooltip, which cannot be styled.  You'll need to make your own custom tooltip.

My Blog
08-15-2012 05:01 PM
Find all posts by this user Quote this message in a reply
tempo Offline
Junior Member
**
Posts: 30
Joined: Aug 2012
Post: #89
RE: Thread Tooltip Preview
yes, i can create the class using CSS editor but i can't find the point into the php file to put the call of the class....
08-15-2012 10:33 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Online
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #90
RE: Thread Tooltip Preview
Just search for title= in the file.

My Blog
08-16-2012 08:02 AM
Find all posts by this user Quote this message in a reply


Forum Jump: