The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
If you include the global.php file from the forum directory then you can use $vbulletin->userinfo['userid'] and $vbulletin->userinfo['usergroupid']
|
#3
|
|||
|
|||
![]()
It worked.
Thanks a lot. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|