Brian Hogg
Forum Replies Created
-
Thanks @stevefwdedu for the information!
We do have a related open issue and I’ve added a comment with your notes:
https://github.com/gocodebox/lifterlms/issues/1861
I’m hoping if we are able to solve the problem of
llms_unenroll_student
removing students from Courses they should still have access to via another membership, it’ll also solve the problem via actions like cancelling an order for a membership as per this ticket.Feel free to follow the issue on Github and we’ll try to make a note here when a fix has been made available.
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Getting rid of bullet pointsGlad you’re enjoying the plugin @yfbchelp, and glad you were able to find some styling (CSS) that suited your needs!
As a note the pro version does include several designs which might be of interest, several of which are a bit beyond just adding some styling (ie. the full calendar view):
https://demo.eventcalendarnewsletter.com/the-events-calendar-shortcode/
All the best!
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show organizer Name in listThanks! I’ll mark this thread as resolved, and will let you know if the organizer information is added in a future version.
Have a great day too!
Forum: Plugins
In reply to: [Event Calendar Newsletter] blurry thumbnailsThat’s great to hear!
If you’re happy with the plugin and support, we’d love it if you could take a moment to write a quick review. It’d be greatly appreciated ??
Forum: Plugins
In reply to: [Event Calendar Newsletter] blurry thumbnailsHi @ronevansspace !
In the documentation there’s an example of adding the HTML for the image tag, and using the {event_image_url} tag within it. For example:
<img src="{event_image_url}">
In your case you’re also wanting to add in the width/height:
<img src="{event_image_url}" width="150" height"150">
This would need to be done in the “Text” tab of the custom editor since if you put it in the “Visual” tab, it’ll just literally write <img… instead of showing an image.
Hope that clarifies! ??
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Show organizer Name in listHI @yaelduckwen !
Currently there’s no option to show the organizers for an event through a shortcode option. Since there can be multiple organizers, some may want to add links to view events organized by each organizer, etc, this would require some customization.
With the pro version of The Events Calendar Shortcode & Block, you can take one of the designs and easily customize it to add in the organizer name(s). For example with the Default design:
https://eventcalendarnewsletter.com/events-calendar-shortcode-pro-options/#customize-default
Then you can add something like this if you just have one organizer where you want the name to appear:
<?php echo tribe_get_organizer(); ?>
or something like this if you might have multiple:
<ul class="ecs-organizers">
<?php foreach ( tribe_get_organizers( false, -1, true, ['event' => get_the_ID() ] ) as $organizer ): ?>
<li><?php echo $organizer->post_title; ?></li>
<?php endforeach; ?>
</ul>Hope that helps!
Forum: Plugins
In reply to: [Event Calendar Newsletter] blurry thumbnailsHi @ronevansspace !
The size of image used can be adjusted under Event Calendar Newsletter > Settings. There’s a note there about re-generating thumbnails, but there’s a number of reasons it might appear blurry. For example your hosting might be automatically compressing the images, or a plugin or the theme on your site doing the same.
As for customizing the HTML, you could use the
{event_image_url}
tag when creating a Custom e-mail design:https://eventcalendarnewsletter.com/docs/tags/#event_image_url
So you could use this to manually enter the
img
tag with the width/height added.Hope that helps! If so feel free to mark this conversation as resolved ??
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] How can I view the year of the event?HI @ilgrizly,
Thanks for the additional detail!
You can have the year display by editing the “Date without year” format under Events > Settings, Display tab, then under Date & Time edit the “Date without year format” to include a year ie.
F j, Y
This format is also used by The Events Calendar Shortcode & Block to determine how the dates should be displayed.
Otherwise to have the date and time display exactly how you mentioned above, with the year after the time range etc, would need to customize the output (using PHP code). This is beyond the support we’re able to provide, and the code would need to account for several scenarios like an all-day event, an event with the same start and end time, events across multiple dates, and more.
Hope this helps!
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] edit code for a good graphic designHi @ilgrizly ,
While you can edit the code of the plugin directly, it’s not recommended since any updates will overwrite your changes. There are many actions and filters available which you can potentially use, but guidance on writing code is beyond the support we can provide.
There is a video I made on using actions and filters to customize a plugin in case it’s helpful:
Cheers!
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] How can I view the year of the event?Hi @ilgrizly !
I’m not sure I understand the question. Are you looking to change the date format of our
[ecs-list-events]
shortcode, without modifying the Date Without Year format? If so, since we are using the same date format provided by The Events Calendar, the “Date Without Year” format would currently need to be changed in order to have it display how you’d like.If you could confirm what you’re looking to do we can confirm.
Cheers!
Hello! Brian from Event Calendar Newsletter here.
We were previously using the following as a starting point to fetch the events, but classes like
EventM_Event_Controller_List
no longer exist. Is there a suggested alternative to fetch events between two dates and get the details (categories, organizers, or even the venue sinceEventM_Factory_Service::ep_get_venue_by_id
also no longer exists)?$event_controller = new EventM_Event_Controller_List();
$query = apply_filters( 'ecn_fetch_events_args-' . $this->get_identifier(), [
'meta_query' => [
'relation' => 'AND',
[
[
'key' => 'em_start_date',
'value' => $start_date,
'compare' => '>=',
'type' => 'NUMERIC',
],
[
'key' => 'em_end_date',
'value' => $end_date,
'compare' => '<',
'type' => 'NUMERIC',
],
],
],
'limit' => -1,
'post_status' => 'publish',
], $start_date, $end_date, $data );
$events = $event_controller->get_events_post_data( $query );Thanks!
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] How can I view the year of the event?Hi @ilgrizly !
If you mean showing the year of the event in the output of the
[ecs-list-events]
shortcode, that is determined by the “Date without year format” setting for events happening this year. There you could make the format the same as the “Date with year format” or something likeF j, Y
to show the year.Alternatively, with the pro version, you can modify the template to define a format with the year.
Hope that helps, any other questions let us know!
Hi @aracelil!
I’m looking to make it so when someone edits a new page with Elementor of a certain post type, I can insert a template for them automatically. There is a template loading automatically in the block editor, but I’d like to replace this with an Elementor template when edited with Elementor. This will save the user from having to add a template manually and delete the block content added via the
template
parameter ofregister_post_type()
.Is there is a way to insert a saved Elementor template automatically when the custom post type is first edited with Elementor, or even when a new post of a certain custom post type is created?
Forum: Reviews
In reply to: [The Events Calendar Shortcode & Block] Great and usefulGlad you’re enjoying the plugin @hikingtom and thanks for the review! ??
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Conflict with Widget OptionHi @mandynepeta !
The shortcode does have all of the options that the block has (the block only has a small part of the options displayed by default), so using the shortcode instead would be a good workaround. Behind the scenes the block uses the shortcode to display the events. If the developers of Widget Options are not able to replicate the issue it may be something unique to the data or set up of your site.
Is there a particular option you’re using in the block that you can’t find as a shortcode option? The full documentation on available options can be found here:
https://eventcalendarnewsletter.com/events-calendar-shortcode-pro-options/?free=1
If you let me know which one(s) are missing I can try to point you in the right direction ??
Cheers!