Log in

View Full Version : Member Number Hack?


RobAC
03-22-2001, 06:38 PM
Has anyone come out with a Member Number hack which could appear under the Member name and title in the postbit template? I ran a search and didn't find anything and realized it would be harder to do than I had originally anticipated. Any ideas?

03-22-2001, 06:44 PM
$userinfo[userid] -- that's all the member number really is. Getting "this member was the Xth person to register" type thing would require additional queries, or at least a change to the join.

03-22-2001, 06:46 PM
Just put:

$post[userid]

somewhere in your postbit template.

<edit>
I see I was beaten by Ed :D
Surely $userinfo[userid] would give the ID of the currently logged on user rather than that of the poster?
<edit>

03-22-2001, 06:48 PM
Ahhh...perfect. Thanks guys. I was in the process of going through all my templates looking for that parameter.

03-22-2001, 06:55 PM
LOL....I'm member number #5 of my own Forums and yet, I'm the first person to join them which I verified in the Member List. I wonder who the first 4 members are. :)

03-22-2001, 06:55 PM
Originally posted by JamesUS
Surely $userinfo[userid] would give the ID of the currently logged on user rather than that of the poster?No, that's $bbuserinfo[userid] .

03-23-2001, 02:53 AM
Originally posted by RobAC
LOL....I'm member number #5 of my own Forums and yet, I'm the first person to join them which I verified in the Member List. I wonder who the first 4 members are. :)

Interesting...I remember when I used UBB, I, too, was member #5, although I was of course the first person to register. Did you import from UBB?

03-23-2001, 03:24 AM
Yep.