Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
New Posts Button Details »»
New Posts Button
Version: 2.00, by rungok rungok is offline
Developer Last Online: Aug 2011 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.2 Rating:
Released: 02-26-2010 Last Update: Never Installs: 23
Template Edits
Re-useable Code  
No support by the author.

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:
Code:
<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:
Code:
<!--- 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 --->

Download Now

File Type: txt NewPostsButton_v2.txt (927 Bytes, 61 views)

Screenshots

File Type: jpg NewPostsButton_v2_Screenshot.jpg (65.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-27-2010, 03:12 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged...will install this later ...nice one
Reply With Quote
  #3  
Old 02-28-2010, 05:16 AM
Huy Ho?ng Huy Ho?ng is offline
 
Join Date: Dec 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This button is not a new post but see new posts in that topic.
When you click on get a message:
Quote:
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


.....
Reply With Quote
  #4  
Old 02-28-2010, 06:49 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Huy Ho?ng View Post
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?
Reply With Quote
  #5  
Old 02-28-2010, 09:30 AM
Huy Ho?ng Huy Ho?ng is offline
 
Join Date: Dec 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by princeedward View Post
have you seen THIS?
oh ... thank you very much :up:
Reply With Quote
  #6  
Old 02-28-2010, 11:20 AM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this the same mod as

https://vborg.vbsupport.ru/showthread.php?t=236685
Reply With Quote
  #7  
Old 02-28-2010, 01:57 PM
rungok's Avatar
rungok rungok is offline
 
Join Date: Mar 2007
Location: Oslo
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steve1966 View Post
Eh, no. That's another button (new thread), but the "code" is of course similar.
Reply With Quote
  #8  
Old 03-11-2010, 02:35 PM
markwein markwein is offline
 
Join Date: Feb 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #9  
Old 03-12-2010, 07:40 AM
rungok's Avatar
rungok rungok is offline
 
Join Date: Mar 2007
Location: Oslo
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by markwein View Post
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_P ost"-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.
Reply With Quote
  #10  
Old 01-27-2011, 05:10 PM
hyppa's Avatar
hyppa hyppa is offline
 
Join Date: Dec 2007
Location: Sandnes, Norway
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:27 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05031 seconds
  • Memory Usage 2,306KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete