The Arcive of vBulletin Modifications Site. |
|
|
#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 | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|