The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need some help with showthread variables
Hi all,
Hope you all are having a great new year! I am modding my showthread page, and wondered if there was any variables for the following. I need the first post username I need the first post usnerames avatar I need the category name for the forumid you are in And a long shot, but is there a variable for the date and time for the first post? Thank you very much. |
#2
|
||||
|
||||
Where do you need them?
|
#3
|
|||
|
|||
Showthread template, looking for template conditional variables.
Cheers mate |
#4
|
||||
|
||||
The thread.firstpostid and thread.postusername should be available to use, but I think you will need to write a plugin to get the avatar for the user.
As for the category name, the forumid is available and so I would guess you can get the parent using that. Or actually, look where the navbits are created around line 2325 and you may be able to get it there. |
#5
|
|||
|
|||
Hi Lynn, I found the category navbits where it constructs the forum categories in the order you are in.
But I have not found a variable that will output the EXACT category you are in Example. I can find forum > General Chat > subforumname But I cannot find subforumname if I am in that forum Thanks Lynne for your time, and thanks for the other variables... very useful thanks! Mick |
#6
|
||||
|
||||
So the forum title of the forum you are in? Shouldn't that just be $forum[title] ?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|