View Full Version : View Unanswered Posts
Shining Arcanine
Sun 9th Jan '05, 5:38pm
When I used phpBB, I found the "View Unanswered Posts" search very useful. It allowed me to build activity by finding threads that didn't have any replies so I could reply to them in hopes of seeing them become active. Seeing this feature in vBulletin would be nice.
cbiweb
Sun 9th Jan '05, 5:56pm
I second that emotion! In fact, I saw a vB forum around the web somewhere a few months ago that has that option - obviously customized - on their Quick Links menu. I didn't think to grab the code for it, though. I get stupid like that sometimes. :D
TheMusicMan
Sun 9th Jan '05, 5:58pm
I was certain I had seen that too cbiweb... just can't remember where!!
I also thought I saw a ?do=noreply too, but just tried this in a search and it didn't return anything...:(
cbiweb
Sun 9th Jan '05, 6:11pm
Just Googled "view unanswered posts vbulletin" and found this (http://www.vbulletin.org/forum/showpost.php?p=490903&postcount=1) at vbulletin.org.
Now that I think about it, that's where I saw the Unanswered Threads link. :rolleyes:
Shining Arcanine
Sun 9th Jan '05, 10:34pm
Seeing this in vBulletin by default would be nice.
sabret00the
Mon 10th Jan '05, 7:06am
it's a template mod actually, hold on i'll get the link
http://www.vbulletin.org/forum/showthread.php?t=70189&highlight=unanswered
alas no hacking required.
cbiweb
Mon 10th Jan '05, 8:27am
Perfect! I really didn't want to apply any hacks, and now I don't have to. :) Thanks!
Shining Arcanine
Mon 10th Jan '05, 7:21pm
Cool, thanks. :)
flex22
Tue 29th Mar '05, 4:15pm
How on earth do you do this without applying any hacks?
Could you at least explain how this is done.It kind of helps, you know :rolleyes:
I found this over at vbulletin.org: http://www.vbulletin.org/forum/showthread.php?t=63008&page=1&pp=15&highlight=unanswered+posts
It is a hack!
Slapyo
Tue 29th Mar '05, 4:53pm
this would be a great feature to be added into the vB package.
cbiweb
Wed 30th Mar '05, 12:50am
Add the following code to wherever you want to have a link for viewing unanswered threads...
<a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1">Unanswered Threads</a>
You can also link to all new posts within a specified time frame (last 24 hours, 1 week, etc.) Just add this code, and change the number in red to whatever time period you want:
<a href="search.php?$session[sessionurl]do=getdaily&days=1">link text here</a>
gregsbaby64
Wed 30th Mar '05, 6:34am
Thanks for this thread!
I did this and put it in the quick links. :)
<tr><td class="vbmenu_option"><a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1">Unanswered Threads</a></td></tr>
Grover
Wed 30th Mar '05, 9:27am
When I used phpBB, I found the "View Unanswered Posts" search very useful. It allowed me to build activity by finding threads that didn't have any replies so I could reply to them in hopes of seeing them become active. Seeing this feature in vBulletin would be nice.
I guess you are talking about the absence of a link and not about the absence of the functionality? This functionality is in the Advanced Search, but I assume you already knew that.
cbiweb
Wed 30th Mar '05, 9:46am
Advanced Search does not return results of threads with zero replies only. It will find threads with at least that many - IOW, every thread with any amount of posts in them. Shining Arcanine was looking for a way to view only threads with zero posts in them.
Grover
Wed 30th Mar '05, 10:01am
Advanced Search does not return results of threads with zero replies only. It will find threads with at least that many - IOW, every thread with any amount of posts in them. Shining Arcanine was looking for a way to view only threads with zero posts in them.
Have you guys checked out the Advanced Search lately? You can actually search on 'at most' 0 replies..... which gives you exactly what you are searchin for, namely : all threads with 0 replies.
I myself needed this in the past, so others and myself made a suggestion for this at that time : http://www.vbulletin.com/forum/showpost.php?p=331141&postcount=4
Wayne Luke
Wed 30th Mar '05, 10:11am
If you change the Reply Limit drop down to "At Most" instead of its Default of "At Least" and put the number of replies at 0, the advanced search form will return threads with up to 0 replies.
The link below describes how to build search queries for vBulletin via the URL:
http://www.vbulletin.com/forum/showthread.php?t=107955
This link shows how to return 300 unanswered posts here on the vBulletin site:
http://www.vbulletin.com/forum/search.php?do=process&replyless=1&replylimit=1&sortby=replycount&order=ascending
This links shows how to return 300 unanswered threads created in the last 30 days:
http://www.vbulletin.com/forum/search.php?do=process&replyless=1&replylimit=1&sortby=replycount&order=ascending&searchdate=30
This link shows how to build an active topics list:
http://www.vbulletin.com/forum/showthread.php?t=102434
gregsbaby64
Wed 30th Mar '05, 10:20am
Maybe we know that, as we run the boards, but I put mine in quick links for the people that are on my board. They don't know how it all works. :)
cbiweb
Wed 30th Mar '05, 10:30am
Have you guys checked out the Advanced Search lately? You can actually search on 'at most' 0 replies..... which gives you exactly what you are searchin for, namely : all threads with 0 replies.Oh my, I'm sorry, Grover. I didn't even notice that! When I looked, it didn't click in that there was a drop-down for options. I take back what I said. My apologies. :o
Wayne, thanks for those links. Very helpful. :)
Slapyo
Wed 30th Mar '05, 11:02am
i knew it was possible through the advanced search, but i have some users who have trouble registering let alone trying to use the advanced search. i meant if the link was in the quick links by default.
thanks for the code, and thanks for those other links!
saxpics
Mon 9th May '05, 6:20pm
Interesting. I think I've found a bug.
See if you can duplicate or if I'm just insane:
* Add the following code, as mentioned in a previous post:
<tr><td class="vbmenu_option"><a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1">Unanswered Threads</a></td></tr> to the section under Quick Links in Admin CP -> Styles & Templates -> Style Manager -> « » -> Navigation / Breadcrumb Templates -> navbar
* Save the changes and log back in as a Super Admin (i.e. an admin hard-coded into the config.php).
* Search for Unaswered Posts using the above link in your Quick Links. Answer a post.
* Search for Unanswered Posts again. The post you answered will show up in the list. Even if you log off and on as a different user, it'll show up!
I don't know if this'll happen with Moderators or regular Admins, but I know if you search for unanswered posts as a regular user and then answer the post and then search again, it DOESN'T show up.
I'm trying
<a href="search.php?$session[sessionurl]do=process&replyless=1&replylimit=0&dontcache=1"> instead to see if that changes anything, but initial tests don't look good.
Wayne Luke
Mon 9th May '05, 6:43pm
It will show up because searches are cached per user. This way if the same user repeats a search within a specific time (7 days I believe), it is pulled from the cache to reduce resource usage. Slight issue but is still a good workaround without the need for coding.
saxpics
Mon 9th May '05, 6:48pm
Thank you. Thought as much.
As said, it "works" without having to code. I'm all for that. :)
vBulletin® v3.8.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.