Caveat: this is most probably NOT the best/correct way to do this, but it works on my board with prosilver. I used the existing mark-read class just because it was already there, aligned with the real mark-read link while a list link did not, and matched font size.
I just added a separate link instead of removing New Posts from the Quick Links menu.
Since this is inside an IF U_MARK_FORUMS statement, if you turn off the ability to mark forums read (if you can--don't know but assume that is what U_MARK_FORUMS is) then this code will not execute and you will get no link. You can figure it out from there.
Go to Styles->Prosilver->Template and edit index_body.html
Find this (it is close to the top of the file):
Code: Select all
<!-- IF U_MARK_FORUMS -->
<div class="action-bar compact">
<a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>
</div>
<!-- ENDIF -->
Between the div class statement and the mark-read href, insert this:
Code: Select all
<a href="./search.php?search_id=newposts" class="mark-read leftside">New posts</a>
So the block looks like:
Code: Select all
<!-- IF U_MARK_FORUMS -->
<div class="action-bar compact">
<a href="./search.php?search_id=newposts" class="mark-read leftside">New posts</a>
<a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>
</div>
<!-- ENDIF -->
This produces the following on my board:
NewPosts.jpg
I hope it helps someone else.
KB
You do not have the required permissions to view the files attached to this post.
“Reason is poor propaganda when opposed by the yammering, unceasing lies of shrewd and evil and self-serving men."
-- Robert A. Heinlein