'New posts' button?

Post here for any improvements, ideas, thoughts you might have.
User avatar
Horse
Posts: 1734
Joined: Mon Sep 28, 2015 9:20 am

'New posts' button?

Postby Horse » Mon Sep 28, 2015 10:10 am

I know there's a link in the 'radiator' Quick Links option, but could we have a dedicated 'new posts' in the header?

Ta :)
My own views. For better or worse :)

User avatar
akirk
Posts: 1408
Joined: Sun Sep 27, 2015 6:58 pm
Location: Cotswolds

Re: 'New posts' button?

Postby akirk » Mon Sep 28, 2015 10:14 am

absolutely! my favourite short cut as well...

I haven't done much with PHPBB for many years, so just finding my way around a bit - not sure if this is a simple option in the control panel, or whether I will have to modify the code - either way, definitely will do it - but might take a day or two...

regards

Alasdair

User avatar
Horse
Posts: 1734
Joined: Mon Sep 28, 2015 9:20 am

Re: 'New posts' button?

Postby Horse » Mon Sep 28, 2015 10:29 am

No worries, thanks for [probably] sorting :)

I use the type ahead / auto complete in the URL to straight to the list too.
My own views. For better or worse :)

User avatar
Mr Cholmondeley-Warner
Posts: 1036
Joined: Sun Sep 27, 2015 7:01 pm
Location: Swindon

Re: 'New posts' button?

Postby Mr Cholmondeley-Warner » Mon Sep 28, 2015 11:11 am

Needs a mod to the style Alasdair. I'd do it but I don't have that option.

Edit index_body.html and add:

<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
<ul class="linklist">
<!-- IF S_DISPLAY_SEARCH -->
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_LOAD_UNREADS --> &bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and U_MARK_FORUMS --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
</ul>
<!-- ENDIF -->

Which will give

View unanswered posts • View unread posts • View new posts • View active topics ............................................ Mark forums read

Edit as appropriate - I rather like "active topics" myself.
Nick

User avatar
akirk
Posts: 1408
Joined: Sun Sep 27, 2015 6:58 pm
Location: Cotswolds

Re: 'New posts' button?

Postby akirk » Mon Sep 28, 2015 11:14 am

Fab - will add when I have a moment

Alasdair

User avatar
Horse
Posts: 1734
Joined: Mon Sep 28, 2015 9:20 am

Re: 'New posts' button?

Postby Horse » Mon Sep 28, 2015 11:27 am

Mr Cholmondeley-Warner wrote: I rather like "active topics" myself.


Yup, that too, please :)
My own views. For better or worse :)

User avatar
akirk
Posts: 1408
Joined: Sun Sep 27, 2015 6:58 pm
Location: Cotswolds

Re: 'New posts' button?

Postby akirk » Mon Sep 28, 2015 10:32 pm

okay - not quite that simple -t he change to version 3.1 has made the template responsive and brought in the quick links menu... so that seems to no longer work...

tracking it down!

Alasdair

User avatar
akirk
Posts: 1408
Joined: Sun Sep 27, 2015 6:58 pm
Location: Cotswolds

Re: 'New posts' button?

Postby akirk » Mon Sep 28, 2015 11:21 pm

now done - found where it lives (navbar_header.html) and moved it out of the quick links menu to the bar...
ditched the faq button as that refers simply to an faq on PHPBB3.1 which is probably of little interest to anyone...
when you go responsive the links should collapse back into the menu bar

Alasdair

User avatar
Mr Cholmondeley-Warner
Posts: 1036
Joined: Sun Sep 27, 2015 7:01 pm
Location: Swindon

Re: 'New posts' button?

Postby Mr Cholmondeley-Warner » Tue Sep 29, 2015 7:05 am

Good stuff. Well done, boss.
Nick

Jonquirk
Posts: 190
Joined: Tue Sep 29, 2015 6:48 pm
Location: Guildford

Re: 'New posts' button?

Postby Jonquirk » Tue Sep 29, 2015 7:45 pm

ADUK had a button to take you to the first unread post in a topic. I always found it useful. Could it be replicated on here, please?


Return to “This Website”

Who is online

Users browsing this forum: No registered users and 1 guest