Log in

View Full Version : Show Thread Enhancements - New Posts Button


rungok
02-26-2010, 10:00 PM
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.

NOW GO:

ACP > Styles & Templates > Search in Templates > Search in Style:Click Dropdown Arrow (Choose Actual Style)> Search for Text: SHOWTHREAD > Search Titles Only: YES > Click Find

NOW SELECT SHOWTHREAD AND OPEN.


FIND:
<div id="below_postlist" class="below_postlist">
<vb:if condition="$show['largereplybutton']">
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"
class="newcontent_textcontrol" id="newreplylink_bottom">
<vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>

ADD BELOW:
<!--- NEW POSTS BUTTON BELOW START --->

<a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post" rel="nofollow" class="newcontent_textcontrol" id="newposts" style="margin-left:160px;">{vb:rawphrase new_posts_nav}</a>

<!--- NEW POSTS BUTTON BELOW END --->

COL NIL SATIS
02-27-2010, 03:12 PM
tagged...will install this later ...nice one

Huy Ho?ng
02-28-2010, 05:16 AM
This button is not a new post but see new posts in that topic.
When you click on get a message:
Sorry, there are no new posts to view.

You may search for posts updated during the previous 24 hours, here

I want a new topic Submit button :(


.....

princeedward
02-28-2010, 06:49 AM
This button is not a new post but see new posts in that topic.
When you click on get a message:


I want a new topic Submit button :(


.....have you seen THIS (https://vborg.vbsupport.ru/showthread.php?t=236685)?

Huy Ho?ng
02-28-2010, 09:30 AM
have you seen THIS (https://vborg.vbsupport.ru/showthread.php?t=236685)?

oh ... thank you very much :up:

steve1966
02-28-2010, 11:20 AM
is this the same mod as

https://vborg.vbsupport.ru/showthread.php?t=236685

rungok
02-28-2010, 01:57 PM
is this the same mod as

https://vborg.vbsupport.ru/showthread.php?t=236685
Eh, no. That's another button (new thread), but the "code" is of course similar.

markwein
03-11-2010, 02:35 PM
perfect!

Is there a way to add a URL to the button? Some of my members want a button like this that takes them back to a specific forum...

rungok
03-12-2010, 07:40 AM
perfect!

Is there a way to add a URL to the button? Some of my members want a button like this that takes them back to a specific forum...
Of course. Just change the "search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post"-part to the url you may want and then change the text on the button {vb:rawphrase new_posts_nav} to whatever you want. If you think it's difficult, just give me the url to the forum and I can make the code for you.

hyppa
01-27-2011, 05:10 PM
I presume the template in 4.1.1 that looks like this:

<div id="below_postlist" class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>below_postlist">
<vb:if condition="$show['largereplybutton']">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"
class="newcontent_textcontrol" id="newreplylink_bottom"
><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>

is the one i shall look for and add the code after?

Anyone testet it in 4.1.1?