![]() |
Hover preview LAST post in thread?
I did a search and couldn't find anything...
So, is there anyway to preview the last post in a thread when you hover over the link instead of the first post? Thanks |
i wanted a version of this, i wanted to keep the existing system but wanted it so that when you hover over the go to last post button it shows the last post.
|
Quote:
I believe it is possible, and even think that it is done with one of the 'latest threads on forumhome' hacks...but can't remember details. :) |
> Thanks to Mini2 for noticing I'd missed out a the limiting of a preview to the set value in the admincp :)
Does still need testing, but here ya go: edit forumdisplay.php and find: Code:
$previewfield = "post.pagetext AS preview,"; Code:
$previewfield = "post.pagetext AS preview, post2.pagetext AS preview2,"; [code] $thread['preview'] = strip_quotes($thread['preview']);/code] and add below it: Code:
$thread['preview2'] = strip_quotes($thread['preview2']); Code:
<phrase 1="member.php?find=lastposter&t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="showthread.php?$session[sessionurl]goto=lastpost&t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /> Code:
<phrase 1="member.php?find=lastposter&t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="showthread.php?$session[sessionurl]goto=lastpost&t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" title="$thread[preview2]" /> |
Quote:
Thank you muchly! Now...which template to edit to make it appear on a Subforum display? |
All times are GMT. The time now is 07:03 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:
|