PDA

View Full Version : latest threads ... with zero replies


beduino
05-02-2007, 03:23 PM
Hello,
I'm searching how I can do the last threads module shows ONLY threads with ZERO replies.
I'm webmaster of www.vb-brasil.org and this will be very useful to us.
Be patient, pleasa :rolleyes:
I'm not a programmer .
Tks a lot
Joao Barroca
aka beduino

Jelmertjee
05-03-2007, 05:56 AM
hmmm you can probably achieve this by changing the php of the module to select only threads where the number of posts == 1, I'm not sure what the exact code is for that, maybe someone else can help out?

Our Sponsors
 

beduino
05-03-2007, 08:42 AM
Tks for yor time!
But really i don't know where i make this - i search the code of latesttopics.php and don't find. [as i said, sorry i'm not a programmer :rolleyes: ]

Steve Machol tell he uses this
search.php?do=process&replyless=1&replylimit=0

Any more help please :)

All the best
Joao Barroca
aka beduino

Brian
05-03-2007, 11:55 AM
Look in your latesttopics.php file for this code:
WHERE open != 10 AND thread.visible = 1

Change to:
WHERE open != 10 AND thread.visible = 1 AND thread.replycount = 0

And that should do the trick.

Our Sponsors
 

beduino
05-04-2007, 09:17 AM
Hi Brian,
tks for your answer. I will test and talk about result here.
vBadvanced is one of the most value add-on I ever see.
All the best
Joao Barroca
aka beduino