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
  #22  
Old 03-27-2004, 11:28 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack. i will love to install it

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

Please, don't forget the install button, Sandy. When you install it, that is.
Reply With Quote
  #24  
Old 03-28-2004, 01:55 AM
Fi_InCogNiTo Fi_InCogNiTo is offline
 
Join Date: Jan 2003
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack.
*Clicks Install
Reply With Quote
  #25  
Old 03-28-2004, 04:39 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 Oblivion Knight
Here's how I have it set up..
Bare in mind though, i've done it for each forum individually. As the instructions mention, you add the code to the template where you want to, I just thought the Forum Tools was a good place for it.
If you'll send me the code in a pm for adding it to the forum tools, I'll add it to the hack (for yet another option) and give you full credit for the addition.
Reply With Quote
  #26  
Old 03-28-2004, 08:02 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
If you'll send me the code in a pm for adding it to the forum tools, I'll add it to the hack (for yet another option) and give you full credit for the addition.
You've got mail..
I've also given you the code to set up the board-wide link in the navbar via Quick Links.
Reply With Quote
  #27  
Old 03-29-2004, 02:44 AM
Mone' Mone' is offline
 
Join Date: May 2002
Location: Australia
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack Boofo Installed and working perfectly

I changed the location of the search button to show in forumhome in the dhtml search box , see screen shot.

Just posting the code here in case other users would like to use it.

Edit the following template: Navigation / Breadcrumb Templates > navbar

look for:

Code:
<tr>
<td class="vbmenu_option">
<a href="search.php?$session[sessionurl]">$vbphrase[advanced_search]</a>
</td>
</tr>

Below that code add:

Code:
<tr>
<td class="vbmenu_option">
<if condition="in_array($bbuserinfo['usergroupid'], array(5, 6, 7))">
<div class="smallfont">
<a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1">Unanswered Threads</a>
</div>
</if></td>
		</tr>
Done
Reply With Quote
  #28  
Old 03-29-2004, 02:55 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice touch. I'll add this to the install file and credit you for it.
Reply With Quote
  #29  
Old 03-29-2004, 05:44 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
Here's how I have it set up..
Bare in mind though, i've done it for each forum individually. As the instructions mention, you add the code to the template where you want to, I just thought the Forum Tools was a good place for it.
what template is that in ?
i want to do the same
Reply With Quote
  #30  
Old 03-29-2004, 07:46 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msimplay
what template is that in ?
i want to do the same
Boofo's supposed to be adding it to the instructions, but here it is anyway..

In forumdisplay, find:

Code:
	<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]">$vbphrase[view_parent_forum]</a></td></tr>
Add below:

Code:
	<if condition="in_array($bbuserinfo['usergroupid'], array(5, 6, 7))"><tr><td class="vbmenu_option"><a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1&forumchoice[]=$forumid">View Unanswered Threads</a></td></tr></if>
Reply With Quote
  #31  
Old 03-29-2004, 08:21 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
Boofo's supposed to be adding it to the instructions, but here it is anyway..
thank you that worked great
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 04:48 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.07620 seconds
  • Memory Usage 2,311KB
  • 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
  • (4)bbcode_code
  • (5)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
  • (4)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