Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 3 Months, 4 Weeks ago Go to firstpost instead of lastpost?
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi, currently when i open a thread it redirects to the lastpost, how do i set so that first post is shown instead of lastpost. Thanks
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
forum display and search results have goto first unread post links (in general, green arrow image )
do you want to have it on the index page at the last column ? or completely change the last post link
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi, .m. what i am trying to say is, forexample. if you open this thread ( http://community.mybb.com/thread-63082.html ), you'll see the first post but in my case (my forum) you're taken to the last post (i.e page-19's lastpost)

I want to change the postlink from lastpost to firstpost, how do you do that? Thanks
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
^ please see replies here
#5
Solved: 11 Years, 3 Months, 4 Weeks ago
Is it possible without using a plugin? Thanks
#6
Solved: 11 Years, 3 Months, 4 Weeks ago
link of your forum?
strange ...
the default MyBB is going to the first page of the thread
#7
Solved: 11 Years, 3 Months, 4 Weeks ago
/: I'm sorry i can't provide a link because i'm developing on localhost not a live server. It jumps to last post, i don't know why!
I think if you visit theforum below (also powered by mybb) and open a thread you're taken to the last post and that's what i'm trying to avoid http://yaldaram.com/index.php
#8
Solved: 11 Years, 3 Months, 4 Weeks ago
(2013-10-05, 01:23 AM)i-Discover Wrote: /: I'm sorry i can't provide a link because i'm developing on localhost not a live server. It jumps to last post, i don't know why!
I think if you visit theforum below (also powered by mybb) and open a thread you're taken to the last post and that's what i'm trying to avoid http://yaldaram.com/index.php

in index?

in /inc/functions_forumlist.php

Find:

$lastpost_link = get_thread_link($lastpost_data['lastposttid'], 0, "lastpost");

Replace:
$lastpost_link = get_thread_link($lastpost_data['lastposttid']);
#9
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi martec, thank you so much, that sorted out the index, i'm also using a plugin (latest threads) as a sidebar, it has this line, what should i do to also make it point to first post. Thanks again
 $recenttopics .= '<strong><a href="showthread.php?tid=' . $threadRow['tid'] . '&action=lastpost">' . $subject .'</a></strong><br>';        
#10
Solved: 11 Years, 3 Months, 4 Weeks ago
(2013-10-05, 02:10 AM)i-Discover Wrote: Hi martec, thank you so much, that sorted out the index, i'm also using a plugin (latest threads) as a sidebar, it has this line, what should i do to also make it point to first post. Thanks again
 $recenttopics .= '<strong><a href="showthread.php?tid=' . $threadRow['tid'] . '&action=lastpost">' . $subject .'</a></strong><br>';        

what plugin?
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 4 Guest(s)