View Full Version : Thread Description Mouseover Box
Sc0rp
10-26-2003, 10:00 PM
Ok I know something like this has already been released but since this isnt exacly the same, quite different actually, Ive decided to release it.
Basically this pops up a html based onmouseover box when you move your mouse over a thread title in forumdisplay, then it returns the username, thread title, a part of the thread title (this can be customized by yourself, however only in the source, this is a simple hack which I only released as I thought some ppl might appreciate it) if its open or closed and the replies/views of it, basically you could modify the templates and have it return all the details the thread sql table contains.
Check screenshot for more info..
enjoy
Sephiroth 9999
10-27-2003, 04:44 PM
Interesting... the screenshot isn't too clear but I suppose that can not be avoided. Nice work, this is almost like an improved version of Invision Power's thread description box.
* Clicks that little button we all love - Install
Sc0rp
10-27-2003, 04:46 PM
hmm have never used invision, can you show me an example of that description box please?:D
Sephiroth 9999
10-27-2003, 05:04 PM
Take a look in the offical Invision Power Board (http://forums.invisionpower.com/index.php?showforum=2) forums. Scroll down a bit, you'll see the desciptions under the thread titles.
Sc0rp
10-27-2003, 05:23 PM
ahh ok, well my hack doesnt give a description on its own, it returns a certain amount of characters from the full thread message.. :p plus its in a popup box:D
Sephiroth 9999
10-27-2003, 05:40 PM
Yeah, it's a better version. ^^
Parker Clack
10-27-2003, 11:16 PM
Great hack:
Is there anyway to make the popup box remain solid when it scrolls over something like a pull down menu? As it stands now when the popup box is over a pull down menu the pull down menu is visible in the popup box. Also, is there anyway to direct the popup box so that it stays on top even when you scroll down the page?
Thanks,
Parker
MrNase
10-28-2003, 10:13 AM
>> Is there anyway to make the popup box remain solid when it scrolls over something like a pull down menu?
No, it seems to be an ie bug :)
Sc0rp
10-28-2003, 10:26 AM
its not a bug, its just the way the javascript has been written, and like I said I didnt make it since I dont know much about js.. but Ive done something like this before on my work, so u need to set the position of the box, but Im gonna have to look a bit further into that, will let you know when I found out..
and about:
Also, is there anyway to direct the popup box so that it stays on top even when you scroll down the page?
im a little confused here, could u explain what u mean?
Logician
10-28-2003, 11:07 AM
I'm not able to see how this is different than N!ck's Improved Thread Preview Hack (https://vborg.vbsupport.ru/showthread.php?t=35645&highlight=improved%2A)?
Also it would be very good if you performed a "LEFT JOIN" to post table in thread retrieval query (just like N!ck's hack is doing). Your method of getting info from post table adds as many query as thread count in forum display page (in every visit) so if say there are 30 threads in that page, your query count will increase by 30. LEFT JOIN method would add 0 queries to your forumdisplay so I guess it is more performance friendly. :)
Sc0rp
10-28-2003, 11:47 AM
Logician, N!ck is using a simple title tag for his url's, this would be good if it would actually stay there as long as your mouse is over the link, but it doesnt, with title u can read about 50% of what it says and then it disappears, so u have to move ur mouse over 'again'. Besides mine gives more details about the thread, plus it uses your current style css..
and thanks for the LEFT JOIN advise, will take a look at it right now :)
edit: just saw N!ck's code, it requires adding a new querry, I could do this but then it would turn out to be a rip off of N!ck and I dont want that.. I'll see if I can find a way around
empreur76
10-28-2003, 06:44 PM
----------------------------
|Find in the "Header" : |
----------------------------
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div><script language="JavaScript" src="{overlib}"><!-- overLIB (c) Erik Bosrup --></script>
------------------------------------------------------------------
skip this and put in the template forumhome
after <body>
====
bug whis the script who'on line
for me is good
Sc0rp
10-28-2003, 08:24 PM
ok thats about the most confusing thing I ever read..
Sephiroth 9999
10-29-2003, 05:59 AM
What's the above meant to accomplish exactly?
gmarik
10-29-2003, 06:41 PM
Quite simple, is not it.
Maybe try multi-line comments show-up?!
Rezin
10-31-2003, 05:16 PM
Nice hack. Installed and running perfectly on my board. I only changeed the "firstaltcolor" to second for appearance sake. Took 5 mins, and it looks good! Thanks!
Rezin
11-01-2003, 12:25 PM
Had to disable it. Put a noticable load on the server. If you can address that, I'd love to re-install it!
Also, while many users loved it, a lot hated it too, so I'd love to see an option that the user could maybe toggle it on or off themselves. Would make a great addition!
lasto
11-01-2003, 02:28 PM
dont like these myself as members just use mouseover and never respond back to threads whereas if they are made to read em u never know u may just get a reply
Xyphen
11-01-2003, 02:37 PM
I tried this hack, nothing but problems...
I got this error, and I followed the directions perfectly, was there a hack I needed to be pre-installed before using this one? Well here is the error:
Line: 79
Char: 1
Error: 'skn' is null or not an object
Code: 0
Sc0rp
11-04-2003, 07:02 PM
its prolly a character in your thread message that somehow ended the mouseover effect, even though I made sure all characters that could do this where removed.. hmm I'll see what I can do about this, also will see if its worth making a new version of.. it runs absolutely fine on my forums and it doesnt cause any noticeable cpu load.. will take a look though
How do I change the text colour, installed the mod everything works fine, but it has a grey background a white text and is un readable???
Gizmo99
11-08-2003, 03:39 PM
Great Hack ;)
How to change colours
var content="<TABLE BORDER=0 CELLPADDING=2 CELLSPACING=1 "+
"BGCOLOR={tablebordercolor}><TD bgcolor={firstaltcolor} ALIGN=left><FONT COLOR={categoryfontcolor} SIZE=1 face=tahoma>"+msg+"</FONT></TD></TABLE>"
change BGCOLOUR and FONT COLOR to what u wont BUT do not put "" around the value !!!
Aslo I have added
$threadmsg = eregi_replace("\.", "", $threadmsg);
$threadmsg = eregi_replace("\`", "", $threadmsg);
$threadmsg = eregi_replace("\_", "", $threadmsg);
Due to Java error coz people had posted .. ` and _ in a thread a caused an error, but all fixed :)
Also noticed if the 200 charater is a <SPACE> then it boom out also
Great hack, just a quciky how could a put delay in the popup so people have to wait a couple of sec
Giz
bbs.rsownersclub.co.uk
sorry I'm late...
good work there sc0rp
has anyone got any idea to make this box user selectable?
Xyphen
11-12-2003, 01:57 PM
I am still getting the same error I posted above, and I have used the latest text. I am using vb 2.3.2, could that be a problem? I tried everything to get this thing to work, will not work, if u wanna see the problem head here:
http://forums.ani-pro.com/forums/forumdisplay.php?forumid=4
Rezin
11-12-2003, 02:11 PM
has anyone got any idea to make this box user selectable?
Yes, Please!!!
Barto
11-28-2003, 09:13 AM
Hi, great hack, but I have a problem :(
I had installed this hack in my forum, but when I touch a topic with the mouse in the pop-up don't appear the correct topic, but the last one :(
why?
pls help me!
sorry for my terrible english
enginethatcan't
11-29-2003, 02:38 PM
okay tried installing it...
the thing is....I did all the php/tamplate editing, but It wont do what it's supposed to do. it doesn't show anything. but on the good side, no errors or anything like that :)
any ideas of what I could have possibly done wrong?
Styles
12-02-2003, 06:19 PM
yeah, i'd love for it to have a second delay before popping up, so that the user would have to rest their mouse on the topic before it pops up...any way of doing this?
Prince
12-07-2003, 01:23 AM
I installed this hack and it works great!
Prince
12-07-2003, 03:07 PM
Can anyone get this to work with the search?
Meaning when you perform a search and get the list of threads (which looks just like a forum display) the pop-up works on that page.
Sc0rp
12-18-2003, 10:42 AM
okay tried installing it...
the thing is....I did all the php/tamplate editing, but It wont do what it's supposed to do. it doesn't show anything. but on the good side, no errors or anything like that :)
any ideas of what I could have possibly done wrong?
do you have any other js scripts running that could mess up the process?
--
making the box user selectable aint that hard, I'll see if I can make time to make a few changes, I'll also look into the delay thingie, though as I said im no hero in js :)
parajsa
01-17-2004, 11:23 AM
Great hack by the way,
A problem i cannot resolved: On the lastest thread on a forum, when the mouse is over them, the "pull down menu" is visible inside the popup box, and some piecies of text on the box could not be read. Can it be a solution, that even on the "pull down menus" (on version 2.3.x) the popup box could be still solid, and can not been interfaces by other vbulletin structure.
Thanks in advanced,
parajsa
sticky
01-21-2004, 05:28 AM
I installed this and it works great, the only thing is, why doesn't it preview threads after a search?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.