Remove "View unread posts" and move "View new posts"?

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Anti-Spam Guide
Locked
scottybt
Registered User
Posts: 130
Joined: Sun May 11, 2008 5:39 pm

Remove "View unread posts" and move "View new posts"?

Post by scottybt » Thu Feb 11, 2010 11:18 pm

Hey.

What do I edit in order to remove "View unread posts"? Also, what's needed to move "View new posts" up to the same line as "View your posts"?

Thanks!

n00b2010
Registered User
Posts: 21
Joined: Sat Feb 06, 2010 6:14 pm

Re: Remove "View unread posts" and move "View new posts"?

Post by n00b2010 » Thu Feb 11, 2010 11:37 pm

Okay, im not sure and i don't know where those are on your styles, but you can try and do these.

Go to forumlist_body.thml (or index_body.html) and remove..

Code: Select all

<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>

Replace this with wherever your "View your posts" tables is at.

Code: Select all

<tr>
	<td class="viewnewpost" colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF S_USER_LOGGED_IN -->
		<span style="float: {S_CONTENT_FLOW_END};"> <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
		<!-- ENDIF --></td>
</tr>
Notice <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> is View your posts. It should be within table rolls which are: <tr> & </tr> , replace that with the one above.

CORRECT ME MODS!

Locked

Return to “[3.0.x] Styles Support & Discussion”