PDA

View Full Version : Show Thread Enhancements - New Posts Button


rungok
24 May 2008, 17:54
There should be a "new posts"-button below all posts on each page so you don't have to scroll up to the navbar to click on the "New Posts" again. A button to the right of "reply"-button should be the most practical solution. That is exactly what I have done. There are several attempts addressing this issue in other threads, but as far as I have seen they have not made a button for the default style. Included in my archive are the original PSD-files (so you can edit the button to your language in Photoshop). Also included is the finished english and norwegian version of the button.

Upload
------
newposts.gif -> <forumroot>/images/buttons/newposts.gif


AdminCP -> Styles & Templates -> Search in templates -> SHOWTHREAD

FIND (second occurrence)
------------------------
<if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a>


AFTER ADD
---------
&nbsp;<a href="search.php?do=getnew"><img src="$stylevar[imgdir_button]/newposts.gif" alt="New Posts" border="0" /></a>

CMGU
25 May 2008, 16:05
ver nice thanks!

tafreeh
29 May 2008, 19:20
does it mean new thread ?????

rungok
29 May 2008, 19:44
does it mean new thread ?????
No. It's in fact a button for the same link called "New Posts" in navbar.

mesdar
12 Dec 2008, 07:13
thanks

installed

BucWiLd
15 Dec 2008, 03:01
it only shows up at the top but not at the bottom