Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forum-wide Search For Unanswered Threads Details »»
Forum-wide Search For Unanswered Threads
Version: 3.7.006, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 02-07-2008 Last Update: 08-28-2008 Installs: 133
Uses Plugins
Re-useable Code Translations  
No support by the author.

Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. You can now check out the 3.8.x version of this hack, as it also works with v3.7.5, v3.6.12 (and maybe even earlier versions).

Please click Mark as Installed if you are using this hack.


vBulletin Version Compatibility

This hack can be used with v3.6.10 and v3.7.x. This has not been tested with earlier versions of v3.6.x, but should work.


What Does This Hack Do?

This is an hack adds an extra option to the Search drop down list on the nav bar which allows you to search for unanswered threads forum-wide, apart from the forums you choose to exclude from the search.

This hack was created as a result of a request from Boofo - see here.

There are no file or template changes at all, and is fully phrased.

AdminCP settings for this hack available in vBulletin Options > Forum-wide Search For Unanswered Threads.
Settings that can be changed are:
  1. Usergroup permissions - which groups will be able to see the Unanswered Threads link (no usergroups can use this by default)
  2. Exclude Forums - list of forums to exclude from the search for unanswered threads
  3. Turn off cached results - enable/disable

Installation Instructions
  1. Import ms_search_all_unanswered.xml into vB using the AdminCP Product Manager. If upgrading then set Allow Overwrite to Yes.
  2. Alter the settings in the Admin CP vBulletin Options to your liking.

Uninstall Instructions
  1. Uninstall the product in vB using the AdminCP Product Manager.


Version History

v3.7.006 - Friday 29th August 2008
-- Final Release
-- Changed: Check boxes now for usergroup selection, instead of needing comma separated numbers
-- Changed: Screenshots
-- Added: New plugin, for processing usergroup permissions

v3.7.005 - Saturday 26th July 2008
-- Changed: Removed dependency, now works with v3.6.10

v3.7.004 - Thursday 17th July 2008
-- Changed: Total code rewrite
-- Changed: AdminCP exclude forums option to allow up to 254 characters on the line

v3.7.003 - Wednesday 25th June 2008
-- Added: AdminCP option to display to all usergroups

v3.7.002 - Sunday 11th May 2008
-- Changed: Version numbering
-- Added: AdminCP Options input validation
-- Added: vBAdvanced support

v1.0.0 - Friday 8th February 2008
-- Initial v3.7.x Release


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.


Donations

I would like to thank the following people for their kind donations:

Show Your Support

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

Comments
  #32  
Old 06-25-2008, 07:56 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.7.003
  • Added option to show to all usergroups
Reply With Quote
  #33  
Old 07-16-2008, 02:32 PM
ShackMaster ShackMaster is offline
 
Join Date: Apr 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In AdminCP/vBOptions:

Forums To Exclude From Search
Comma separated list of forumids to exclude from the search for unanswered threads. Use Zero (0) to not exclude any forums.
Example: 1,9,27,72

I entered:

Quote:
1,4,5,6,19,20,22,24,26,31,39,40,45,76,96,111,114,1 26,128,152,153,158,159,177,178,179,181,182,183,184 ,185,186,190,193
I get the following:

Quote:
Error:
You did not enter a valid value for this setting.
I can accept it anyway, but there is no reason to get the error that I can see.
Reply With Quote
  #34  
Old 07-16-2008, 10:03 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShackMaster View Post
In AdminCP/vBOptions:

Forums To Exclude From Search
Comma separated list of forumids to exclude from the search for unanswered threads. Use Zero (0) to not exclude any forums.
Example: 1,9,27,72

I entered:



I get the following:



I can accept it anyway, but there is no reason to get the error that I can see.
There are 2 reasons why it is displayed, both to do with input validation:
  • There is a space between 178 and the ,
  • The total length of the line with excluding forums is over 99

I can fix the second, you can fix the first
Reply With Quote
  #35  
Old 07-16-2008, 10:15 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.7.004
  • Changed: Total code rewrite
  • Changed: AdminCP exclude forums option to allow up to 254 characters on the line
Reply With Quote
  #36  
Old 07-17-2008, 01:41 AM
ShackMaster ShackMaster is offline
 
Join Date: Apr 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! It is now fixed!

There was actually no space above... that was the text wrapping, but none the less, there are no more errors.

Again... many thanks! Great mod!
Reply With Quote
  #37  
Old 07-17-2008, 01:44 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShackMaster View Post
Thanks! It is now fixed!

There was actually no space above... that was the text wrapping, but none the less, there are no more errors.

Again... many thanks! Great mod!
You are most welcome
Reply With Quote
  #38  
Old 07-26-2008, 08:02 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.7.005 - Saturday 26th July 2008
-- Changed: Removed dependency, now works with v3.6.10

NOTE: If already installed on v3.7.x, then there is no need to update to this version, as there are no functional changes. This is only for new installations, it now caters for v3.6.10 as well as v3.7.x.
Reply With Quote
  #39  
Old 08-04-2008, 05:42 AM
polgara_j polgara_j is offline
 
Join Date: Jun 2008
Location: BC, Canada
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChurchMedia View Post
*installed* Thanks for the cool hack! I have a custom navbar so I altered the code to make it work for me. I changed the plugin code to:

PHP Code:
$fwsfut_groups explode(',',$vbulletin->options['fwsfut_grps']); 

if (
is_member_of($vbulletin->userinfo,$fwsfut_groups)) 
{
    
$unanswered '<a href="search.php?'.$session['sessionurl'].'do=process&replyless=1&replylimit=0&exclude='.$vbulletin->options['fwsfut_exclude_forums'].'&nocache='.$vbulletin->options['fwsfut_cache_enable'].'">'.$vbphrase['forum_wide_unanswered'].'</a>';

(let me know if you want me to delete this)

This way I could just insert the $unanswered variable where I needed the link to be.

Thanks again!
Where in the xml would you add this? I'm new to the whole coding thing
Reply With Quote
  #40  
Old 08-04-2008, 11:39 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by polgara_j View Post
Where in the xml would you add this? I'm new to the whole coding thing
That will probably not work anymore, as I have totally re-wrote the hack a couple of weeks ago.
Reply With Quote
  #41  
Old 08-12-2008, 11:55 AM
wmlvb's Avatar
wmlvb wmlvb is offline
 
Join Date: May 2008
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering if I give permission for certain user groups to sue this will they see unanswered thread of board they are not allowed to see?
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 12:22 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.05220 seconds
  • Memory Usage 2,324KB
  • 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
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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