Support

Home Forums Event Espresso Premium A number of issues / questions

A number of issues / questions

Posted: February 13, 2014 at 9:28 am


Lee Travaglini

February 13, 2014 at 9:28 am

Hi, I am using the Event Espresso plugin, and I have come across a number of issues / questions I am having with it, and I was wondering if I could get some notes on how to fix them? The items are as follows:

1. Is there a way to change the “from name” of emails sent to users who register for an event? Currently it comes from “Wordpress”

2. For the “Featured Image” attached to an event, is there a way to change the title attribute? Currently if you mouse over the image it says “Featured Image”, and I would like it to say the name of the event.

3. When a user registers for an event I (as the administrator) receive an emails with links to, “Download/Print Ticket” & “Download PDF Invoice”. In the email that is sent to the user, these 2 links aren’t in the email. How can I add them in?

4. In the Invoice PDF, “<br />” tags appear in the address at the end of each line. Is there a way to remove these?

5. At the top of the “Download / Print Ticket” page, there is an error. As well, when you click the “download PDF” button an error occurs.

6. I have found how to customize most of the templates, but the “Payment Overview” page where there is an area at the bottom that says “Please choose a payment option”, I cannot find where to edit this page. There are <br /> tags that I would like to remove.

Thanks for your help!

-Lee


Tony

  • Support Staff

February 13, 2014 at 2:50 pm

Hi Lee,

I’ll try to answer each section as best I can.

1) If you go to Event Espresso -> General Settings. Find Email Settings and set ‘Use fancy email headers?’ to Yes. This will then use your Organization Name (from within General Settings -> Organizational Settings) in place of ‘WordPress’

2) You’ll need to modify this line

echo apply_filters('filter_hook_espresso_display_featured_image', $event_id, !empty($event_meta['event_thumbnail_url']) ? $event_meta['event_thumbnail_url'] : '');

To this

echo apply_filters('filter_hook_espresso_display_featured_image', $event_id, !empty($event_meta['event_thumbnail_url']) ? $event_meta['event_thumbnail_url'] : '', '', $event_name);

Within the event_list_display.php and registration_page_display.php template files.

3) You can add these to the Registration Confirmation email using the [invoice_link] & [ticket_link] shortcodes. You can do this for the default Email within Event Espresso -> General Settings -> Email Settings. ‘Default Registration Confirmation Email’

4) Go to Event Espresso -> Payment Settings -> Invoice Payment Settings. You can edit the address field here and also remove the br tags, then update the payment settings (if the Invoice gateway is not active you’ll need to activate it, make this change, update the settings, then deactivate the gateway again if you do not wish to use it)

5) Can you explain a little more about the error you can see please?

6) ‘Please choose a payment option’ is output from event-espresso\gateways\gateway_display.php however, there are no br tags within that file. It is basically used to pull in the active gateways you have. Can you explain a little more where you can see the br tags please (screenshot perhaps?)


Lee Travaglini

February 14, 2014 at 10:21 am

Wow! thanks Tony for your help, you really helped me out with alot here. To answer the 2 remaining items;

1. The Error at the top of the ticket page says;

Warning: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /nfs/c10/h04/mnt/150405/domains/goodlookinkids.com/html/presents/wp-content/plugins/espresso-ticketing/functions.php on line 196

Warning: getimagesize(http://goodlookinkids.com/presents/wp-content/uploads/2014/02/logo.png) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /nfs/c10/h04/mnt/150405/domains/goodlookinkids.com/html/presents/wp-content/plugins/espresso-ticketing/functions.php on line 196

And per the note about the “<br />” tags in the gateway display, seems like the issue sorted itself out. Must have been in my code.

Thanks again.

-Lee


Sidney Harrell

February 14, 2014 at 2:23 pm

If your server admin has allow_url_fopen set to false for security reasons, then you’ll need to use directory paths to access images for use in the invoice and tickets, rather than web urls. It should look something like /home/username/public_html/wp-content/uploads/ etc.


Lee Travaglini

February 18, 2014 at 8:31 am

Thanks Sidney for your response. I will assume that my server has allow_url_fopen set to false. So with that being said, where do set the path as a “directory path” rather than a web url?


Dean

February 19, 2014 at 2:15 am

Hi,

You would use them instead of the image URL, so for example in Payment Settings > Invoice > Logo URL field.


Lee Travaglini

February 24, 2014 at 4:19 pm

Sorry, I think there is a confusion on where I am getting this error. It isn’t on the invoice page, but rather the Ticket page. I see where you can add the relative path in the payment > invoice settings, but the image upload on the ticket template uses the WordPress uploader, so I can’t just type the path in. Thanks.


Dean

February 25, 2014 at 3:28 am

Hi,

OK, thanks for the clarification.

Via the Media Uploader, you could try the From URL tab, like so http://take.ms/4LwtU


Lee Travaglini

February 25, 2014 at 8:03 am

Thanks for your help. I decided to attempt to do the alternative which was to allow url fopen. I resolved the issue by adding:

php_value allow_url_fopen On

to my .htaccess file

Thanks again.

The support post ‘A number of issues / questions’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso