jjspelman

Forum Replies Created

Viewing 18 posts - 1 through 18 (of 18 total)
May 29, 2014 at 2:24 pm
#16475
Member
jjspelman
OP

Why can’t we pull the name and email from the form that is submitted?

May 28, 2014 at 1:39 pm
#16416
Member
jjspelman
OP

I know how to set the notification email.

I found the issue in the functions.php file that you had modified. I inserted the email we needed.


function download_notification($package){
    $package_data = get_post($package['ID']);
    $headers = 'From: Site Name ' . "\r\n";
    $headers .= 'Content-type: text/html' . "\r\n";
    $message = "Downloader's IP: ". $_SERVER['REMOTE_ADDR']. "<br/>Sender's Name: ". "custom_form_field['name']";
    wp_mail("info@optimatumgroup.com", "Download Notification: ".$package_data->post_title, $message, $headers); 
} 

add_action("before_download", "download_notification"); 

How can I get this to send the name and email? The IP address is of no use to the client?

Apr 25, 2014 at 6:37 pm
#14897
Member
jjspelman
OP

Thanks for the reply, but I do not know how to add the name and email that is in the form.

Apr 25, 2014 at 4:00 am
#14870
Member
jjspelman
OP

So how can we prevent this from being a problem in the future when the plug in is updated? Is an update going to undo what was just fixed?

Apr 24, 2014 at 4:46 am
#14795
Member
jjspelman
OP

Looks like you had to create an additional php doc to do this?

Apr 24, 2014 at 4:45 am
#14794
Member
jjspelman
OP

[SOLVED] Done, thank you.

Apr 23, 2014 at 3:35 pm
#14747
Member
jjspelman
OP

Shaon, my client is really pressing me. Can you help?

Apr 22, 2014 at 8:47 pm
#14735
Member
jjspelman
OP

I am still not seeing the buttons

Apr 22, 2014 at 8:17 pm
#14725
Member
jjspelman
OP
This reply has been marked as private.
Apr 22, 2014 at 1:21 pm
#14700
Member
jjspelman
OP
This reply has been marked as private.
Apr 22, 2014 at 6:47 am
#14684
Member
jjspelman
OP

I ended up using CSS to hide those elements. I thought there would be a much easier way though.

/* remove page title, author, etc. on download pages */

body.single-wpdmpro header.jumbotron.subhead, body.single-wpdmpro header.article-header{display: none!important;}

Thisis the url without those elements in there now: http://optimatumgroup.com/package/holding-health-care-costs-in-check/

Can you please help with my other post about the missing download button images? Client is really upset now.

Apr 21, 2014 at 7:01 pm
#14676
Member
jjspelman
OP

Can you please reply to this? I have posted twice about this and I really need to find a solution.

Apr 12, 2014 at 2:36 am
#14454
Member
jjspelman
OP
This reply has been marked as private.
Apr 11, 2014 at 3:45 am
#14398
Member
jjspelman
OP

I tried to download the plug in from the home page link and I think I messed up because it was the older free version. I then downloaded the Pro version from my Downloads and then installed that.

But the reinstall of the older version seemed to lose all my packages. Funny thing is, the items are still in the data base in the _ahm_files table. Can you help me to get them back in the package manager and back on the web site?

Apr 1, 2014 at 5:16 pm
#13821
Member
jjspelman
OP

oops, please disregard las post. It works great! 🙂

Apr 1, 2014 at 5:12 pm
#13820
Member
jjspelman
OP

Then what is the category short code for? Is it for use on pages or posts, and not within widgets?

Feb 7, 2014 at 8:02 pm
#12004
Member
jjspelman
OP

But there is no page called WPDMpro – the url they are using is http://optimatumgroup.com/wpdmpro/. it seems to be a blog category. Yet the category does not exist. Nor do the posts listed on that page. Cn you help?

Dec 3, 2013 at 5:52 pm
#10201
Member
jjspelman
OP

I just hid the display in CSS.

Viewing 18 posts - 1 through 18 (of 18 total)