Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
Forum New Threads (New Threads Button) in Navbar,.. Details »»
Forum New Threads (New Threads Button) in Navbar,..
Version: 1.00, by Pakblogger Pakblogger is offline
Developer Last Online: Mar 2021 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.2.3 Rating:
Released: 11-12-2015 Last Update: Never Installs: 6
Re-useable Code Translations  
No support by the author.

Dear All,

in Vbulletin 4.2.3, & Vbulletin 4.x.x There is no option to search ,All Forum New Threads,


Here the the procedure how to do that,. this can be used in navigation Manager to search all new threads in the forum.

how to use:
1. Go To Admin Control Panel

2. Go to Navigation Manager

3. Click Add Tab

4. Type "New Threads" in Title (without commas)

5. in Target Url paste the following URL or code

PHP Code:
http://www.yourforum.com/search.php?do=getnew&contenttype=vBForum_Post&exclude=0&nocache=0&sortby=threadstart&exclude=1,2,3 
don't forget to the change the forum name and Exclude forum ids, (at the End of the Code)
where: &exclude=1,2,3
(Exclude forum id means from which forum you don't want to show threads)


6. Activate : Yes and Save

that's all,. you have done it,..

Cheers..
working fine in Vbulletin 4.2.3

Untitled.png

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
z3r0

Comments
  #2  
Old 11-14-2015, 03:02 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your code you have exclude two times, first one is exclude=0.
Reply With Quote
Благодарность от:
the one
  #3  
Old 11-15-2015, 04:50 AM
Pakblogger Pakblogger is offline
 
Join Date: Oct 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan_SP View Post
In your code you have exclude two times, first one is exclude=0.
exclude=0 is required,. but the last one is optional ,..


if you don't want to exclude forums

PHP Code:
http://www.yourforum.com/search.php?do=getnew&contenttype=vBForum_Post&exclude=0&nocache=0&sortby=threadstart 
Reply With Quote
2 благодарности(ей) от:
Alan_SP, the one
  #4  
Old 11-16-2015, 07:34 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That only shows 2 pages of threads

If i wanted to show 200 threads what would the code be

Cheers
Reply With Quote
  #5  
Old 11-16-2015, 09:59 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ Edit the max search results option in admin cp by editing "Message searching option"

@pakblogger:

You only need to put this code in the button we don't need http://www.... or two exclude options like Alan_SP said.



Code:
search.php?do=getnew&contenttype=vBForum_Post&nocache=0&sortby=threadstart&exclude=1,2,3

.
Reply With Quote
2 благодарности(ей) от:
Alan_SP, the one
  #6  
Old 11-17-2015, 08:19 AM
ikopylov's Avatar
ikopylov ikopylov is offline
 
Join Date: Aug 2010
Location: Russia
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

&exclude=1,2,3
1,2,3 — This is a list of numbers of forums to be excluded from display
Replace with your own, or do not use is
Reply With Quote
Благодарность от:
Pakblogger
  #7  
Old 11-17-2015, 08:27 AM
ikopylov's Avatar
ikopylov ikopylov is offline
 
Join Date: Aug 2010
Location: Russia
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
You only need to put this code in the button we don't need http://www.....
http://www.yourforum.com/search.php = {vb:raw vboptions.bburl}/search.php
Reply With Quote
  #8  
Old 11-19-2015, 04:58 AM
Pakblogger Pakblogger is offline
 
Join Date: Oct 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
^ Edit the max search results option in admin cp by editing "Message searching option"

@pakblogger:

You only need to put this code in the button we don't need http://www.... or two exclude options like Alan_SP said.



Code:
search.php?do=getnew&contenttype=vBForum_Post&nocache=0&sortby=threadstart&exclude=1,2,3

.
its depends,. one time its not worked with me,. without www

you can try both

PHP Code:
http://www.yourforum.com/search.php?do=getnew&contenttype=vBForum_Post&exclude=0&nocache=0&sortby=threadstart 
or

PHP Code:
search.php?do=getnew&contenttype=vBForum_Post&exclude=0&nocache=0&sortby=threadstart 
Reply With Quote
  #9  
Old 11-19-2015, 05:02 AM
Pakblogger Pakblogger is offline
 
Join Date: Oct 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ikopylov View Post
&exclude=1,2,3
1,2,3 ? This is a list of numbers of forums to be excluded from display
Replace with your own, or do not use is
Exactly
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 12:52 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.04446 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (7)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete