Results 1 to 3 of 3

Thread: Custom Values in Email for new list submissions

  1. #1
    Thread Starter
    Amateur amodioe's Avatar
    Join Date
    May 2011
    Posts
    10
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Custom Values in Email for new list submissions

    Hi.

    I would like to add a few extra values into the theme-emails.php file for emails which are submitted to the admin.

    Currently when a listing is submitted it has these values

    Code:
        $message  = __('Dear Admin,', 'appthemes') . "\r\n\r\n";
        $message .= sprintf(__('The following ad listing has just been submitted on your %s website.', 'appthemes'), $blogname) . "\r\n\r\n";
        $message .= __('Ad Details', 'appthemes') . "\r\n";
        $message .= __('-----------------') . "\r\n";
        $message .= __('Title: ', 'appthemes') . $ad_title . "\r\n";
        $message .= __('Category: ', 'appthemes') . $ad_cat . "\r\n";
        $message .= __('Author: ', 'appthemes') . $ad_author . "\r\n";
        $message .= __('Description: ', 'appthemes') . $ad_content . "\r\n";
        $message .= __('-----------------') . "\r\n\r\n";
        $message .= __('Preview Ad: ', 'appthemes') . $ad_slug . "\r\n";
        $message .= sprintf(__('Edit Ad: %s', 'appthemes'), $adminurl) . "\r\n\r\n\r\n";
        $message .= __('Regards,', 'appthemes') . "\r\n\r\n";
        $message .= __('ClassiPress', 'appthemes') . "\r\n\r\n";
    and in the email it shows this message

    Code:
    Ad Details
    -----------------
    Title: Sample 1
    Category: Rental
    Author: admin
    Description: lorem ipsum
    -----------------
    I would like to add all the standard form inputs in the "Submit Your Listing" form for all the below form values.

    cp_street
    cp_city
    cp_state
    cp_country
    cp_zipcode
    post_content
    featured_ad
    ad_pack_id
    cp_coupon_code

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,958
    Thanks
    169
    Thanked 3,405 Times in 3,276 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Amateur amodioe's Avatar
    Join Date
    May 2011
    Posts
    10
    Thanks
    3
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Anonymous submissions
    By kptown in forum Report JobRoller Bugs
    Replies: 1
    Last Post: June 1st, 2011, 07:33 AM
  2. Email mailing list
    By lausha in forum ClassiPress General Discussion
    Replies: 2
    Last Post: April 4th, 2011, 07:09 PM
  3. Email List
    By nicknolting in forum Report JobRoller Bugs
    Replies: 3
    Last Post: December 12th, 2010, 11:24 AM
  4. custom field values
    By dubya in forum Help Using ClassiPress
    Replies: 3
    Last Post: August 6th, 2010, 04:33 PM
  5. MOD to 3.0.2 and 3.03 to Hold Selected DROPDOWN LIST VALUES
    By vienna in forum ClassiPress General Discussion
    Replies: 1
    Last Post: July 24th, 2010, 09:38 AM