![]() |
Getting the title
Given a threadid, or a postid, how do I get the title/subject?
|
PHP Code:
|
Similarly, how can I determine the name of the current user? $vbulletin->userinfo['username'] is giving me a number, for some reason...
|
$vbulletin->userinfo['username'] should really give you the username, not the userid ...
Anyway, you can use (did you guess it already? :)) PHP Code:
|
Thanks, Kirby.
Follow Up: $vbulletin->username['userinfo'] was working fine - the bug was elsewhere, at my end. |
All times are GMT. The time now is 06:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|