Results 1 to 1 of 1

Thread: Updating registration to collect email as well

  1. #1
    Thread Starter
    Expired Customer fearless's Avatar
    Join Date
    Jul 2012
    Location
    Canada
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Updating registration to collect email as well

    Hi there,

    I'm most of the way through modifying Vantage for a client, and I have one last request: I need to collect the email address for use on the listing page.

    Now, when a new user registers an email is required, and this is used to create the wordpress user. However it seems that the UID that wordpress assigns is different than how vantage stores its own users and so I don't know how to link the wordpress UID to the vantage UID.

    For example, in single-listing.php I use the following code to get at the email address:

    Code:
    $user_info = get_userdata($posts[0]->post_author);
    $email = $user_info->user_email;
    Tis works because the user that made the listing/post is the user whose listing /post is being displayed. But this does not work on a search results listing. I get the default wordpress admin email in that case.

    So I need a way to modify the registration form to add the collection of an email address. I tried using the built-in Custom Forms under listings but that is a pretty opaque feature. It also doesn't have the existing sign-up form listed which leads me to believe I'm looking in the wrong place.

    So...is there an easy way to do this seemingly simple task?

    ...Mike

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Registration Email
    By thebaht in forum Report JobRoller Bugs
    Replies: 2
    Last Post: May 23rd, 2012, 09:41 AM
  2. New User Email - default settings not updating?
    By muzi in forum ClassiPress General Discussion
    Replies: 2
    Last Post: February 26th, 2011, 12:42 AM
  3. Change registration email
    By bidatio1 in forum ClassiPress General Discussion
    Replies: 3
    Last Post: April 29th, 2010, 04:10 AM
  4. new email user registration
    By annvk in forum Help Using ClassiPress
    Replies: 2
    Last Post: April 24th, 2010, 08:10 PM