Thanks guys. Sorry it took me so long to reply. Really helped out. Thanks again.
I had to change this line from
AND thread.postuserid = 1234
to
AND thread.postuserid != '1234'
works now.
New question.
Now that I have that solved. How do I get the 'Number of New Posts' on the Forum Home page to not count that userid as well when it counts the new posts.
For instance, if I limit a user from the search.php it still counts those posts as new posts on the forum home.
|