The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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! |
#2
|
|||
|
|||
![]()
Anyone?
|
#3
|
|||
|
|||
![]()
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
![]() |
#4
|
|||
|
|||
![]()
try $userinfo[email] or $bbuserinfo[email]
|
#5
|
|||
|
|||
![]()
$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 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|