vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Unanswered Threads link in Quick Links (https://vborg.vbsupport.ru/showthread.php?t=147317)

05-14-2007 10:00 PM

Unanswered Threads link in Quick Links
 
I've seen this asked a few times, so I'm just passing along how I do it.

Simple template edit:

In the navbar template:

Find:
Code:

<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr>
Add after:
Code:

<!-- Unanswered Posts -->
<tr><td class="vbmenu_option"><a href="search.php?do=process&replyless=1&replylimit=0&exclude=30">Unanswered Posts</a></td></tr>
<!-- /Unanswered Posts -->

This will show all zero-reply posts within the last 30 days.

deezelpope 05-15-2007 02:26 PM

Sweet!! Installed, thank you very much!!:)

Luky 05-16-2007 10:37 AM

Very nice, installed.

Gizmo5h1t3 05-16-2007 04:22 PM

nice addition, simple but effective!!

morrow 05-17-2007 12:10 AM

Pretty good. How can I get the output to display the thread titles in a vBadvanced module?

brvheart 05-18-2007 01:36 AM

*installed thanks :)*

DieselMinded 05-18-2007 03:06 AM

*installed THANK YOU!

Dragons76 05-18-2007 05:41 AM

Very nice hack

Thank you

Rick 05-20-2007 07:31 PM

Thanks very much for this...

Jelmertjee 05-30-2007 06:00 PM

uhmm this seems to work, but not completely, I think the &exclude=.. doesn't define the amount of days, but excludes certain forumID's, but it doesn't limit the number of days, although excluding certain forums is certainly forum, I'm still interested if anyone knows how to limit the number of days?

rjmjr69 06-03-2007 08:33 AM

Thanks

Gez 09-14-2007 07:26 AM

installed and working perfect :)

LadyRed 09-14-2007 09:07 PM

EXCELLENT!!

yoyoyoyo 09-14-2007 09:18 PM

I think it is a good idea to use this code instead:
Quote:

<!-- Unanswered Posts -->
<tr><td class="vbmenu_option"><a href="'$vboptions[bburl]/search.php?do=process&replyless=1&replylimit=0&exc lude=30">Unanswered Posts</a></td></tr>
<!-- /Unanswered Posts -->
>
it is actually more vb compliant.

It is also a good idea to make a phrase:
varname: unanswered_posts
text: Unanswered Posts

and use this code:

Quote:

<!-- Unanswered Posts -->
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/search.php?do=process&replyless=1&replylimit=0&exc lude=30">$vbphrase[unanswered_posts]</a></td></tr>
<!-- /Unanswered Posts -->

guv2000 10-15-2007 11:08 PM

how to limit the number of days?

ram94401 03-07-2008 06:46 AM

Thank you. Installed. Does "exclude=30" really limit the number of days? not sure though.

DieselMinded 05-09-2008 02:36 AM

Moved to the Search Drop Down ...

Pocket Aces 05-20-2008 01:12 AM

Is there any parameter we could add to limit the search into certain number of forums only? That would be helpful to us to find unanswered posts on our 5 requests forums.


All times are GMT. The time now is 05:59 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.01097 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete