anmari
Forum Replies Created
-
Forum: Plugins
In reply to: [amr shortcode any widget] Determining Widget IDIt’s a free plugin. You are expected to use the info already provided.
On the faq page it literally has “how to identify the widget”
See https://wordpress.org/plugins/amr-shortcode-any-widget/#how%20to%20identify%20widgetIf you look at widget in the widget area, the id is there. It says:
“To use as shortcode with id: [do_widget id=meta-6]”Forum: Plugins
In reply to: [amr shortcode any widget] Great plugin, but… And one buggy thing.1) if you want to find a plugin that you use frequently, add them to your favourites, then you just enter you wp id and those plugins are listed. you can also try using ‘amr’. Given the generic nature of ‘shortcode’ and ‘widget’ I doubt there is much else I can do other than giving it my prefix.
2) Buggy? I assume you mean annoying not ‘bug’ ? There are no bugs that I’m aware of.
The shortcodes to use are available inside each widget settings in the special sidebar. If you open it up there is a section where it explicitly tells you:
“To use as shortcode with id: [do_widget id=meta-3]”
In wp 5.8 widget block editor if you click into the widget this info is also displayed.3) I’m not sure what you mean by the name of the shortcodes? Possibly you mean the wordpress widget title field? which is maintained in the same place. I prefer not to have multiple settings places- it makes more sense to me to keep it all in one place.
Forum: Plugins
In reply to: [amr shortcode any widget] Widget showing up twiceI suggest you take this up with theme support then, not here.
As you said “i’m here to fix the theme…”
and as I said
“I’m guessing – it looks like your theme is including the amr widget area (or you have done something to do that) as the 4th column. I see the other ‘columns’ there are lablelled ‘-3’ – maybe only intended to be 3 columns?Then the widget is included again further below. Take it out of one of the areas or deactivate this plugin,or fix the theme”
Forum: Plugins
In reply to: [amr shortcode any widget] Widget showing up twiceHi, my plugin is used when you want to use a widget in a shortcode on a page or post. It uses a dummy widget area to do that. That widget area should not be used in a theme template.
I’m guessing – it looks like your theme is including the amr widget area (or you have done something to do that) as the 4th column. I see the other ‘columns’ there are lablelled ‘-3’ – maybe only intended to be 3 columns?
Then the widget is included again further below. Take it out of one of the areas or deactivate this plugin,or fix the theme
Forum: Plugins
In reply to: [amr users] plugin amr-users problemHi, in looking at the code it looks like you have no fields selected for display in a list? that’s the line 420 error and the next.
Which is no excuse, the plugin should cope with the unexpected.
It’s possible that maybe the settings got corrupted?
For now, go through the settings and click save/update on each.
Forum: Plugins
In reply to: [amr ical events lists] Filter by categoryPlease see https://icalevents.com/5261-categories-from-ics-files/.
Better to filter the category in the url so plugin does not have to parse the whole fileForum: Plugins
In reply to: [amr ical events lists] Looking back from today to date XAs per https://icalevents.com/support/documentation/shortcodes/#parameters you can specify a start of date x.
It does seem like a rather odd thing to do, over time that will get further & further in the past. There is no way to say ‘between now and date x’. There do need to be limits (like total numbver of events or total number of days/months) so there is a risk that at some point only the old posts from day x will show OR that you will have a very long list.
Surely something like a negative offset (eg: always 12 months back) would suit better?
- daysoffset=n (number of days – can be negative, useful if you want to show some history, eg start from 7 days ago?)
- monthsoffset=n (number of months – can be negative, will override days and hours)
- This reply was modified 4 years, 10 months ago by anmari. Reason: clarification
Forum: Plugins
In reply to: [amr ical events lists] amr ical, show up coming eventsFabian, I suspect you are getting difficulties here because in the screenshot you appear to be using the ‘Upcoming event calendar’ widget which is intended to be a block calendar widget. It has a bunch of defaults that suit that.
BLOCK calendars will show all events in the month being shown including past events. You are then trying to force it to be a list by specifing listtype 7 which is intended to be for people using amr-events and to show upcoming recurring times for an internal event.
PLEASE use the widget ‘upcoming events list’ rather if you do NOT want a black calendar as that appears to be more suited to your needs. By default it uses listtype 4 & does not have navigation.
Forum: Plugins
In reply to: [amr ical events lists] amr ical, show up coming eventsHi,
It looks there were past events in the file and in the screenshot you had navigated to June, so yes if there were June events in the file they would show.Most lists by default show future events starting with current date. Some lists like the monthly calendar (or if the time period is specified in months), will show any past events in the current month too.
The widget listtype (4) shows events from the current date by default.
IF navigation like show_month_nav=1 show_look_more=1 pagination=1 is shown, then users can navigate to past events if they exist in the ics file.
So one could simply NOT have any navigation that would let people click to old events. IE show_month_nav=0 show_look_more=0 pagination=0
Alternatively Events are displayed with classes like ‘future’, ‘inprogress’ or ‘history’ so one could hide or grey out past events.
See parameters here:
https://icalevents.com/support/documentation/shortcodes/Demo of widget listtype here https://test.icalevents.com/agenda/widget-standalone/
Demo of listtype with navigation https://test.icalevents.com/other-testing/ics-tes/It looks like you have deleted the old events from the ics file.
Forum: Plugins
In reply to: [amr ical events lists] amr ical, show up coming eventsHi Fabian,
1) check for the listtype cache settings in hours – has it refreshed from google?
2) check in your system log whether the http request is timing out or not. If yes see under settings, advanced, you can extend the http timeout
3) please post your ics url and/or check it yourself by opening in a text editor, whether the new events are actually in the file. Are the new events in the file
4) In the screenshot you posted you are showing June events. Are your new events in July?Forum: Plugins
In reply to: [amr ical events lists] How do you deregister this plugin’s styles?glad you found it
Forum: Plugins
In reply to: [amr ical events lists] Query String Errorgood luck informing the host that actually no it was not compiled. If you looking for a new host, we’ve been using icdsoft for well over a decade.
Forum: Plugins
In reply to: [amr ical events lists] Query String ErrorMy php info says in the Calender section:
Calendar support enabled
Does yours?
Forum: Plugins
In reply to: [amr ical events lists] Strike through for cancelled eventsForum: Plugins
In reply to: [amr shortcode any widget] CompatibilityYes it is.
Gosh I really miss when wordpress.org expected the users of free plugins to contribute to to the testing with the ‘works on v x.x’ button! 😉Always a good idea to test all updates on a dev system and not just apply them live anyway.