![]() |
go to new post link
If I want to add a go to last post like
Code:
?goto=newpost Here's the page in question http://www.vdubaddiction.com/forums/splashpage my users would like to have the latest topic links go to the last response. I know the code above will do that. But I'm not sure where to put it. Thanks! |
The >> icon in the Last Post column already does that.
|
I'm aware of that. They'd like the link itself to do that. Just like phpBB can.
|
You need to create a template hook at footer_before_body_end hook location. Then the template code to use is below:
Code:
<script> Code:
var $container = $('#widget_182'); Code:
var $container = $('.topic-list-container'); |
Do I need to clear the cache on the board cause that did nothing. Hopefully I followed the instructions correctly. See below
https://vborg.vbsupport.ru/external/2016/05/4.png |
You need to create a new template named go_to_last_post under the theme/style that you're using and paste the code there not in that last field (Hook Arguments) which you should leave empty.
|
You sir, Are a genius! that was it. Sorry it wasn't clear that I had to make those two separately. Worked like a charm. Thank you. One last question. So now that it's going to last post, what would I need to do to make it go to last unread post? BTW This thread should be helpful to sooo many people. I've seen this question asked a lot of times in the archives with no real solution until now. Fantastic!
|
All times are GMT. The time now is 10:14 PM. |
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:
|