Log in

View Full Version : need help with if statement


dniMTheory
04-05-2004, 03:41 AM
I need help for an if statement in my functions_newpost.php file.

i want to use the variable that shows how many posts you have in a thread in the expression but cant seem to find it. i think its $threadinfo[dot_count] or something similar.

Can someone corrrect this so that it works.

If ($threadinfo[dot_count] < 3) {
DO STUFF
}

Again, I'm not sure i'm using the correct variable so any constructive help is appreciated

dniMTheory
04-05-2004, 10:25 PM
Anyone...come on, pleeeese help. Where are you die hard vbulletin gurus?

I'll trade my first born for a steer in the right direction.

Zachery
04-05-2004, 10:32 PM
whats a dot count?

dniMTheory
04-05-2004, 10:38 PM
I may be using the wrong variable, but in forumdisplay.php, when you hover over the icon on the far left in the threadbit, the alt text says something like "you have 9 posts in this thread, last post was 04/01/2004".

where are the 9 posts stored at or how does vbulletin keep track of the total posts you have made in a specific thread?