View Full Version : Reputation Questions?
C Braithwaite
10-06-2006, 08:11 AM
Firstly, how is reputation worked out? in my database the reputation field says 571, however when displayed using userinfo['reputation'] i get 1033 - why?
second question
i am using fetch_reputation_image($vbulletin->userinfo, $userperms); in a custom page to return the user's reputation image. (is this the best way of doing so in a custom page?) how would i go about displaying the reputation image for another user on my custom page?
Ta, Chris.
C Braithwaite
10-07-2006, 10:11 AM
come on - there must be someone who know this?
Chicago_VLNU_4s
10-23-2006, 04:48 AM
hmmm are you trying to have it drop down to give user's rep? or what? kinda sounds like what i'm lookin for but need to know what exactly you're trying to do
C Braithwaite
10-27-2006, 10:08 AM
hmmm are you trying to have it drop down to give user's rep? or what? kinda sounds like what i'm lookin for but need to know what exactly you're trying to do
managed to solve this - all i had to do was create an array with the user's reputation details in there and passed it to the function.
all i wanted to do was display some stats about my forum on a custom page - like user with highest reputation etc
Chicago_VLNU_4s
10-28-2006, 11:50 PM
ohhhh.. well how'd you do this? sounds interesting
C Braithwaite
11-05-2006, 07:17 AM
ohhhh.. well how'd you do this? sounds interesting
Something like this..
$customrep = array();
$customrep[reputation] = $myCustomRepValue;
fetch_reputation_image($customrep, $userperms);
$myCustomRepPic = $temp[reputationdisplay];
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.