vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 12-06-2004, 10:45 PM
Viks Viks is offline
Member
 
Join Date: Oct 2004
Posts: 54
Default 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.

=
  #2  
Old 12-06-2004, 10:50 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Latest threads on CMPS - takes to post #1 not latest post

If you click on the title it is going to take you to the first post. If you click on the 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.
  #3  
Old 12-07-2004, 12:16 AM
Viks Viks is offline
Member
 
Join Date: Oct 2004
Posts: 54
Thumbs up Re: Latest threads on CMPS - takes to post #1 not latest post

cool.
thanks Brian
  #4  
Old 01-04-2005, 04:44 PM
04screamer 04screamer is offline
Member
 
Join Date: Feb 2004
Posts: 38
Default Re: Latest threads on CMPS - takes to post #1 not latest post

Quote:
Originally Posted by Brian
If you click on the title it is going to take you to the first post. If you click on the 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 () or have the title link to the first new post in the thread and not the first post?
  #5  
Old 01-04-2005, 06:56 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Latest threads on CMPS - takes to post #1 not latest post

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.
  #6  
Old 01-04-2005, 09:09 PM
04screamer 04screamer is offline
Member
 
Join Date: Feb 2004
Posts: 38
Default Re: Latest threads on CMPS - takes to post #1 not latest post

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?

Last edited by 04screamer; 01-04-2005 at 09:12 PM.
  #7  
Old 02-16-2005, 03:09 AM
d4v3r5 d4v3r5 is offline
Junior Member
 
Join Date: Sep 2004
Posts: 13
Default Re: Latest threads on CMPS - takes to post #1 not latest post

*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?


Quote:
Originally Posted by 04screamer
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?
  #8  
Old 02-16-2005, 08:41 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Latest threads on CMPS - takes to post #1 not latest post

Code:
<if condition="$show['gotonewpost']"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;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.
  #9  
Old 02-16-2005, 12:21 PM
d4v3r5 d4v3r5 is offline
Junior Member
 
Join Date: Sep 2004
Posts: 13
Thumbs up Re: Latest threads on CMPS - takes to post #1 not latest post

Quote:
Originally Posted by Brian
Code:
<if condition="$show['gotonewpost']"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=newpost&amp;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!
  #10  
Old 02-16-2005, 01:12 PM
d4v3r5 d4v3r5 is offline
Junior Member
 
Join Date: Sep 2004
Posts: 13
Default Re: Latest threads on CMPS - takes to post #1 not latest post

ok to bug ya even more can the links work like "new posts" and unbold if read?
  #11  
Old 02-16-2005, 01:36 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Latest threads on CMPS - takes to post #1 not latest post

<if condition="$show['gotonewpost']"><strong>$thread[title]</strong><else />$thread[title]</if>

  #12  
Old 02-16-2005, 01:47 PM
d4v3r5 d4v3r5 is offline
Junior Member
 
Join Date: Sep 2004
Posts: 13
Default Re: Latest threads on CMPS - takes to post #1 not latest post

Quote:
Originally Posted by Brian
<if condition="$show['gotonewpost']"><strong>$thread[title]</strong><else />$thread[title]</if>

yer the shiznitz fo shizzle!
(thanks again!)
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CMPS Module - Latest or Hot Links Brian Modifications 63 08-21-2008 08:34 PM
a sticy post in CMPS hani Troubleshooting / "How do I..." Questions 15 03-10-2005 03:23 PM
How do I get a list of latest threads in a specified forum? ComiX-Fan Troubleshooting / "How do I..." Questions 7 09-11-2004 05:24 PM
Latest Topics: how to direct to last post instead of thread apokalupsis Troubleshooting / "How do I..." Questions 2 07-26-2004 12:32 PM


All times are GMT -4. The time now is 03:12 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.