cefiar
Forum Replies Created
-
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Plugin is creating a strange directoryHave you tried forcing the theme options to save?
Dashboard->Events->Theme Options & hit Save Options.
See this post on the Time.ly forum, which explains the issue and a work-around till the theme and/or plugin authors can fix their side: https://time.ly/forums/topic/classp-summary-in-event-title/#post-147055
This is usually an issue with the theme, though some plugins do the same.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Strange line in headerSee this post on the Time.ly forum for details on why this happens, and a work-around you can use till the theme and/or plugin causing it is fixed: https://time.ly/forums/topic/classp-summary-in-event-title/#post-147055
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Passing event start to custom functionI haven’t played with setting up functions (Time.ly are currently documenting the way to do this with within a calendar child theme, rather than by editing the core code), but I’ve played a lot with twig.
You might try:
{% if expired( event.get('start') | raw ) %}Or:
{% set startevent = event.get('start') %} {% if expired( startevent ) %}Note: What is expired supposed to spit out? The
ifis expecting true/false only.Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] How to remove warning new version?I don’t know what the setting you need to set in the DB is, and most people have updated to 2.0 or 2.1 now. Time.ly themselves stopped supporting 1.10.* some time ago.
Leave it enabled in the settings then add the following CSS to your site:
.ai1ec-agenda-widget-view .ai1ec-event-location { display: none; }This should hide the location only in the agenda widget.
Note: Untested as I don’t use locations on my site.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Multiple Websites – Same CalendarYou can source all the calendar info from a single Google Calendar, or you can set up one calendar as the master, and have the other two calendars fetch off the master (using an ICS subscription).
Things of note:
1. Google fetches from a calendar once between every 12 to 24 hours, so there is always a delay. Also, new events in Google sometimes don’t update for an hour or so into its ICS feed.
2. You really don’t want Ai1ec updating hourly if you can avoid it, especially if you have a lot of events.
3. By default, only future events (based on time of fetch) are exported from Ai1ec in an ICS feed, so older events may not come across.
4. If the websites are on the same host, you may find that your webhosts firewall rules might block the site fetching data from itself (or even their local network, depending on their setup).Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Can I do this with this plugin?The answer is sort of.
You can set a start date for the whole calendar globally (no use for you), or passed through shortcode.
The issue is, the agenda-widget isn’t callable through shortcode, so you’d have to use a modified form of the main agenda calendar instead. This means you wouldn’t have the agenda view usable for a complete calendar.
FWIW: Importing from Google isn’t a problem.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Passing event start to custom functionThis will most likely depend on the twig code around it (eg: is it in a for loop, and what you are iterating in the loop), and which twig file you’re editing (as they all are influenced by where they’re called from).
eg: event-single.twig is a special case compared to the others, as it only displays one event at a time, whereas other views need to handle multiple events. This isn’t the only ones with differences however.
Have you got Keep old events ticked for the ICS feed in question?
The way Keep old events works is that when an event is deleted in the feed, the event stays around on the website.
Notes:
The way ICS feeds tend to work is that they don’t tend to show past events. Hence, they get “deleted” from the feed. This is why it’s hard to figure out the difference between an old event and a deleted event.
You might also try doing a manual “Refresh” as some people have had issues with the automatic refresh working.Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Permission to another usersYou might want to look at editing the user roles on your site using something like the WP plugin Capability Manager Enhanced.
http://wordpress.org/plugins/capability-manager-enhanced/
You can see a basic list of what permissions the default roles have at http://time.ly/document/using-calendar/roles-permissions-timely-calendar/
Can you get the events into .ICS format? The calendar supports importing events from .ICS feeds, so you could import it once, then delete the feed but not the events.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Widget TitlesIf this is just the widget:
Edit agenda-widget.twig and on line 48 change:
{{ event.get_runtime( 'filtered_title' ) | truncate | raw }}To:
{{ event.get_runtime( 'filtered_title' ) | raw }}Notes:
This applies to 2.1.5 and below. 2.1.6 (when released) will change this twig code, though the principle (removing thetruncatefilter) will be the same.
agenda-widget.twig is in …../all-in-one-event-calendar/public/themes-ai1ec/vortex/twig/ though the best option here really is to create a calendar child theme (see for info), this might not be worth you doing till 2.1.6 is released, since a number of functions that twig files use will change.
You may need to clear the calendar cache directory if the change doesn’t appear to work. To do so, you need to delete the contents of …../all-in-one-event-calendar/cache/twig/ (which will contain a bunch of directories). The cache will automatically rebuild and your change should then be visible.Are you sure you’re editing the right file? I would not trust that the WP plugin editor can handle this (the V1.10.* plugin is > 1.5MB split over heaps of files).
Best bet is to download the file using FTP, edit it locally, then upload it again.
Either that, or simply delete the plugin dir (the calendar data is in the database, not the files) and then install a later version of the plugin.
Note: Always advisable to back up your complete database and files before doing any update, just in case.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] What are these and how can I delete them?1. Your theme is adding stuff to the start of pages, and this has been known to cause issues.
eg: The start of the HTML source of that page has 5 blank lines before the
<!DOCTYPE html>header.<!DOCTYPE html> <!--[if IE 9]><html class="no-js ie9" lang="en-US"><![endif]--> <!--[if gt IE 9]><!--><html class="no-js" lang="en-US"><!--<![endif]-->2. Ai1ec has known conflicts with Visual Composer. You can’t use an Ai1ec shortcode inside a Visual Composer area.
You should be able to put the calendar in a non-Visual Composer area (eg: a non VC page or sidebar) and it should work.