anmari
Forum Replies Created
-
Forum: Plugins
In reply to: [amr shortcode any widget] Display only one categoryThat’s not in my source code. Ask on the forum of the widget plugin you are using.
Forum: Plugins
In reply to: [amr users] list is not savedgood to hear it’s fixed – it is way better to be up to date. Sometimes there are backwardly incompatible changes (ie the way PHP handles things changes completely and code that works on 7 will give different result on lower versions). It is usually not worth it (or vey expensive) to maintain compatibility with old versions which is why wordpress doesn’t do 5.x anymore.
It is therefore imperative that one stays reasonably up to date. Your wordpress setup should have been warning you somewhere that you are on old PHP and nudging you to update
See https://www.php.net/manual/en/migration70.php and
https://www.php.net/manual/en/migration70.incompatible.php
and
https://www.securityweek.com/wordpress-warn-outdated-php-versions#:~:text=In%20an%20effort%20to%20improve,using%20PHP%205.6%20or%20above.Forum: Plugins
In reply to: [amr users] list is not savedWell you certainly shouldn’t be having performance issues. Your php version could use an upgrade. WordPress requirement is 7.4 or greater https://en-au.wordpress.org/about/requirements/.
I’m not getting the errors you are getting, although I haven’t tried to recreate on a totally clean install.
The hook_suffix is an odd one – googling that doesn’t shed much light. I found this https://wordpress.org/support/topic/php-notice-undefined-index-hook_suffix/ which ended up calling it a core bug, but I’d hesitate to say that – those usually get picked up. maybe upgrade the php version and see if that one goes away?
Re the other 3 seem to be either a parameter that is empty when it should not be or a global option that doesn’t have the expected data. Happening in admin screens and to do with the main list of userlists where names of the list are stored. SAVE the settings in the overview screen and see if that makes a difference.
I suggest upgrade the php. If error still occurs after upgrade, then reset the stored amr-user options. There is a button in settings to do that. Or you can just delete all amr% in the wp_options table and let it reset to defaults. The see if it happens with just the basic default list. save the settings in the overview screen again.
Let me know how you go please.
Forum: Plugins
In reply to: [amr users] list is not savedThat sounds very odd. It sounds like you mean that the list configuration is saved, the list runs correctly but then after that the cached data is not available, so the list shows empty the next time it is run.
This could be a few things, from database errors to performance, to cache being constantly rebuilt due to updates.
Is this a live site? How many users and usermeta?
What recache settings are you using ? Just to see what is going on, try setting it to cache on manual request only, or hourly/daily. See https://wpusersplugin.com/3458/cacheing-amr-users/Please also check
- the cache log – that may shed some light on what is happening
- the system logs – are there any database errors
and advise your stats from …wp-admin/admin.php?page=amr-users&tab=userdb
Forum: Plugins
In reply to: [amr ical events lists] languageThe plugin does not do on the fly, auto translations. It will show the content of the ics file.
The plugin does allow multiple languages of the text that it itself generates – it looks like you already know that as your example page is not in English.
The only english there I see looks like content from the moon phases google calendar. It is possible that google either has translated versions of those calendars in which case you should use those, OR that google translates the text in it’s calendars ‘on the fly’ – I’m guessing that is what it does.
In summary while the plugin will look text strings of text generated by it, the plugin does not call google translate or any other auto translator for ics file content.
There has not been any call for that as usually people are using ics files that are already in their chosen language.
Forum: Plugins
In reply to: [amr ical events lists] Description is a linkNow updated
Forum: Plugins
In reply to: [amr ical events lists] Description is a linkThank you for bringing that to my attention. I’ll have a fix up soon.
It’s unique to an unescaped colon in the description being converted to %3A and that breaking the url so it was getting treated as a relative url
Forum: Plugins
In reply to: [amr users] Issue with old Stripe cancel button with ultimate membership prohttps://wordpress.org/support/plugin/ultimate-member/ for the free version
Forum: Plugins
In reply to: [amr users] Issue with old Stripe cancel button with ultimate membership proThis has nothing to do with this plugin.
Forum: Plugins
In reply to: [amr ical events lists] Sort order of events per day depending on calendarHi amay,
The plugin sorts by event date and time. If those are exactly the same, then I think it would be the order they were fed into array, most likely in the order that the calendars were specified.
It does also have to cope with modifications to events which come as a separate VEVENT in the file, and get applied to the array of events. Maybe that does something? no idea.
If you have programming skills there are two filters you could try use to influence the sorting of all day events on a given day.‘amr_events_after_sort’
‘amr_events_after_sort_and_constrain’They pass the full array of events and expect to get similar full array back. You’d have to work carefully to make sure you don’t mess the arrays up.
Forum: Plugins
In reply to: [amr ical events lists] Table problem with Avada ThemeUse a browsers ‘inspect element’ to see what that theme is doing to the table and then override the css as necessary
Forum: Plugins
In reply to: [amr ical events lists] Change all day textYou could ‘translate’ it
https://icalevents.com/3445-an-accent-for-your-website/
https://wpusersplugin.com/8519/change-displayed-text-plugin-theme/OR use css to swop out the content of the ‘allday’ class.
https://css-tricks.com/swapping-out-text-five-different-ways/Forum: Plugins
In reply to: [amr shortcode any widget] check if shortcode existsThe shortcode_exists function tells you if a shortcode has been registered. https://developer.wordpress.org/reference/functions/shortcode_exists/ So the code would be
if ( shortcode_exists( 'do_widget' ))The second is an error message. I’d say it looks like you have a ‘do_widget widgetname’ in a page or post somewhere and widgetname has not been dragged into any sidebar. Either drag widgetname to a sidebar, or remove the shortcode text from the page or post.
What are you actually trying to do? From the sound of it, you may find this helpful: https://wordpress.org/plugins/amr-shortcodes/
Forum: Plugins
In reply to: [amr shortcode any widget] Issue with AMPIt looks like the extra non theme sidebar is not available at that stage? Perhaps the way or when the AMP plugin or theme you are using loads or does not load parts of wp ?
Not much this plugin can do about that. The sidebar is added on the filter ‘theme_mod_sidebars_widgets’ so that needs to be applied or run by the theme.
Forum: Plugins
In reply to: [amr users] Picture URL is IDHi Scott,
IF the image id is a wordpress post id, then set the field type to ‘Number Post id’.
Then if you have amr-users-plus a number if formats are provided if field is a post id. These include a range of image sizes See https://wpusersplugin.com/wpusers/wp-content/uploads/2020/12/postid.jpgIF the image id is NOT a wordpress post id, then code would be required to tell it what to do with that number and how to fetch the image. A number of add-ons exist for various member and registration plugins to help integrate them, and if your plugin is not one of them and is reasonably widely used, I’m happy to try integrate it.