![]() |
Thread Titles - Pop-Up Descriptions
I searched and could not find this hack, if it exists, please delete this thread!
This is a slightly modified version of the "Mouse Over" hack, this one works using simple HTML title tags exactly like vB 3, NO JavaScript. Tested on vB version 2.2.9 |
you can check my forum for demo:
http://www.ironmagazineforums.com/fo...?s=&forumid=11 |
Sweet, I'll install this right away - long live vB2. :D
|
Quote:
|
Haven't had a chance to install it yet but it looks nice.
Would it be possible to get this baby to work if you were "viewing todays active threads"? Mike |
I think this might have already been done either here or at vbulletintemplates.com
Then again i may be wrong, Either way well done mate ;) |
Can't get the idea, visited your board ...
|
Basically hover your mouse over a thread title too see a preview of the thread ;)
|
correct, except this version used the standard html title tags in the hyperlink, just like vB3.
|
Just installed, and is working great. Just like Mike mentioned, however, it'd be nice if it also worked from within search results. :)
|
THIS WILL ADD THREAD TITLES TO "VIEW NEW POSTS" ONLY!
** But it does not work for any search fuctions...not sure why. Can anyone else help? PHP Code:
|
Thanks, that worked for the "View new Posts".
|
yeah, maybe someone else can get it to work with all other search functions, I tried with no luck...it's beyond me. :)
|
but you should consider the queries....
|
Works on 2.3.3 with "View New Posts" and "View Today's Active Threads".
Anyone know how to get it to work with search functions? It shows the "...(more)" part but not the message body. |
Any updates?
|
Quick question
It says to replace <a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]"> with <a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]" title="$threadmsg ... (more)"> but my code in my tamplate looks like this: ;<a href="showthread.php?s=$session[sessionhash]&goto=lastpost&threadid=$thread[threadid]"><img what do I do? |
the only thing that is being done to the code is you're adding an html title tag:
title="$threadmsg ... (more)" so, just insert that into the a href line |
sorry, I don't understand....not an expert with this coding stuff haha
nice to see a fellow bodybuilding site on here |
Well to be on the safe side, make a copy of that bit of code in full before you replace it, Then replace it. If everything works ok then your fine. If it doesnt simply replace it with its original coding.
|
WOW!!! It takes it from 21 queries to 59 on my site!!! Way out of control on the number of queries produced! This could be a major server overload issue just on the lookups alone on a busy site.
|
To get it to work properly in the search function there is a bug in Prince's code. The line that says:
$dpost=$DB_site->query_first("SELECT pagetext FROM post WHERE threadid='$thread[threadid]' ORDER BY dateline ASC LIMIT 1"); should say: $dpost=$DB_site->query_first("SELECT pagetext FROM post WHERE threadid='$searchresult[threadid]' ORDER BY dateline ASC LIMIT 1"); |
All times are GMT. The time now is 04:06 PM. |
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:
|