Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 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.8.002, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 01-07-2009 Last Update: 06-22-2009 Installs: 86
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

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


What Does This Hack Do?[hr]hr[/hr]
This is an update to my 3.7.x version of this hack, with the addition of navbar placement via AdminCP Options.

This is a hack adds an extra option to the Search drop down list on the navbar, or on the navbar itself (left hand side or ride hand side) which allows you to search for unanswered threads forum-wide, apart from the forums you choose to exclude from the search.

This hack was originally created as a result of a request from Boofo in 2008 - 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. Exclude Forums - list of forums to exclude from the search for unanswered threads
  2. Turn off cached results - enable/disable
  3. Automatic Link Creation - location link will be added

vBulletin Version Compatibility[hr]hr[/hr]
This hack can be used with vBulletin versions 3.6.0 - 3.8.8.

For the v4.0.4 version of this hack - check here.



Hack Support/Feature Requests[hr]hr[/hr]
IMPORTANT: This hack is no longer supported.


Install Instructions[hr]hr[/hr]
  1. Unzip ms_search_all_unanswered_38.zip
  2. Upload bitfield_ms_search_all_unanswered.xml to your /includes/xml folder.If upgrading from an earlier version, then overwrite the previous copy.
  3. Import the ms_search_all_unanswered_38.xml into vB using the AdminCP Product Manager. If upgrading from an earlier version, then set Allow Overwrite to Yes.
  4. In the Usergroup Manager edit the usergroup(s) you want:
    • To see the Unanswered Threads link (disabled by default for all usergroups).

Uninstall Instructions[hr]hr[/hr]
  1. Delete the bitfield_ms_search_all_unanswered.xml file from your /includes/xml folder.
  2. Uninstall the product in vB using the AdminCP Product Manager.

Screenshots[hr]hr[/hr]
Shown in this order:
  • Link on Search Forums Menu
  • AdminCP Options
  • Usergroup Permissions
  • Link on navbar (left hand side)
  • Link on navbar (right hand side)

Version History[hr]hr[/hr]
v3.8.002 - Tuesday 23rd June 2009
-- Final v3.8.x Release
-- Added: AdminCP Option to allow for Unanswered Threads link to be placed in different places on the navbar

v3.8.001 - Friday 9th January 2009
-- Initial v3.8.x Release


Thanks[hr]hr[/hr]
Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation[hr]hr[/hr]
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[hr]hr[/hr]
I would like to thank the following people for their kind donations:

Download Now

File Type: zip ms_search_all_unanswered_38.zip (2.7 KB, 270 views)

Screenshots

File Type: png screenshot1.png (6.9 KB, 0 views)
File Type: png screenshot2.png (42.4 KB, 0 views)
File Type: png screenshot3.png (12.1 KB, 0 views)
File Type: png screenshot4.png (2.0 KB, 0 views)
File Type: png screenshot5.png (2.7 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 01-29-2009, 02:30 PM
ezak ezak is offline
 
Join Date: Nov 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
It would be something along the lines of:
HTML Code:
http://YOUR-FORUM-URL/search.php?do=process&replyless=1&replylimit=0&nocache=1
that hack not work with me, but your code is working well with me
but I want to know , how to specific forum in the search
I tried &forumchoice=10 , &f=10 but no luck

PLZ told me what to add to make it search in exact forum ID

and thanks
Reply With Quote
  #13  
Old 02-08-2009, 03:04 AM
member007's Avatar
member007 member007 is offline
 
Join Date: Jun 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed but when I try click the search in the navigation bar it logged me off.
Reply With Quote
  #14  
Old 02-18-2009, 06:50 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 tommac3 View Post
Can someone tell me if I can change a query somewhere to exclude certain forums so that they dont show up in the unanswered posts? It seems that most rss articles never get answered ... so these almost always show up. I think that this mod is better suited to list all of the new posts that havent been addressed ... Also you may have forums where one person is doing all of the posting those would also always show up.
AdminCP settings for this hack available in vBulletin Options > Forum-wide Search For Unanswered Threads.
Settings that can be changed are:
  1. Exclude Forums - list of forums to exclude from the search for unanswered threads
  2. Turn off cached results - enable/disable
Reply With Quote
  #15  
Old 02-18-2009, 06:54 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 member007 View Post
installed but when I try click the search in the navigation bar it logged me off.
That has nothing to do with this hack, as nearly 200 sites use this and no one else has this problem (it would have been pointed out before now and fixed).
Reply With Quote
  #16  
Old 04-23-2009, 02:39 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Under the option 'Forums To Exclude From Search', the following error shows:
Quote:
Error:You did not enter a valid value for this setting.
I think that this is causing this modification to not work.

My settings are:
125,142,152,156,164,165,166,174,176,190,192,196,20 9,211,212,213,214,215,216,217,218,219,220,221,223, 224,225,226,228,229,233,237,238,239,240,241,242,24 3,244,245,246,247,248,249,250,251,252,253,254,255, 256,257,258,259,260,261,262,263,264,265,266,267,26 8,269,270,271,272,273,277,278,279,180

Please advise.
Reply With Quote
  #17  
Old 04-23-2009, 09:49 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 Alfa1 View Post
Under the option 'Forums To Exclude From Search', the following error shows:

I think that this is causing this modification to not work.

My settings are:
125,142,152,156,164,165,166,174,176,190,192,196,20 9,211,212,213,214,215,216,217,218,219,220,221,223, 224,225,226,228,229,233,237,238,239,240,241,242,24 3,244,245,246,247,248,249,250,251,252,253,254,255, 256,257,258,259,260,261,262,263,264,265,266,267,26 8,269,270,271,272,273,277,278,279,180

Please advise.
It is because the length of the list of forums you have added is more than 254 characters long.

To fix it, edit ms_search_all_unanswered_38.xml, find:

PHP Code:
                <validationcode><![CDATA[return $data != NULL && preg_match('#^[0-9,]{0,254}$#'$data) && substr($data, -1) != ',' && substr($data01) != ',';]]></validationcode
Change to:

PHP Code:
                <validationcode><![CDATA[return $data != NULL && preg_match('#^[0-9,]{0,500}$#'$data) && substr($data, -1) != ',' && substr($data01) != ',';]]></validationcode
Then re-import the product and allow overwrite. Should hopefully work.
Reply With Quote
  #18  
Old 06-09-2009, 11:42 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mosh, I have a request - on my forum, I would like to place this as its own separate link on the nav bar - so that when you are looking at the nav bar, you can see 'unanswered threads' as one of the options, along with all the standard items already in nav bar. This way, my mods and users could click directly on the link in the nav bar, and not have to use the drop down search menu.

Can you code this as an additional option to the mod, or if it would not be too hard, tell me how to get the link as a separate item into navbar myself?

I saw your notice about exams, good luck, and will check back for the answer after the end of June!
Reply With Quote
  #19  
Old 06-23-2009, 12:45 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 jilly View Post
Mosh, I have a request - on my forum, I would like to place this as its own separate link on the nav bar - so that when you are looking at the nav bar, you can see 'unanswered threads' as one of the options, along with all the standard items already in nav bar. This way, my mods and users could click directly on the link in the nav bar, and not have to use the drop down search menu.

Can you code this as an additional option to the mod, or if it would not be too hard, tell me how to get the link as a separate item into navbar myself?!
Should not be too hard to add, so I will add an option for different locations. The updated hack will be released in the next couple of days.

Quote:
Originally Posted by jilly View Post
I saw your notice about exams, good luck, and will check back for the answer after the end of June!
Why thank you kind lady All done now, finished my last exam about an hour and a half ago.
Reply With Quote
  #20  
Old 06-23-2009, 07:54 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.8.002 - Tuesday 23rd June 2009
-- Added: AdminCP Option to allow for Unanswered Threads link to be placed in different places on the navbar
Reply With Quote
  #21  
Old 07-02-2009, 08:34 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mosh - I tried installing, and of course I have customized my navbar (LOL) - how can I add the link manually?
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 02:09 PM.


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.09979 seconds
  • Memory Usage 2,364KB
  • Queries Executed 26 (?)
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_html
  • (2)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (6)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete