The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
"iconid" from table "post" or "thread" ?
Hi,
I see that there is an "iconid" in both tables "post" and "thread". If I want to display the icon ID of the thread should I take the iconid of the first post from the tread or the iconid or the thread itself ? As I see it now, the thread should not have an "iconid" field. The one from the first post should be enough. Any thoughts ? Regards, Razvan |
#2
|
|||
|
|||
As you can see from this post I have this icon
But when your posting a thread, it is differant because it needs to display in forumdisplay. My icon won't be shown but if you posted one it would be (In forumdisplay) So basically that's why its needed in the thread table. |
#3
|
|||
|
|||
Quote:
To be more clear: please give me a situation where the thread icon is different from the icon of the first post from the same thread. |
#4
|
|||
|
|||
If it wasn't in the thread table, the would have to use an extra query in forumdisplay.
|
#5
|
|||
|
|||
I see .... so they are guaranteed to be the same ALL the time, right ? I can choose to use either of them .... it makes no difference.
|
#6
|
|||
|
|||
None whatsoever
If your looking to use the first post one, I would suggest using the thread table |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|