Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2010, 07:48 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need help: Excluding Forums from search when searching for 0 reply threads

Hi

Since 4.0.4 the ability to search for threads with 0 replies was added again.
However for this search the exclusion of forums parameter does not work.

this url should work but the exclusion does not:

Code:
search.php?do=process&contenttype=vBForum_Post&replyless=1&replylimit=0&exclude=10,15
Bug Issued: klick

If anyone can tell me how to fix this that would really be appreciated.
Waiting another 2+ month for a fix would be painful.

This is THE most needed feature in my medical help forum that is broken since the upgrade to the 4 series

To clarify:
I need this search phrase to work as URL so that I can create a Tab showing all unanswered Threads in the Navbar like the "what's new" tab.

Please help me

StarBuG
Reply With Quote
  #2  
Old 06-21-2010, 06:42 PM
KDawg08 KDawg08 is offline
 
Join Date: Nov 2008
Location: Washington State
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

idk how to setup the 0 replies thing, BUT i do know that you can exclude forums in the forums permissions. it's about halfway down right where you post if u want it to act as a forum or category, u just disable search from there.
Reply With Quote
  #3  
Old 06-21-2010, 09:15 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for trying to help but you are totally off track here

the &exclude=X,Y,Z parameter does not work and I need it to work.

This will (unfortunately) require code changes until it is officially fixed

I need help with that
Reply With Quote
  #4  
Old 06-21-2010, 09:34 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't you just enable it in the forums you want it to work in? You should be able to wrap it in an if condition clause. I think Mosh released a mod that does that, too.
Reply With Quote
  #5  
Old 06-21-2010, 09:54 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I want is a navtab that shows all threads in all forums (a few excluded) that have 0 replies.
I run a medical help forum and this is needed to show all unanswered questions.

This can't be "enabled" in forum settings.

It has nothing to do with the overall forum search functionality.
Forums excluded from this search will still be searchable via the search function.
It works like "What's new" search.

It was working in the 3.8 Versions and was not included into the 4.0 series untill now.
And still it is not fully functional.

The mod from Mosh (https://vborg.vbsupport.ru/showthread.php?t=244842) is simply a plugin that uses the link code I posted in my initial request and automatically add the link to the navbar template.
And like me he has the same problem I am searching a solution for with this thread:

Quote:
Question:
I can not exlude forums. What can I do?
Answer:
See the above F.A.Q. item, that is part of the functionality Internet Brands has not added back in, and there is nothing I can do about it!!!
Reply With Quote
  #6  
Old 06-26-2010, 11:28 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump*
Reply With Quote
  #7  
Old 06-26-2010, 11:44 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=244875" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=244875</a>
Reply With Quote
  #8  
Old 06-26-2010, 12:26 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks but it is not what I need.

I don't need it to be in the search function I need it to be a navtab like the "What's new" Tab.

Therefor I need this search url to work including the exclude part:
Code:
search.php?do=process&amp;contenttype=vBForum_Post&amp;replyless=1&amp;replylimit=0&amp;exclude=10,15
Reply With Quote
  #9  
Old 06-26-2010, 08:10 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, until they add that back to the code, there's no way to do it like you want.
Reply With Quote
  #10  
Old 06-26-2010, 08:57 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is why I posted in the Programming Discussion forum.

the exclusion works for new threads so maybe it is simply copying some existing code.
I am no programmer though that is why I ask for help
Reply With Quote
Reply


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 10:17 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.04082 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete