I am designing a script for VB 3.5.x I would like to know if the logged user variable is available instead of having to query for it? Peace,
I do not have access to actually use VB, I tried to get help from VB official site but they don't allow third part scripts. I'll check the website you gave me,thanks. Edit: The website you have also require that I buy a version of VB. Peace,
Not sure what you mean with "logged user variable", but there's $vbulletin->userinfo, which might be what you're looking for.
I just need the person that is viewing the page. I am not sure if I can use $_SERVER['REMOTE_ADDR'], does VB change $_SERVER variables? Peace,
User either IPADDRESS or ALT_IP (constants) IPADDRSS is $_SERVER['REMOTE_ADDR'], and ALT_IP can be one of those: $_SERVER['HTTP_CLIENT_IP'] $_SERVER['HTTP_X_FORWARDED_FOR'] $_SERVER['HTTP_FROM'] Not sure where ALT_IP is used though. I'd use just IPADDRESS.
I am not doing this for a guy. I just found a VB 3.5.x Adsense revenue sharing script, and saw that coding for VB wouldn't be hard at all, so I decided to write one on my own (based of the coding structure of the old one). I just added some features to it. I'll see if some of my friends who have Vbulletins can test it out. Peace,