Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 1 Month ago Change Portal "Latest Threads" to direct to latest post
#1
Solved: 11 Years, 1 Month ago
By default, clicking the thread title will only direct you to that thread. But I want to change it so it automatically directs you to the latest post in the thread. Also if it is possible, can you remove the useless "Last Post" link so it will just be text?
http://clubhousegaming.net/
#2
Solved: 11 Years, 1 Month ago
have a look at portal page here - I find that last post link works fine ...
#3
Solved: 11 Years, 1 Month ago
It doesn't work for me. I'm using the Sidebox plugin by Nayar. Take a look at http://clubhousegaming.net/
#4
Solved: 11 Years, 1 Month ago
I don't have that plugin, but you can likely edit it yourself

find something like
$thread['threadlink'] = get_thread_link($thread['tid']);

and replace it with something like
$thread['threadlink'] = get_thread_link($thread['tid'], 0, "lastpost");

as you can see, it just adds the

, 0, "lastpost"

portion to the function. The line may not be exactly as above, but the right side of the "=" should be similar.

then edit the template the side box uses to remove the <a> tag to the last post link, and just keep the text.
Lost interest, sold my sites, will browse here once in a while. It's been fun.
#5
Solved: 11 Years, 1 Month ago
This user has been denied support. This user has been denied support.
might be able to just append the action=lastpost in the template or sth
#6
Solved: 11 Years, 1 Month ago
(2011-07-21, 05:25 PM)frostschutz Wrote: might be able to just append the action=lastpost in the template or sth

fine, take the easy way..... Big Grin
Lost interest, sold my sites, will browse here once in a while. It's been fun.
#7
Solved: 11 Years, 1 Month ago
(2011-07-21, 05:20 PM)pavemen Wrote: I don't have that plugin, but you can likely edit it yourself

find something like
$thread['threadlink'] = get_thread_link($thread['tid']);

and replace it with something like
$thread['threadlink'] = get_thread_link($thread['tid'], 0, "lastpost");

as you can see, it just adds the

, 0, "lastpost"

portion to the function. The line may not be exactly as above, but the right side of the "=" should be similar.

then edit the template the side box uses to remove the <a> tag to the last post link, and just keep the text.
Thank you!
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)