vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Email var (https://vborg.vbsupport.ru/showthread.php?t=120762)

Kirk Y 07-09-2006 06:25 PM

Email var
 
What's the var to get a user's email? I remember it used to be $bbuserinfo[email], but that's not working for me.

Guest190829 07-09-2006 06:56 PM

PHP Code:

$vbulletin->userinfo['email'


Kirk Y 07-09-2006 08:16 PM

Strange. That's not working either.

I get Array['email'].

Guest190829 07-09-2006 10:29 PM

If you are using this in templates try this:

HTML Code:

{$vbulletin->userinfo['email']}

Kirk Y 07-09-2006 10:44 PM

Still nothing, I'm not even getting the Array['email'] now.

Guest190829 07-09-2006 10:50 PM

Where are you putting this?

sabret00the 07-09-2006 11:48 PM

if it's php use
PHP Code:

" . $vbulletin->userinfo['email'] . " 

if it's a template, use
HTML Code:

$bbuserinfo['email']
if that doesn't work in templates use
HTML Code:

{$bbuserinfo['email']}

Kirk Y 07-10-2006 12:32 AM

I'm trying to use it in a template. Neither of those worked Sabre, I had to strip the apostrophes out too, template was giving me that conditional error stuff.

Guest190829 07-10-2006 12:40 AM

Quote:

Originally Posted by acidburn0520
I'm trying to use it in a template. Neither of those worked Sabre, I had to strip the apostrophes out too, template was giving me that conditional error stuff.

Yes, what template? A default vBulletin template?

Kirk Y 07-10-2006 12:44 AM

No a custom template. But I've tried everything that's been posted here to try on the forumhome template too, just to make sure it wasn't something with my template. They've yielded the same results.


All times are GMT. The time now is 02:01 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
  • Page Generation 0.02118 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete