The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello,
i've setup a custom page guided by the how-to. Now i want to print out some users actual profile picture. I had the idea to do this with <img src="$profilepic_of_userid100"> I also would like to show userid100's reputation with something like <img src="$reputation_of_userid100"> Is this possible somehow? Are there variables i can use in custom pages? Many thanks, Wachtmeister |
#2
|
|||
|
|||
![]()
fetch_userinfo() will do what you want.
Check out the API documentation for that function, it allows you to "join" the customprofilepic table to get details of the profile picture. As for reputation, im pretty sure its already available, but you might need to run it through a function to get the pips properly |
#3
|
||||
|
||||
![]()
Thanks
![]() ![]() |
#4
|
|||
|
|||
![]()
If you post the code for your custom page ill take a look for you.
|
#5
|
||||
|
||||
![]()
Very friendly
![]() This is my template: Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle]</title> </head> <body> $header $navbar somewhere here should appear my content. < img src ="image of user #100"> < img src ="image of user #100 reputation"> User #100 location User #100 join date User #100 other details (homepage, msn, icq, etc.) i would like to know how i can show these details. maybe you can give me a hint... <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">Die fleissigen Helfer von Webgurus.de</td> </tr> <tr> <td class="alt1"> <img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /> </td> </tr> </table> $footer </body> </html> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|