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 - Forum-wide Search For Unanswered Threads (https://vborg.vbsupport.ru/showthread.php?t=201100)

ezak 01-29-2009 02:30 PM

Quote:

Originally Posted by Mosh (Post 1716062)
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

member007 02-08-2009 03:04 AM

installed but when I try click the search in the navigation bar it logged me off.

Mosh 02-18-2009 06:50 PM

Quote:

Originally Posted by tommac3 (Post 1727573)
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

Mosh 02-18-2009 06:54 PM

Quote:

Originally Posted by member007 (Post 1737489)
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).

Alfa1 04-23-2009 02:39 PM

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.

Mosh 04-23-2009 09:49 PM

Quote:

Originally Posted by Alfa1 (Post 1797508)
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.

jilly 06-09-2009 11:42 PM

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!

Mosh 06-23-2009 12:45 AM

Quote:

Originally Posted by jilly (Post 1826737)
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 (Post 1826737)
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.

Mosh 06-23-2009 07:54 AM

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

jilly 07-02-2009 08:34 PM

Thanks Mosh - I tried installing, and of course I have customized my navbar (LOL) - how can I add the link manually?


All times are GMT. The time now is 12:59 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.01078 seconds
  • Memory Usage 1,754KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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