Viewing Newest Forum Post
2 posters
Page 1 of 1
Viewing Newest Forum Post
Hi there,
I recently changed my forum's appearance. I noticed that after changing the appearance, when clicking on a topic that someone has replied to, it goes to the original post rather than the most recent reply. I didn't click on anything to change it to be like this but somehow, it has changed on me. Is there a code that can solve this?
My forum is Phpbb3, not phpbb2*
Thanks in advance.
I recently changed my forum's appearance. I noticed that after changing the appearance, when clicking on a topic that someone has replied to, it goes to the original post rather than the most recent reply. I didn't click on anything to change it to be like this but somehow, it has changed on me. Is there a code that can solve this?
My forum is Phpbb3, not phpbb2*
Thanks in advance.
dubkay- New Member
- Posts : 15
Reputation : 1
Language : EN
Re: Viewing Newest Forum Post
Hi @dubkay,
There's 3 options for topics :
1. Clicking the topic title takes you to the beginning of the topic
2. Clicking the icon next to the username takes you to the newest post
3. Clicking any number will take you to that page in the topic
The latest topics widget will automatically take you to the newest post in a topic.
There's 3 options for topics :
1. Clicking the topic title takes you to the beginning of the topic
2. Clicking the icon next to the username takes you to the newest post
3. Clicking any number will take you to that page in the topic
The latest topics widget will automatically take you to the newest post in a topic.
Re: Viewing Newest Forum Post
Right, I was aware of that however earlier, when clicking on what you represent as "1", it would take you to the newest post as well.
dubkay- New Member
- Posts : 15
Reputation : 1
Language : EN
Re: Viewing Newest Forum Post
To my knowledge, I don't recall it doing that on phpbb3. Did you make any modifications to achieve that before you changed your forum appearance ?
Re: Viewing Newest Forum Post
I don't believe I did. The theme was changed along with a lot of cosmetic changes but the CSS did not change really at all. Not sure why it changed either. Not a big issue if it can't be reverted to how it was.
dubkay- New Member
- Posts : 15
Reputation : 1
Language : EN
Re: Viewing Newest Forum Post
I can provide you with a script to achieve the result you want. To install it, go to Administration Panel > Modules > JavaScript codes management
( If it's not enabled, make sure to tick "Yes" and click save )
Create a script with the following settings :
Placement : In the sub-forums ( or all pages if you want it to work in searches )
Paste the following code and click submit :
After that, it should change the topic title location, linking to the most recent post.
( If it's not enabled, make sure to tick "Yes" and click save )
Create a script with the following settings :
Placement : In the sub-forums ( or all pages if you want it to work in searches )
Paste the following code and click submit :
- Code:
$(function() {
for (var r = $('.forumbg .row'), i = 0, j = r.length; i<j; i++) $(r[i]).find('.topictitle').attr('href', $(r[i]).find('.lastpost a[href^="/t"]').attr('href'))
});
After that, it should change the topic title location, linking to the most recent post.
Re: Viewing Newest Forum Post
Thanks, that worked.
dubkay- New Member
- Posts : 15
Reputation : 1
Language : EN
Re: Viewing Newest Forum Post
You're welcome
Topic archived
If you have anymore questions, feel free to open a new topic. ^^
Topic archived
If you have anymore questions, feel free to open a new topic. ^^
Similar topics
» Grab newest post icon
» View Newest Post Glitch
» Feed reader doesn't display the newest post in a topic
» Viewing all post history
» Guest Viewing Restricted Area of Forum
» View Newest Post Glitch
» Feed reader doesn't display the newest post in a topic
» Viewing all post history
» Guest Viewing Restricted Area of Forum
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum