graham

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
Dec 12, 2017 at 10:34 am
#66616
Member
graham
OP

Thanks Shahriar,

We’ll keep an eye out for future releases.

Dec 11, 2017 at 9:35 am
#66536
Member
graham
OP

No, we don’t want to send an email when someone adds a file to the cart.

Here’s how it currently works:

1. A user adds a file (or multiple files) to the file cart
2. They have the option to download all of the files within the file cart as a zip file
3. They can also email the files to anyone else by entering an email address and clicking ’email file(s)’.

This functionality works perfectly and we’re very happy with it.

However, we would like to add a fourth step that happens at the same time as step 3:

4. When the user emails the files to the other person, we would like the user to receive a confirmation email saying something like:
“You’ve just sent the following files [link to the zip file] to the following recipient [email address you sent the files to].”

It seems step 3 is triggered by the action I posted above — it’s on line 32 of wpdm-file-cart.php

Does that make sense?

Thanks again.

Dec 8, 2017 at 10:47 am
#66483
Member
graham
OP

Thanks Hasibul,

Unfortunately, that hasn’t worked and it wasn’t quite what we were after.

We’re looking for a second email to be sent at the same time as the ‘Email File Cart’ action:

add_action('wp_ajax_email_file_cart', array($this, 'EmailFileCart'));

Thanks for any further help you can give us.

Sep 14, 2017 at 12:55 pm
#62877
Member
graham
OP

Well, it looks slightly better but it’s still not fixed.

Did you actually look at all of the pages?

Here is a list of all the errors I’ve found so far:

1. On the home page and the ‘My Profile’ page, the favourite icons are wrong. They are all full stars, even for files that haven’t been marked as a favourite. Only the ‘Downloads’ page has the correct favourite icon next to each file.

2. The homepage only shows 1 favourite even though there are 3 and the ‘My Profile’ page is showing a PHP warning:
Warning: reset() expects parameter 1 to be array, string given in /home/sandison/sbstheme2.sandisonpay.co.uk/wp-content/themes/softbox-intranet/includes/entry.php on line 30
If you solve the PHP error, maybe the other issues relating to favourites will fix themselves? On the profile page, I can only see one favourite but I can see the preview and favourite button for another file underneath…

3. When you search for a file (for example, search for ‘Quality’) and then use the filter (select ‘North America’) the download button goes wrong and the ‘add to filestore’ button completely disappears. You also can’t use the drop-down to see the file description or attributes.

4. This also happens when you use the filter (select ‘Operations’) and then clear the filter (deselect ‘Operations’).

5. The Filestore page looks completely broken — the buttons are all over the place and it looks like all our original CSS has been overwritten or ignored.

All of these things were working before you updated the plugin to 4.6.9, so we’d really appreciate it if you could look at them again.

Thansks.

Sep 14, 2017 at 8:19 am
#62872
Member
graham
OP

Thanks Razia, I can see the email functionality is working now — that’s great.

However, a lot of our styling is now broken:

  1. On the home screen, downloads page and ‘my profile’ pages the download button has changed, and the ‘Add to Filestore’ button has changed (and there seems to be three versions of it on your new test file).
  2. The file cart area looks completely different.
  3. In ‘My Profile’ there’s a PHP warning and all of the icons are wrong.
  4. On the home page when you use the ‘accordion drop-down’ on a file to see the full description, you no longer see the attributes, just the description (although this works on Downloads and My Profile).
  5. When you use the filter and then clear the filter, the download button goes wrong and the ‘add to filestore’ button completely disappears.

I did warn you to be careful when updating the plugin because it broke the site when we tried updating ourselves previously.

Please can you try and repair the damage?

Thanks again.

Sep 13, 2017 at 2:54 pm
#62803
Member
graham
OP
This reply has been marked as private.
Sep 13, 2017 at 8:24 am
#62782
Member
graham
OP
This reply has been marked as private.
Sep 11, 2017 at 2:55 pm
#62703
Member
graham
OP
This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)