I am using Vbulletin Version 4.2.3. can anyone tell me the condition code for situation where in thread if user has replied to post. I do not know how to define this thing in " IF CONDITIONS" Please tell me the absolute and working if condition code.
If i have posted in wrong section, please move into right one . Thanks.
Well, in the DB, probably:
SELECT DISTINCT userid FROM post WHERE threadid = $threadid
But I'm pretty sure that's not exactly what you're looking for ...
Yes definitely, i am asking the code which has to be written in Vbulletin Template. It is not about Database.
What do you want the condition to do?
"If user has replied to post - do what"?
Have you looked on vBulletin forum?
If user has replied to post can see "bbcodes" i did not found anything on Vbulletin forum rather tha VB Hide Hack, that plugin is a big problem for to use because it is creating a new bbcode which has to used manually.
So, what you're looking for is something in their templating language/system?
Maybe like this?
<vb:if condition="$show['member']"> <vb:if condition="$show['subscribed']"> DO SOMETHING HERE </vb:if> </vb:if>
@ exactly you have understand the means of what i want. But there is little problem in this, this is the code for those who subscribed, i want to show message to them who has not subscribed the thread and watching thread first time, when they reply to post they will automatically show the code 🙂 so please update the code according to requirement