![]() |
DHTML Thread Preview with Per-User Option
What Is This?
This hack will alter the way your users view the thread previews. Instead of using vB default "title", which can be annoying, we're using a DHTML tooltip to display it. You can even customize the look of the tooltips. And remember that Mozilla bug where linebreaks show up as black squares? No more! You can actually preserve the line breaks now! And now we've moved the tooltip to a thread's post icon for easy activation, so no more annoying accidental preview popups. On top of all that, your users can just disable the whole thing if they don't like it! Hack Overview
All you need is the overLIB. You can download it from this page. To get more functionality and customization, you can read the online manual. Downloads / Thing to look at - The package that contains the instructions. - A screenshot (uploading images doesn't want to work for me...) - Live example (hover over the post icons) |
nice hack :)
i like the idea. and excellent placing of THE words. people are really CREATIVE Sandy... |
I like this - will have to look into overLIB. Nice work. :)
|
Thanks guys :)
|
Used to use overLIB on my site a long time ago. I enjoyed it, and it worked well for me. Looks like you have done the same with this hack. Good job! :)
|
The following error occurred when attempting to evaluate this template:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/virtual/site1/fst/var/www/smarty/forum/includes/adminfunctions_template.php(3037) : eval()'d code on line 3 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. What did I doing wrong :disappointed: |
Which template you editing when you get that error? :p
|
if there isn't post icon ?
|
Quote:
I couldn't think of anywhere else to put it. Maybe the post indicators are a better place. |
Quote:
|
Try this:
HTML Code:
<if condition="$show['threadicons']"> Chroder, I belive you forgot an </if> in the threadbit edit. ;) |
Quote:
|
See first post for updated package. Missed a </td> and </if>. Should work now :D
|
@Scrub
Many TNX ....... works fine now :banana: |
Quote:
|
Any idea's on different locations for the hovering? The post icons aren't too practical. I was thinking of a 5x5px image next to each title that had the hoving on it -- too much?
|
Why not just do the thread title link?
|
Because it's clumsy and annoying :p
|
Well, you asked for a different location. Sorry it wasn't the answer you wanted.
|
just realised that the dhtml tooltips missing for when u search posts
could we add it to that ? ps how do i remove the preview altip from thread title on forum display also i wasn't sure wether to ask here or in the vbadvanced forum but i'd also like to intergrate this with last posts block for Vbadvanced somehow :o excellent hack idea by the way the thread previews get annoying when they don't have html stripped in the thread preview alt tip |
Quote:
In threadbit temlpate, find: HTML Code:
<td class="alt1Active" id="t$thread[threadid]" title="$thread[preview]"> HTML Code:
<td class="alt1Active" id="t$thread[threadid]"> I'll update the main package later, and I'll try and find out how to put it into the search as well. |
Quote:
|
There is a similar hack for IPB, exept for the hover thingie is only displayed when your mouse is over the topic name. It prooved to be very practical, and the users liked it. How can i do the same with this hack?
|
Most of the complaints about the topic preview is about how it's annoying, so that's why I moved it away from the topic title. If you want it on the topic title then you might as well just enable the default topic preview.
My users like it on the icon because if they want a preview, then they just hover over it. No delays, no "sticky" tooltips etc. |
Quote:
would become very annoying when mousing over titles so i actually prefer it on the post icons aswell now :D |
You could use a delay, but that kinda defeats the purpose IMO.
|
any news on adding this to search posts ?
|
**bump** same as the last time
|
Quote:
HTML Code:
FIND in search_results : HTML Code:
ADD AFTER in search_results : HTML Code:
FIND in search_results : HTML Code:
BEFORE ADD in search_results : This will give the same ability in search results none of that was my code i just copied and pasted in the right templates :) hope thats useful to others |
anyone knows how can I change the preview from the icon to the other icon in the left? (new post, old post, etc icon)
thanks |
How do I add this function to the search results also? I noticed it only works in forum view mode, and not on search results. I think it would be handy to have this function work for search results as well.
|
Quote:
heres my previous post that explains exactly how https://vborg.vbsupport.ru/showpost....6&postcount=29 |
Quote:
|
All times are GMT. The time now is 04:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|