anmari
Forum Replies Created
-
Forum: Plugins
In reply to: [amr ical events lists] filtering events in ICS calendarThey are related but different.
CALENDARURL.ics?category=bananas will only work IF the application CALENDARURL supports that kind of event selection as per the specification https://icalendar.org/iCalendar-RFC-5545/3-8-1-2-categories.html.
Some applications just don’t offer CATEGORIES.
https://MYPAGEURL?category=bananas where https://MYPAGEURL is a wordpress website running amr-events plugin and has events created as custom post types should work to serve up just those custom post type events with that category, similar to this where taxonomy sport is used https://test.icalevents.com/agenda/html5-agenda/?sport=random. However it won’t work to filter categories from the ics feed, only for events created in wordpress (it uses the wp query). See https://icalevents.com/5261-categories-from-ics-files/
Forum: Plugins
In reply to: [amr ical events lists] refresh nocacheHi, Re shortcode parameter usage: You can also see examples of shortcode parameter usage lower on that page that you linked to. See
https://icalevents.com/support/documentation/shortcodes/#examplesAlso it is just like any other shortcode parameter. See https://codex.wordpress.org/Shortcode. Although I see there they refer to “attributes”. Hmm – parameters makes more sense to me!
Re your second question, I assume you mean that you have an ics url to use in the shortcode? ‘Url access’ means you are accessing the events through a url and not from within your wordpress database as one would when using https://icalevents.com/downloads/amr-events/
Re refreshing every time the page loads, bear in mind that the provider of the url
- may not update the ice file instantaneously. If you think it is not updating, save the file from the browser & open it in a text editor to check
if your update is actually in the latest version or not. - may place limits on the fetches. Read https://icalevents.com/1814-refresh-calendar-if-new-dates-not-showing/
And yes, you can of course request the plugin to fetch the url each time and it will try, if it times out or gets any other problem, it will use the last fetched version.
Forum: Plugins
In reply to: [amr shortcode any widget] Compatibility with WP 5.4yes, its a very basic plugin
Forum: Plugins
In reply to: [amr ical events lists] filtering events in ICS calendarRe [iCal CALENDARURL.ics?category=bananas] . It could if the application serving up the url would then return only the events in that category (nothing to do with this plugin)
Alternatively try
https://icalevents.com/support/documentation/shortcodes/#parametersForum: Plugins
In reply to: [amr users] Custom List (Templates? Configurations?)You might find it helpful to look at the various settings pages and play around with them. You’d notice tools to add new list or copy existing and then configure any list. Browsing the documentation may also help https://wpusersplugin.com/support/amr-users-documentation/
NO on elementor. The plugin does however have extensive css selectors in the html and 2 types of html (table & divs) so you should be able to achieve a lot of customisation with that.
As far as customising the shortcode goes. again depends what you mean. I’m going to assume you mean ‘parameters’ See https://wpusersplugin.com/3621/parameters/
I’d suggest using the settings rather so that your changes are visible all in one place.Forum: Plugins
In reply to: [amr users] No AccessMake the list public in the settings, or be logged in as admin.
Forum: Plugins
In reply to: [amr users] Trigger Caching on Ultimate Member Profile SaveIf you talking about updates to the extra um table that um creates, then you’d have to look into the um code and see if they offer an ‘action’ to be added when they do an update. (like the wordpress actions on user updates). Unlikely they do.
If you talking about the um data in the standard user meta table, the plugin settings will allow to request an update. Please note that this is not immediate – first it schedules a request. This is to avoid say one users updates of which many fields may be updated, triggering a flood of updates. The uypdate will happen a little later on next page refresh, like wp batch jobs do.
You may be better off choosing a schedule that suits and offering a manual refresh link on the list (see settings).
Forum: Plugins
In reply to: [amr ical events lists] English ordinal numbersPlease explore settings as per https://icalevents.com/4386-dates-times-formatting/
Forum: Plugins
In reply to: [amr ical events lists] Some strange links appearing atop contentYou too where ever you are! Thanks for reporting back.
Forum: Plugins
In reply to: [amr users] First Role OrderHi Peter, I neglected to mention (in case anyone does not have the addon) that the ‘roles’ field is added back in as field by amr-users-plus, since the default generic logic in amr-users takes that usermeta array down to the individual elements (roles) in wp_capabilties, creating a field for each one.
IE: to see and use the roles as a list of roles, one needs to activate amr-users-plus.
Forum: Plugins
In reply to: [amr users] First Role OrderHi Peter,
The array field is also listed under “nicenames” by the plugin. As mentioned above the plugin calls it βrolesβ. It will list all the roles that a user has as found in the wp_capabilities usermeta record.
Forum: Plugins
In reply to: [amr ical events lists] Some strange links appearing atop contentApologies – looks like a temporary debug statement was left in somehow. Updated version going up soon.
Forum: Plugins
In reply to: [amr users] First Role OrderHi Peter,
In the database it is in the usermeta table with meta_key yourprefix_capabilities. Because everyone calls it roles, this plugin calls it ‘roles’. Arguably wordpress should have called it wp_roles π
This plugin will also list each role separately as a field using yourprefix_capabilities-rolename eg: wp_capabilities-authorEG:
wp_capabilities a:2:{s:13:"administrator";b:1;s:13:"bbp_keymaster"...SO
1) check in your …/wp-admin/admin.php?page=ameta-admin-meta-keys.php that you have NOT excluded “yourprefix_capabilities” DO exclude any unneeded meta keys to simplify the next screen. Click Update.2) THEN go to …wp-admin/admin.php?page=ameta-admin-nice-names.php and click ‘find new fields’ then scroll down. You should find both ‘roles’ (a list of all roles assigned to each user) and ‘fields’ for each role that each existing user has.
Forum: Plugins
In reply to: [amr users] First Role OrderHi peter,
a bbpress role is essentially still a wp role, a custom wp role. Using a plugin you can assign it wordpress capabilties. WordPress itself doesn’t care about the order.
A better solution might be to use the ‘roles’ field, not the ‘first role’. ‘Roles’ will show all the roles that a user has and you can then include or exclude by those ‘roles’.
The ‘first role’ is a dummy field created by the plugin and is literally what the db has as the first element in the capabilities usermeta.
It is there for historical compatibility. Somehow in your wp setup the person probably was assigned a bb press role before being assigned a wp role. If you really do want to use the first role you could try via phpmyadmin copying the usermeta array value for a similar user who has the wp role first then pasting that into the user who didnt get a wp role assigned. Do this carefully, make sure you have a backup.
For the future you then need to ensure that the way you have setup your plugins or converted your users, they will have one of the subset of roles that you regard as ‘wp’ as the fso called ‘first role’.In my opinion, it would be better to not rely on the order the roles are stpred in the db and set up the role definitions in a way that suits your functionality and reporting requirements.
Forum: Plugins
In reply to: [amr shortcodes] Feature request: shortcode substitutionThanks Joy, however i imagine the same problems with parameters would arise which ever way one tried to do it. Plugins with similar features tend to work differently so writing code to generically do this would basically end up being some kind of search & replace code anyway.
- may not update the ice file instantaneously. If you think it is not updating, save the file from the browser & open it in a text editor to check