The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
First post of a user in a thread
Hi friends.
I need to identify the first post of a user in a thread, using a "if condition" sentence. I know that "<if condition="$post[postcount]==1">" identifies the first post in a thread, but what I need is to identify the first post for every user in a thread. Maybe there is a variable that I can use in the "if condition" sentence, but I have been looking for a list of variables with no success. Could anyone help me? Thank you. |
#2
|
||||
|
||||
There is no variable for that since vb doesn't care about a users first post. I think you'd have to write a plugin to do a query to grab the first post in a thread for the user and then see if that postid is the same as the one you got from the query. Sounds icky. Maybe someone else can think of a cleaner way to do it.
|
#3
|
|||
|
|||
Quote:
The thing is that I would like to have the user's signature only in their first post in a thread. I thought It would be a good idea to modify the postbit_legacy template in order to do this, by adding a "if condition" sentence.... ....maybe, is there another way to do it? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|