The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
$post[username] doesn't work.
|
|
#2
|
|||
|
|||
|
try $this->registry->post[username]
|
|
#3
|
||||
|
||||
|
That actually caused a fatal error when trying to view the forum.
![]() Also I wasn't using $post[username] but $vbulletin->post[username] that wasn't working. |
|
#4
|
||||
|
||||
|
Have you tried $threadinfo[username]?
|
|
#5
|
||||
|
||||
|
Just did, it also comes up blank/isn't available.
|
|
#6
|
||||
|
||||
|
$vbulletin->userinfo[username]
|
|
#7
|
||||
|
||||
|
The problem with that is it shows the username of the user logged in, I'm looking for the username of the thread/post creator.
|
|
#8
|
||||
|
||||
|
Quote:
$thread['postusername'] |
|
#9
|
||||
|
||||
|
|
|
#10
|
||||
|
||||
|
The easiest way to find out things like this is to do a text search in the files for things like "threadbit_display". Once you find what files the hook is in, it is fairly easy to see how they are calling variables.
|
![]() |
|
|