Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
vB3 Unanswered Threads Hack v1.3 Details »»
vB3 Unanswered Threads Hack v1.3
Version: 1.00, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 03-26-2004 Last Update: Never Installs: 40
 
No support by the author.

vB3 Unanswered Threads Hack
Version 1.3
(By Boofo and Kirby)

What does this hack do?
This hack will provide you with a link that will pull up all unanswered threads on your forums and also unanswered threads on a forum by forum basis. Unanswered threads are threads that have no replies to them. This is great for forums that do any kind of tech support so you can find the posts that have not been answered and respond to them.

Version information:
Version 1.0 --Initial Release
Version 1.1 --Updated to allow Admins, Super Moderators and Moderators to see the link.
Version 1.2 --Added code for Forum Tools Menu links and Navbar Quick Links.
Version 1.3 --Fixed nasty bug with the semi-colon showing up by itself for unanswered threads. Now "Unanswered Threads --" (sans quotes) will show up in place of the semi-colon if the search is for unanswered threads.

Installation overview:
Files to edit: (1)
--search.php
Templates to edit: (6)
--search_results
--forumdisplay
--forumhome
--forumhome_forumbit_level1_post
--forumhome_forumbit_level2_post
--navbar

Show Your Support

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

Comments
  #82  
Old 10-28-2005, 07:51 PM
italks italks is offline
 
Join Date: Jan 2004
Location: New Delhi,INDIA
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am waiting for 3.5 version too.
Reply With Quote
  #83  
Old 11-27-2005, 04:03 PM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any news?
Reply With Quote
  #84  
Old 11-27-2005, 04:58 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ice9
You can use the forumchoice option to limit your searches to certain forum(s). Not sure what you mean by #2 and #3.
Number 3 could be done by wrapping the link in forum permission tags.

As far as porting this, I saw no reason to do it as you can now do it via links in 3.5 (I think). I will look into it and see if it would be worth porting to 3.5
Reply With Quote
  #85  
Old 12-19-2005, 10:05 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo; I just had a go at doing this for vb 3.5 and it worked

add a new plugin in the hook: search_process_start

use this code, very little change in the code.
PHP Code:
if ($exclude)
        {
            
$zzzz_notforumchoice "";
            
$zzzz_excludelist explode(','$exclude);
            foreach (
$zzzz_excludelist AS $zzzz_key => $zzzz_excludeid)
            {
                
$zzzz_notforumchoice .= intval($zzzz_excludeid).",";
            }
            
$zzzz_notforumchoice substr($zzzz_notforumchoice,0,-1);
            if (
$showposts)
            {
                
$post_query_logic[] = "thread.forumid NOT IN ($zzzz_notforumchoice)";
            }
            else
            {
                
$thread_query_logic[] = "thread.forumid NOT IN ($zzzz_notforumchoice)";
            }
        } 
then use exclude e.g. search.php?do=process&replyless=1&replylimit=0&day s=7&dontcache=1&searchdate=7&exclude=22,70,71,72

where the numbers are the forums you want to exclude.
Reply With Quote
  #86  
Old 04-25-2006, 08:54 PM
FLMom's Avatar
FLMom FLMom is offline
 
Join Date: Feb 2006
Location: Florida
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just downloaded and am having trouble with finding the right template codes to edit I wish this was easier lol


off to try again! wish me luck!
Reply With Quote
  #87  
Old 04-25-2006, 09:16 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, basically, the code you are using here is for excluding forums only, right? If you don't want to exclude any forums, then we don't need any plug-ins at all. Or am I missing something (like I usually do)?

Quote:
Originally Posted by -=Sniper=-
Boofo; I just had a go at doing this for vb 3.5 and it worked

add a new plugin in the hook: search_process_start

use this code, very little change in the code.
PHP Code:
if ($exclude)
        {
            
$zzzz_notforumchoice "";
            
$zzzz_excludelist explode(','$exclude);
            foreach (
$zzzz_excludelist AS $zzzz_key => $zzzz_excludeid)
            {
                
$zzzz_notforumchoice .= intval($zzzz_excludeid).",";
            }
            
$zzzz_notforumchoice substr($zzzz_notforumchoice,0,-1);
            if (
$showposts)
            {
                
$post_query_logic[] = "thread.forumid NOT IN ($zzzz_notforumchoice)";
            }
            else
            {
                
$thread_query_logic[] = "thread.forumid NOT IN ($zzzz_notforumchoice)";
            }
        } 
then use exclude e.g. search.php?do=process&replyless=1&replylimit=0&day s=7&dontcache=1&searchdate=7&exclude=22,70,71,72

where the numbers are the forums you want to exclude.
Reply With Quote
  #88  
Old 04-26-2006, 03:30 AM
FLMom's Avatar
FLMom FLMom is offline
 
Join Date: Feb 2006
Location: Florida
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wanted to add this in the quick links and it is showing up but when I click on it I get this error:

Fatal error: Call to a member function on a non-object in /home/ctyler06/public_html/forums/search.php on line 487

What does this mean? How can I fix this? It worked for all of 10 seconds then the error popped up Help!
Reply With Quote
  #89  
Old 04-26-2006, 03:35 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FLMom
I wanted to add this in the quick links and it is showing up but when I click on it I get this error:

Fatal error: Call to a member function on a non-object in /home/ctyler06/public_html/forums/search.php on line 487

What does this mean? How can I fix this? It worked for all of 10 seconds then the error popped up Help!
What version on vb are you running?
Reply With Quote
  #90  
Old 04-26-2006, 04:02 AM
FLMom's Avatar
FLMom FLMom is offline
 
Join Date: Feb 2006
Location: Florida
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the latest...3.5.4
Reply With Quote
  #91  
Old 04-26-2006, 04:26 AM
FLMom's Avatar
FLMom FLMom is offline
 
Join Date: Feb 2006
Location: Florida
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems like some of my members can use it for a few seconds, then the error comes on too..
Reply With Quote
Reply

Thread Tools

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 06:05 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.06535 seconds
  • Memory Usage 2,321KB
  • 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
  • (2)bbcode_php
  • (3)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
  • (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
  • (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