The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Displaying postbit info in forumhome
How can I display info from postbit like reputation, rank, location, etc in my forumhome? I have tried putting $post[reppower] into my forumhome code, but it just shows up blank.
|
#2
|
|||
|
|||
The $post is only available when viewing posts. Use $bbuserinfo instead.
|
#3
|
|||
|
|||
I know postbit is only for viewing posts, but there must be a way to display that info on FORUMHOME.. When logged in, I want to display such things as a user's rep, rank, loaction etc, and $bbuserinfo does not have those.. Someone must know a way to do this.
|
#4
|
|||
|
|||
$bbuserinfo['reputation']
Location: $bbuserinfo['field2'] ..... |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
anyone?
|
#7
|
||||
|
||||
i have been trying to figure this out for a while, and i dont know if this is the best way to do it, but i had to use the following code:
Code:
fetch_reputation_image($vbulletin->userinfo, $userperms); $reputationpic = $vbulletin->userinfo[reputationdisplay]; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|