The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Given a threadid, or a postid, how do I get the title/subject?
|
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
|||
|
|||
![]()
Similarly, how can I determine the name of the current user? $vbulletin->userinfo['username'] is giving me a number, for some reason...
|
#4
|
||||
|
||||
![]()
$vbulletin->userinfo['username'] should really give you the username, not the userid ...
Anyway, you can use (did you guess it already? ![]() PHP Code:
|
#5
|
|||
|
|||
![]()
Thanks, Kirby.
Follow Up: $vbulletin->username['userinfo'] was working fine - the bug was elsewhere, at my end. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|