View Full Version : Latest threads on CMPS - takes to post #1 not latest post
I use CMPS v1.0.0 on Vb. 3.0.3
On my latest thread module when i click on the thread it takes me to the first post in that thread, however if i click the thread in my vB forumshompage then it takes me to the latest post in the thread.
can someone here please help and tell me how can i get CMPS to take me to the newset post instead of taking me to the thread only...this is especially irritating if the thread is more than 2 pages.
=
Brian
12-06-2004, 10:50 PM
If you click on the title it is going to take you to the first post. If you click on the http://www.vbadvanced.com/forum/images/buttons/lastpost.gif then it will take you to the last post. If you would like the thread title to take you to the last post as well just copy the link around that image and replace the link around the thread title with that.
04screamer
01-04-2005, 04:44 PM
If you click on the title it is going to take you to the first post. If you click on the http://www.vbadvanced.com/forum/images/buttons/lastpost.gif then it will take you to the last post. If you would like the thread title to take you to the last post as well just copy the link around that image and replace the link around the thread title with that.
I don't think that answered the original question, and I have the same one. Is there any way to either have the icon (http://www.vbadvanced.com/forum/images/buttons/firstnew.gif (http://www.vbadvanced.com/forum/showthread.php?goto=newpost&t=3794)) or have the title link to the first new post in the thread and not the first post?
Brian
01-04-2005, 06:56 PM
Edit your adv_portal_latestthreadbits template and add &goto=newpost in the URL for the link that you want to take them to the new post.
04screamer
01-04-2005, 09:09 PM
Sweet! Thanks Brian, that will work. Is there any way to make it conditionally display the icon so it only displays if there are new posts the way it is in forumdisplay?
d4v3r5
02-16-2005, 03:09 AM
*bump*
I'm trying to add a dynamic "view first new post" as well. VBindex had it and my users miss it since i switched to CMPS.
please pertie please?
:)
Sweet! Thanks Brian, that will work. Is there any way to make it conditionally display the icon so it only displays if there are new posts the way it is in forumdisplay?
Brian
02-16-2005, 08:41 AM
<if condition="$show['gotonewpost']"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
Should work.
d4v3r5
02-16-2005, 12:21 PM
<if condition="$show['gotonewpost']"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
Should work.
Awwwww yeah!
thanks alot Brian! :)
d4v3r5
02-16-2005, 01:12 PM
ok to bug ya even more can the links work like "new posts" and unbold if read?
Brian
02-16-2005, 01:36 PM
<if condition="$show['gotonewpost']"><strong>$thread[title]</strong><else />$thread[title]</if>
;)
d4v3r5
02-16-2005, 01:47 PM
<if condition="$show['gotonewpost']"><strong>$thread[title]</strong><else />$thread[title]</if>
;)
yer the shiznitz fo shizzle!
(thanks again!) :)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.