![]() |
vb variable for user's email address?
Is there a variable in vb that holds the users email address when viewing the site? I'm working on an "Add To My Yahoo" option, but want to do a conditional to only show it if the user has a @yahoo. in their email address.
Thanks! |
Anyone?
|
You'd have to find a way to parse the e-mail address, between the TLD and the @ symbol, but I only know how to parse strings in VBScript and Visual Basic 6 so sorry :(
|
try $userinfo[email] or $bbuserinfo[email]
|
$bbuserinfo['email'] is what worked for me. But in order to check if it contained @yahoo, I needed to add strpos() to the list of safe functions in vB.
See the full hack @ http://www.vbadvanced.com/forum/showthread.php?t=2721 |
All times are GMT. The time now is 10:46 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:
|