vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Forum-wide Search For Unanswered Threads (https://vborg.vbsupport.ru/showthread.php?t=169923)

Mosh 06-25-2008 07:56 AM

Update: v3.7.003
  • Added option to show to all usergroups

ShackMaster 07-16-2008 02:32 PM

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.

Mosh 07-16-2008 10:03 PM

Quote:

Originally Posted by ShackMaster (Post 1576862)
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 :)

Mosh 07-16-2008 10:15 PM

Update: v3.7.004
  • Changed: Total code rewrite
  • Changed: AdminCP exclude forums option to allow up to 254 characters on the line

ShackMaster 07-17-2008 01:41 AM

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!

Mosh 07-17-2008 01:44 AM

Quote:

Originally Posted by ShackMaster (Post 1577344)
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 :)

Mosh 07-26-2008 08:02 AM

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.

polgara_j 08-04-2008 05:42 AM

Quote:

Originally Posted by ChurchMedia (Post 1438537)
*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 ;)

Mosh 08-04-2008 11:39 AM

Quote:

Originally Posted by polgara_j (Post 1590961)
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.

wmlvb 08-12-2008 11:55 AM

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?


All times are GMT. The time now is 05:48 AM.

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.01254 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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