Forum Replies Created

Viewing 32 posts - 1 through 32 (of 32 total)
  • Author
    Posts
  • in reply to: Accessibility #61787
    blanch80
    Participant

    Hi Franky,

    I’ve updated the plugin to the latest version but I’m still seeing this issue.

    On this page, under each of the toggle headers there is a link to show upcoming events for each course, the report is still showing that there are 15 occurrences of an ID being used for multiple occurrences of an element.

    For each shortcode it is showing the ID as #events-no-events

    The HTML is showing as

    <span id="events-no-events" style>
    																							<strong style="transition: none 0s ease 0s;">
    																								There are no courses currently scheduled. Please																								<a href="mailto:NECSU.learning@nhs.net?Subject=Course query" style="transition: none 0s ease 0s;">contact us</a>																		to register your interest in a course.	
    													</strong>
    																				</span>

    Is there anything that can be done?

    Thanks,
    David.

    in reply to: Accessibility #61624
    blanch80
    Participant

    Thanks Franky. I’ll take a look today. Is this something I’ll need to do each time the plugin is updated or is it something you’re planning on incorporating in a future update?

    in reply to: Send mails for past events #61610
    blanch80
    Participant

    Hi Franky,

    I’m on the latest version but it is still only searching future events for me in event related emails, is there an option that needs to be switched on to search past events?

    Thanks.

    in reply to: Send mails for past events #61564
    blanch80
    Participant

    That’s great, thanks Franky.

    in reply to: Events list template #61389
    blanch80
    Participant

    Worked a treat, didn’t realise I’d need to split into 3 templates.

    in reply to: Plugin conflict #61352
    blanch80
    Participant

    Thanks Franky.

    Will the change you made here: https://plugins.trac.wordpress.org/changeset/2320818 be in later releases of the plugin? Just so I know if I need to continually change it when updating.

    I’ll speak to BuddyBoss to see what they say, but it’s the BuddyBoss platform which uses select2 (the plugin to activate the functionality) rather than the theme itself (I think).

    in reply to: Plugin conflict #61332
    blanch80
    Participant

    Ignore my last reply Franky, what you posted has worked for me.
    I don’t know whether it will be worth adding the option – beyond my skill set TBH.

    in reply to: Plugin conflict #61331
    blanch80
    Participant

    There is a function in functions.php of the theme which shows the following, seems to enqueue – not sure if that helps your investigation?

      // Javascript
      wp_enqueue_script( 'buddyboss-child-js', get_stylesheet_directory_uri().'/assets/js/custom.js', '', '1.0.0' );
    }
    add_action( 'wp_enqueue_scripts', 'buddyboss_theme_child_scripts_styles', 9999 );
    in reply to: Plugin conflict #61330
    blanch80
    Participant

    Hi Franky,

    My replies aren’t showing on the thread, I’ve tried logging in/out but the same thing keeps happening.

    I’ve made the change to the eme_actions.php file, removing line 360 and adding the 3 new lines, added the function to the functions.php file of my child theme, but the same thing seems to be happening.

    Is there something else I could try, or I could provide login details if that’s easier for you.

    in reply to: Plugin conflict #61323
    blanch80
    Participant

    Hi Franky,

    I’m seeing this:

    Error: No select2/compat/dropdownCss select2.min.js:2:1364
    Source map error: Error: request failed with status 404
    Resource URL: http://test.learning.necsu.nhs.uk/wp-content/themes/buddyboss-theme/assets/js/vendors/progressbar.min.js?ver=1.5.0
    Source Map URL: progressbar.min.js.map

    It’s just odd how it’s only happening to logged in users. I could give you a login to our test site for you to investigate if that’s possible?

    Thanks,
    David.

    in reply to: Plugin conflict #61321
    blanch80
    Participant

    The same happens when trying to reply, link: http://test.learning.necsu.nhs.uk/groups/clinical-system-specialists/forum/discussion/first-discussion/

    I assume it’s the same thing blocking both.

    in reply to: #_IS_USER_HAS_ROLE{xxx} #61290
    blanch80
    Participant

    Tremendous, the new release works perfectly.
    Thanks Franky.

    in reply to: #_IS_USER_HAS_ROLE{xxx} #61276
    blanch80
    Participant

    Sorry Franky, I may have got mixed up.

    I tried the following code after the update but the comma separated values didn’t work as expected, both user accounts with the roles administrator and subscriber showed “You are unable to book a place on this event.”

    [eme_if tag='#_USER_HAS_ROLE{administrator,subscriber}' value='1']
    
    <table class='eme-rsvp-form'>
        <tr><th scope='row'>First Name*:</th><td>#REQ_FIRSTNAME</td></tr>#_SEATS 
        <tr><th scope='row'>Last Name*:</th><td>#_LASTNAME</td></tr>
        <tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr>
    </table>
    #_SUBMIT
    
    [/eme_if]
    
    [eme_if tag='#_USER_HAS_ROLE{administrator,subscriber}' value='0']
    
    You are unable to book a place on this event.
    
    [/eme_if]

    I was expecting the comma separated values functionality you mentioned to work for #_USER_HAS_ROLE but it doesn’t seem to (unless I’m doing something wrong?), so when I looked at the change log it showed:

    •The placeholders #_ADDBOOKINGFORM_IF_USER_HAS_CAP, #_ADDBOOKINGFORM_IF_USER_HAS_ROLE, #_ADDBOOKINGFORM_IF_USER_IN_GROUP and #_ADDBOOKINGFORM_IF_USER_IS_MEMBER_OF now allow multiple arguments (separated by “,”) so you can e.g. show the form to only users that are in one of the mentioned EME groups, with certain rols, or if member of one of the mentioned memberships

    I tried to do the same with those place holders and failed miserably! Do you think you’ll introduce comma separated values for #_USER_HAS_ROLE or will I need to try again with #_ADDBOOKINGFORM_IF_USER_HAS_ROLE?

    Thanks,
    David.

    in reply to: #_IS_USER_HAS_ROLE{xxx} #61274
    blanch80
    Participant

    Hi Franky,

    I’ve updated the plugin and seen that it’s no longer using #_USER_HAS_ROLE but is instead using #_ADDBOOKINGFORM_IF_USER_HAS_ROLE.

    I’ve tried changing the # as shown below but am getting 500 Internal Server Error when trying to load the event, not sure what I’ve done wrong.

    [eme_if tag='#_ADDBOOKINGFORM_IF_USER_HAS_ROLE{subscriber,administrator}' value='1']
    
    <table class='eme-rsvp-form'>
        <tr><th scope='row'>First Name*:</th><td>#REQ_FIRSTNAME</td></tr>#_SEATS 
        <tr><th scope='row'>Last Name*:</th><td>#_LASTNAME</td></tr>
        <tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr>
    </table>
    #_SUBMIT
    
    [/eme_if]
    
    [eme_if tag='#_ADDBOOKINGFORM_IF_USER_HAS_ROLE{subscriber,administrator}' value='0']
    
    You are unable to book a place on this event.
    
    [/eme_if]

    If I don’t have the table with First Name, etc… in the if statement I see this:

    Ach, some problems here:

    Please correct the RSVP form format to use #_EMAIL.
    Please correct the RSVP form format to use #_LASTNAME.
    Please correct the RSVP form format to use #_SUBMIT.
    Press the back-button in your browser to return to the previous screen and correct your errors

    Hope you can help?

    in reply to: #_IS_USER_HAS_ROLE{xxx} #61263
    blanch80
    Participant

    That change worked a treat Franky.

    Looking forward to the next release so I can utilise multiple caps/roles in the {xxx} (separated by ‘,’). Then I’m going to see if I can get custom fields to work with #_USER_HAS_ROLE, see if I can setup a multi select list of roles, so I can easily pick which roles should be able to book onto an event.

    Thanks,
    David.

    in reply to: #_IS_USER_HAS_ROLE{xxx} #61259
    blanch80
    Participant

    Cool, cheers Franky.

    in reply to: #_IS_USER_HAS_ROLE{xxx} #61256
    blanch80
    Participant

    Thanks Franky, that makes sense.

    I’m still having a problem though, with the code:

    [eme_if tag='#_USER_HAS_ROLE{subscriber}' value='1']
    
    <table class='eme-rsvp-form'>
        <tr><th scope='row'>First Name*:</th><td>#REQ_FIRSTNAME</td></tr>#_SEATS 
        <tr><th scope='row'>Last Name*:</th><td>#_LASTNAME</td></tr>
        <tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr>
    </table>
    #_SUBMIT
    
    [/eme_if]
    
    [eme_if tag='#_USER_HAS_ROLE{subscriber}' value='0']
    
    You are unable to book a place on this event.
    
    [/eme_if]

    When logged in as Administrator or Subscriber is still shows ‘You are unable to book a place on this event.’ Am i right in thinking this should show the form if the account logged in is has the WordPress role subscriber?

    I’ve tried #_USER_HAS_ROLE{subscriber} and #_USER_HAS_ROLE{Subscriber} but the capital at the start doesn’t seem to make a difference.

    in reply to: Add extra information to iCal #61152
    blanch80
    Participant

    That worked perfectly, thanks Franky!

    I never clicked on the RSS tab as I thought it was only for RSS and never use it!

    in reply to: Add extra information to iCal #61143
    blanch80
    Participant

    That’s great Franky, I just hope someone will be able to help with the filter now, as that’s beyond my skill set 🙁 – I don’t know what line I need to add to the code below to include the custom attribute in the iCal description

    function my_ical_filter($ical_entry) {
        // do a print_r of $ical_entry to see the content
        // as an example, let's add a line "CLASS:PUBLIC"
        $ical_entry .= eme_esc_ical("CLASS:PUBLIC");
        // other example: remove lines that contains "ORGANIZER"
        $ical_entry = preg_replace('/ORGANIZER.*\r\n/','',$ical_entry);
        return $ical_entry; 
    }
    add_filter('eme_ical_filter','my_ical_filter');
    in reply to: Add extra information to iCal #61138
    blanch80
    Participant

    Thanks, but unfortunately it’s not for all events as we’re still doing some face to face, we only need to include the custom attribute on those events that are online.

    I’ve got it setup with the custom attribute in a template, a confirmation email that is selected as a template for the specific online events. This means they get the link to the online meeting in the confirmation email they get no problem, it would be good if that custom attribute was also in the iCal description.

    I don’t know if I could do it globally, as would the custom attribute then be in all iCals (both face to face and online)?

    I don’t know if there is a better way to do it, or if it is even possible to do for specific events?

    in reply to: Add extra information to iCal #61136
    blanch80
    Participant

    Hi,

    I’m hoping you Franky, or someone else, might be able to help as it’s getting out of my skill set now… 🙁

    What I want is to add some plain text, then a custom attribute after it, so it would be something along the lines of “The URL for the meeting is: #_ATT{TeamsURL}{null}”

    This would be underneath the event description that is included as standard.

    Hope someone can help.

    Thanks,
    David.

    in reply to: CSS per event #60671
    blanch80
    Participant

    Ignore this please Franky.
    Thanks

    in reply to: URL Parameters #60540
    blanch80
    Participant

    I’ve used the URL: https://learning.necsu.nhs.uk/upcoming-events/?eme_cat_filter=18 and it sets the filter in the drop down list but it doesn’t actually apply the filter, I still need to click the search button to apply the filter.

    The link above should filter the events so they’re only Microsoft Office courses.

    in reply to: URL Parameters #60538
    blanch80
    Participant

    Sorry, i wasn’t clear.

    I meant the filters on the [eme_events] page.

    I’ve got the page https://learning.necsu.nhs.uk/upcoming-events/ listing all upcoming events in a table with a category & date drop down filter & search button.

    I’d like to have a URL elsewhere on the site that links to this page but sets the category and filters it on load, without any other interaction. I can set the category no problem passing a parameter in the URL but the search button still needs to be hit.

    I was just wondering if this was possible some way?

    Thanks,
    David.

    in reply to: URL Parameters #60536
    blanch80
    Participant

    I can set the parameter using ?eme_cat_filter=18 on the end of the URL but need to know how to effectively press the search button as well!

    in reply to: remember mails #60513
    blanch80
    Participant

    That’s really interesting about the multiple mails in one go, I’m looking forward to trying it out!

    I’ve been using the send mails functionality and just sending reminder emails on a Monday manually for all events taking place in the following week – it’s great how you can select multiple events and just write one email then it goes for all.

    The main reason I ask is I’ve moved us over from another events plugin (events manager) which had that functionality but because your plugin offers more functionality, has a better interface (IMO) and runs quicker it was a no brainer to move over!

    in reply to: Cancellation timestamp #60512
    blanch80
    Participant

    Hi,

    It’s great that it already sends the cancellation email to the event owner, I’ve got that setup now and it works great.

    The main reason for this question I’d like to be able to do pull a report from the bookings table and be able to compare things like how long before an event did a person cancel, how long between booking and cancelling and if the release of new events influenced cancellations.

    Would it be possible to add that field as an option to add in the bookings table?

    Thanks,
    David

    in reply to: remember mails #60507
    blanch80
    Participant

    Hi Franky,

    I was just wondering if the reminder email functionality is something you’re planning on implementing?

    Thanks,
    David.

    in reply to: Cancelled bookings #60467
    blanch80
    Participant

    They do, sorry Franky – i missed that.

    in reply to: Add a comment manually #60463
    blanch80
    Participant

    New update works a treat, cheers Franky.

    in reply to: Add a comment manually #60459
    blanch80
    Participant

    Whoops. sorry! 🙂 and thanks.

    in reply to: Add a comment manually #60455
    blanch80
    Participant

    Thanks for this Franky.

    Custom field is:

    Field name: DNA
    Type: Checkbox
    Purpose: RSVP
    Required: No
    Searchable/Sortable: Yes
    Extra charge: No
    Field Values: “No”
    Field tags: nothing entered
    Admin field values: nothing entered
    Admin field tags: nothing entered
    HTML field attributes: nothing entered

    I’ve gone to edit a booking and after using the code above with the field name [eme_if tag='#_IS_ADMIN_PAGE' value='1'] Attendance check: #_FIELD{DNA} [/eme_if] I see attendance check on the edit form as you said I would.

    [eme_if tag='#_WAITING_LIST_ACTIVATED' value='1']
    <p align="center"><b>Please note this event is currently full. </p>
    <p align="center">Submitting the form below will place you on the waiting list for this event.</b></p>
    [/eme_if]
    <table class='eme-rsvp-form'>
        <tr><th scope='row'>First Name*:</th><td>#REQ_FIRSTNAME</td></tr>#_SEATS 
        <tr><th scope='row'>Last Name*:</th><td>#_LASTNAME</td></tr>
        <tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr>
        <tr><th scope='row'>[eme_if tag='#_IS_ADMIN_PAGE' value='1'] Attendance check: #_FIELD{DNA} [/eme_if]</td></tr>
    </table>
    [eme_if tag='#_WAITING_LIST_ACTIVATED' value='0']
    #_SUBMIT
    [/eme_if]
    [eme_if tag='#_WAITING_LIST_ACTIVATED' value='1']
    #_SUBMIT{Request to be placed on the waiting list}
    [/eme_if]

    When I right click on the column headers to show the DNA field in the bookings table it isn’t listed there to be able to be added to the view.

    I’ve downloaded the csv file and that is the same, it shows all fields available in the right click menu for the view, but DNA is not included.

    I’ve got Use attributes set as Yes in the General settings (not sure if this is needed), I can’t see any other option that might show the custom field in the list of available column fields.

    Hope you can help? I’ve looked at the documentation but can’t see what I’m doing wrong.

    Thanks,
    David.

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