• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

vBulletin: Get first unread post


I'm trying to get the answer number of the first unread post in a thread in vBulletin 4 given a Username.
Anyone has knowledge of this?

1 Solution
im not sure of the vbulletin database setup but i would suggest something similar to this

$qry = "select answer_number from threads where username = 'whateveruser' AND read = 'no' ORDER BY date DESC limit 1";

above is a mysql query, without seeing specific code and db structure this is the best example i can come up for you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now