vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Forum New Threads (New Threads Button) in Navbar,.. (https://vborg.vbsupport.ru/showthread.php?t=320781)

Pakblogger 11-12-2015 10:00 PM

Forum New Threads (New Threads Button) in Navbar,..
 
1 Attachment(s)
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

Attachment 153658

Alan_SP 11-14-2015 03:02 PM

In your code you have exclude two times, first one is exclude=0.

Pakblogger 11-15-2015 04:50 AM

Quote:

Originally Posted by Alan_SP (Post 2558785)
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 


the one 11-16-2015 07:34 PM

That only shows 2 pages of threads

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

Cheers

Seven Skins 11-16-2015 09:59 PM

^ 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

.

ikopylov 11-17-2015 08:19 AM

&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

ikopylov 11-17-2015 08:27 AM

Quote:

Originally Posted by Seven Skins (Post 2558863)
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

Pakblogger 11-19-2015 04:58 AM

Quote:

Originally Posted by Seven Skins (Post 2558863)
^ 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 


Pakblogger 11-19-2015 05:02 AM

Quote:

Originally Posted by ikopylov (Post 2558869)
&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


All times are GMT. The time now is 10:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01015 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete