PDA

View Full Version : Mini Mods - Unanswered Threads link in Quick Links


05-14-2007, 10:00 PM
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:

<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:

<!-- 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:
<!-- Unanswered Posts -->
<tr><td class="vbmenu_option"><a href="'$vboptions[bburl]/search.php?do=process&replyless=1&replylimit=0&exclude=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:

<!-- Unanswered Posts -->
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/search.php?do=process&replyless=1&replylimit=0&exclude=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.