![]() |
vB3 Unanswered Threads Hack v1.3
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 |
Sweet. will install after sleeping.
|
Ah, good idea Boofo! :)
I may consider installing this at a later date, my forums aren't even open yet. Thanks for sharing. |
rather original one
|
What original one?
|
excellent work boofo :)
|
Now is the option for regular memebers too? Like can memebers other then the Admin, use this to see what post have not been repleid to?
|
Right now it is set up for Admins, Super Mods and Mods to see the link. But you can add whatever usergroups you want to see it very easily. ;)
|
Quote:
Another great hack. Iowa, right? Remind me to call my uncle and tell him to give you one "get out of a speeding ticket free" card ;) - John |
This is the smallest of things, but when clicking the link and the results are displayed on the search category strip, this is shown:
Quote:
I noticed vB.org doesn't have any such problem when showing installed hacks, so I figured it could be sorted for this? :nervous: |
Quote:
What's his name? I might actually know him. ;) |
Quote:
|
Quote:
My last name is Vilsack ;) |
LOL That's your uncle? Yeah, I could definately use some things from him! ;)
You ever get to visit him? You'll have to stop on by. ;) |
Quote:
I was actually in des moines and mason city for several weekends before the January Caucus. My name does well for fundraising :D |
Well, the next time you're up this way, you'll have to stop on by and say 'Hi'. ;)
|
Quote:
Unless Xenon or anyone else can shed any light on this, we're stuck with ; |
I'll work on it and see what I can come up with and, hopefully, in the meantime, someone might be able to help us figure out what to do about the ;. ;)
|
Can you please post a small screenshot to see how it...show up the links ?
|
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. |
nice hack. i will love to install it :)
thnx :) |
Please, don't forget the install button, Sandy. When you install it, that is. ;)
|
Very nice hack.
*Clicks Install |
Quote:
|
Quote:
I've also given you the code to set up the board-wide link in the navbar via Quick Links. |
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> Below that code add: Code:
<tr> |
Nice touch. I'll add this to the install file and credit you for it. ;)
|
Quote:
i want to do the same |
Quote:
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> 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> |
Quote:
|
Quote:
Thanks in advance |
Find this:
HTML Code:
<if condition="in_array($bbuserinfo['usergroupid'], array(5, 6, 7))"> |
Quote:
|
Nice hack .. :) .. installed
|
Just installed and works great. You know what would be nice though? If we could find some way to add this to the "Forum Tools" dropdown for individual forums rather than having to edit a link in somewhere. That'd sure be a nice, convenient place to have it.
[edit] You know something though? The more I look at it the less I'm finding a viable place to add a link to the forumhome_forumbit_levelx templates. Where is everyone else putting it? I added it to FORUMDISPLAY and everything seems to work fine. [/edit] |
Here's something minor I just noticed: The search results for VB3 have a title bar that reads:
Quote:
Quote:
|
Quote:
The install file tells you where to add the link in these 2 templates: forumhome_forumbit_level1_post forumhome_forumbit_level2_post |
Quote:
Quote:
Quote:
|
Ok, I fixed the semi-colon cosmetic problem. Try the following code and let me know if this works for you.
Quote:
|
Quote:
|
All times are GMT. The time now is 10:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|