![]() |
How Do I track User Id
Hi,
I would like to track the forum user-ID that is logged in so that I could give him discounts on my products on the basis of his usergroup. So how can I track his user-ID or usergroup-ID on my main website (outside forums)? Thanks, Todd |
If you include the global.php file from the forum directory then you can use $vbulletin->userinfo['userid'] and $vbulletin->userinfo['usergroupid']
|
It worked.
Thanks a lot. |
All times are GMT. The time now is 05:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|