vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Search For Unanswered Threads By Forum (https://vborg.vbsupport.ru/showthread.php?t=201048)

Mosh 01-07-2009 10:00 PM

Search For Unanswered Threads By Forum
 
1 Attachment(s)
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.

This is an hack adds an extra option to the Search this Forum drop down list in forum display, that additionally allows you to search for unanswered threads by forum (including child forums if enabled). This can be useful for example, if you have some of your forums dedicated to support issues and want to filter by unanswered support threads, just in that forum (and child forums if enabled).

There have been a few threads that mentioned template edits for allowing to view all unanswered threads in all forums (not like this hack which is by forum, not the entire site), vb.org uses a variation of that template edit. This hack is different, but based on the idea, and allows more control over the results.

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

AdminCP settings for this hack available in vBulletin Options > Search For Unanswered Threads By Forum.
Settings that can be changed are:
  1. Search child forums - enable/disable
  2. Turn off cached results - enable/disable
  3. Auto Link Creation - this is enabled by default. But if you need to manually edit the FORUMDISPLAY template because the auto template injection does not work, you will need to turn off the auto template injection option, and in the FORUMDISPLAY template you will need to paste $sfutbf_template around where $vbphrase[advanced_search] (don't ask me where, because if you need to make the edit manually, then you have a custom template, and you are on your own with the edit).

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_unanswered_threads_38.zip
  2. Upload bitfield_ms_unanswered_threads.xml to your /includes/xml folder.If upgrading from an earlier version, then overwrite the previous copy.
  3. Import the ms_unanswered_threads_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_unanswered_threads.xml file from your /includes/xml folder.
  2. Uninstall the product in vB using the AdminCP Product Manager.


Version History[hr]hr[/hr]
v3.8.001 - Thursday 8th January 2009
-- Initial 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.

chooky 01-08-2009 10:34 AM

Quote:

v3.8.001 - Thursday 8th January 2009
-- Initial v3.7.x Release
I think you meant

Quote:

v3.8.001 - Thursday 8th January 2009
-- Initial v3.8.x Release

Mosh 01-08-2009 10:39 AM

Quote:

Originally Posted by chooky (Post 1705002)
I think you meant

Already sorted as you were posting :)

chooky 01-08-2009 10:43 AM

okay but it dont working at me, dont see the link in searchnavbar.

all settings I've done...

Mosh 01-08-2009 10:48 AM

Quote:

Originally Posted by chooky (Post 1705009)
okay but it dont working at me, dont see the link in searchnavbar.

all settings I've done...

It does not appear in the navbar, which is why you don't see it. Read the What Does This Hack Do? section of the first post, that will tell you where the link is (also check out the screenshots).

My Forum-wide Search For Unanswered Threads hack will be ported to v3.8.x tomorrow, and that hack will give a link on the navbar search menu.

alishahbazi 01-08-2009 12:02 PM

thank you Dear Mosh !!!

-=Leb=- 01-08-2009 05:32 PM

thx for the update

biocyberman 01-31-2009 04:56 AM

Hi Mosh,
This one is very useful, especially for Moderators. I would like to have one suggestion for you: It will be more compact and code-saving to combine this mod and your "Forum-wide Search For Unanswered Threads"
Thanks for your work.

biocyberman.

DanTHEGREAT 01-31-2009 10:55 PM

It doesn't show up for me and I have followed full directions.

Mosh 02-18-2009 06:40 PM

Quote:

Originally Posted by DanTHEGREAT (Post 1730415)
It doesn't show up for me and I have followed full directions.

It is going to be one of three things:
  • You did not upload the bitfield file to the correct location
  • You have not set the usergroup permissions
  • You need to manually edit the FORUMDISPLAY template because the auto template injection does not work, you will need to turn off the auto template injection option, and in the FORUMDISPLAY template you will need to paste $sfutbf_template around where $vbphrase[advanced_search] (don't ask me where, because if you need to make the edit manually, then you have a custom template, and you are on your own with the edit).


All times are GMT. The time now is 05:34 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.01186 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete