vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Paid Subscription email and custom profile fields (https://vborg.vbsupport.ru/showthread.php?t=256843)

Keith 01-09-2011 10:11 PM

Paid Subscription email and custom profile fields
 
Users are using our Paid Subscription system and it's been working well. I receive an email confirmation which provides me with the basics.

But I can't seem to find out where I can edit this function so that the email will include the custom profile fields I've created. By example, I want the email to include the data users have put in their profile, such as:

Quote:

A paid subscription has just been purchased by USERX at mysitename.com

To view their profile, go here:
http://www.mysitename.com/forums/member.php?u=1836

Your First Name: : John
Your Last Name: : Doe
Home Phone : 410.55-1212
Address: 1292 Main Street
City: Washington
State: DC
Zip: 11111
Anniversary : 11/2/2000
Spouse Birthday : 1/1/1980
Where is this template, or php file that I need to edit?

Thanks in advance.

Digital Jedi 01-10-2011 05:49 AM

Open your Phrase Manager under Languages and Phrases and search for the phrase payment_received. That's your email content. Also search for the phrase newuser, and you'll find the variables there for profile info and custom fields that you can copy over to your payment email phrase.

Keith 01-17-2011 10:06 AM

How do you guys remember all this stuff?!?! :D Thank you for the reply.

I found both pieces, and it appears there is a variable called $customfields. So I added that to the email content, but the email doesn't include the info yet. Some of the custom fields are designated as hidden and private to the public, so maybe that's keeping the system from including it in my email template?

I'll have to play with this a little, I might be missing something else here, but at least I think you've pointed me in the right direction.

Digital Jedi 01-17-2011 04:56 PM

Probably so. If any of your custom fields are private, then the variables probably won't include them. You might check around and see if there's any mods that have more permission based effects on custom fields.

Keith 01-20-2011 06:38 PM

Thanks Jedi. I'll keep trying One funny thing I just noticed. When a new user signs up, I receive an email notification and it includes all of the custom field info, private and public. I'm thinking the issue could be in the PHP somewhere, as it relates to the paid subscription email settings and kicking off that email versus the new user email.


All times are GMT. The time now is 02:54 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.01032 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete