HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Jump to first unread post in a forum topic

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#102982 (In Topic #20171)
Avatar

Fan in action

Greetings,

I was wondering if it's possible to modify the forum template so that when a user clicks on a topic it automatically jumps to the first unread message on that topic rather than the user having to scroll through posts and pages.

I know I can just add "#first_unread" at the end of the topic URL but what template should I edit to have that permanently on every forum in my site?

Many thanks!
Back to the top
 
Posted
Rating:
#102986
Avatar

Community saint

I've probably misunderstood, or I am a bit slow on the uptake - but I think you'll find that that feature already exists as far as ocPortal Forums are concerned.

Hovering over the 'down' arrow against a topic title will tell you "Jump to first unread post".

Clicking on that icon will take you to it; the first unread post in that topic, that is …!

 O_o

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#102995
Avatar

Fan in action

Aha, I didn't know that. I knew the feature was there somewhere since I saw the template for first_unread in the admin zone.

Is there a way to make it so that when users click on the thread title it takes them to the last unread as opposed to clicking the down arrow?
Back to the top
 
Posted
Rating:
#103000
Avatar

Community saint

It is probably achievable by editing something, somewhere, but it is not something I've thought about. Clicking the title gets you the whole thread, which is something I prefer when I am searching for something on a forum (any forum), so I'm sorry I can't help you any further with this one.

 :'(

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#103003
Avatar

Honoured member

Fletch said

I've probably misunderstood, or I am a bit slow on the uptake - but I think you'll find that that feature already exists as far as ocPortal Forums are concerned.

Hovering over the 'down' arrow against a topic title will tell you "Jump to first unread post".

Clicking on that icon will take you to it; the first unread post in that topic, that is …!

 O_o
Cool i didn't know that either

Just Jarv
Back to the top
 
Posted
Rating:
#103018
Avatar

Community saint

:thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: