anmari
Forum Replies Created
-
Forum: Plugins
In reply to: [amr users] List of all my usersYou could use this plugin to create either a table list or html5 style list, choose avatar, name & contact number fields and what ever else you want to display – make sure you have test data.
You could then use CSS to style it with colour & style (It has a lot of css selectors so you can do pretty much whatever you like.
Then re shortcodes, you could read the instructions
either https://wordpress.org/plugins/amr-users/#installation or
https://wpusersplugin.com/support/amr-users-documentation/Forum: Plugins
In reply to: [amr users] ErrorHI I don’t have ability to do that. From googling I found these
https://wordpress.org/support/topic/to-delete-a-post-at-wordpress-org-forums/
https://wordpress.org/support/topic/removing-post-from-support-forum/
https://wordpress.org/support/topic/how-to-remove-delete-link-in-the-wordpress-forums/
https://wordpress.org/support/forum-user-guide/faq/#will-you-delete-my-post-or-my-link-within-my-postIt seems that you’d have to contact a moderator https://wordpress.org/support/guidelines/#contacting-the-moderators however it would appear that they probably would actually do anything about it.
- This reply was modified 5 years ago by anmari.
Forum: Plugins
In reply to: [amr users] Ultimate Membership Pro Log in Form issuesPlease report this under the ultimate member plugin, not here.
Forum: Plugins
In reply to: [amr users] ErrorRE Link: the best way is to add your own linktype with it’s own name. That way it is always very clear in the settings where the link is coming from. See the two linktype filters (use both) on the filters page https://wpusersplugin.com/2940/filters/ and https://wpusersplugin.com/3284/example-site-specific-add-on-using-filters/
RE message: in researching further situations where that message may occur, it appears to be as suspected, somehow your setup as an old ‘row per page’ scalar in the db, the ‘update’ did not update that. So then php is upset that a scalar is then being treated as an array (rows per page per list).
I have trawled through the code, trying to check and detect anywhere it maybe unhappy and explicitly force the variable to be an array. Since I’m not getting that message, despite having all debug on etc, hard to be sure I’ll have removed it, but at least I have a better understanding of it now.
I’ll put an update up soon.
Forum: Plugins
In reply to: [amr users] ErrorHi, the rows per page should not need to be the same. I frequently have different values when testing.
Try saving ‘General settings’ first, and then going back to the overview settings and making the rows per page whatever you want.Re edit user link:
In the Configure page, on the ‘Format’ tab, choose linktype ‘edit user’ for the user_name field.Forum: Plugins
In reply to: [amr users] ErrorHi Filip, it looks like that is something to do with ‘rows per page’. There was a settings change related to that. Please would you resave, click update on all your settings pages and see if the message does away?
I’m not seeing that message anywhere.
Forum: Plugins
In reply to: [amr shortcode any widget] Removing the markerGlad you fixed it because I have almost no idea what you are talking about – I’m guessing some output from the widget?
If any one else ends up here, there is info here: https://wordpress.org/plugins/amr-shortcode-any-widget/#if%20you%20have%20an%20undesired%20styling%20effect%20with%20the%20default%20settings%3A
Forum: Plugins
In reply to: [amr users] Refresh link disappeared from my listsShould be resolved in latest update. Remember to refresh browser & any server cache if necessary.
Forum: Plugins
In reply to: [amr users] Refresh link disappeared from my listsYup – that’s it, same thing – the code for the live query version doesn’t have it/need it. I’ve fixed & tested locally, just going to cross test on some remote sites
Forum: Plugins
In reply to: [amr users] Refresh link disappeared from my listsI’m on it! Pretty sure its to do with bringing some of the code forward to this release. We soon not going to need that cache & refresh, and so it wasnt there in that revised tested code. I’ll have it back soon.
- This reply was modified 5 years, 1 month ago by anmari.
Re date delta, please describe your intended use.
The ‘ago’ and ‘age’ formats for a date field will calculate and display the difference (the delta) between ‘now’ – the date & time that the list is being displayed and the date& time in the field value.
RE custom addon. To do this successfully you need to have programming skills and some knowledge of wp filters.
See https://wpusersplugin.com/3284/example-site-specific-add-on-using-filters/ and and https://wpusersplugin.com/2940/filters/
Use filter amr_get_fields – ($keys) and a pluggable function
and pluggable function amr_users_format_value – ( $text, $fieldname, $originalvalue, $user)Glad to hear there was no problem, and yes if you say the field contains values that it doesn’t then when it tries to format the field, it won’t be happy. Worse here because if expecting an ‘ambiguous date’, php tries it’s best to make a date from the text.
You can see other date format options (as well as additional format options for other fields) in the format dropdown after telling the plugin what type of field a field is. In some cases, it will know already especially if using a third party addon.
Some additional format examples:
https://bp.wpusersplugin.com/user-list-3/
https://bp.wpusersplugin.com/user-list-files-urls/
https://bp.wpusersplugin.com/user-list-table/Re date delta:
if one of the dates is ‘now’ then there is already ‘ago’, or ‘age’
if want delta between 2 fields, it could be done with a custom addon – create a fake field which holds the delta.RE your error messages above. We need to get just the errors and ALL the error for one user for a fieldtype Unix time stamp and format date translateable.
I see now that the ‘1’ meant that there would have been a dump of the tiemzone object ABOVE that error message instead of where the ‘1’ was. I’ll fix that in next update going up soon. BUT that is just how the error message is being output, doesn’t help to understand WHY a date creation from timestamp is failing.
FieldType must be Unix timestamp if that is what is in the data.
I’ve played around and cannot recreate the behaviour you are seeing.
Without the plus addon, one should be able to say it is a unix timestamp and then format as ‘date translateable’. Adding the ‘plus’ addon into the mix should not have changed that. It would provide more format options. It sounds like the system is not getting a good timezone or the data fields are corrupt?
That first error message should have dumped a whole timezone object, not just a ‘1’, so that’s weird.
These s2member date time fields here https://s2m.wpusersplugin.com/
are all unixtimestamps formatted in various ways.So that makes me think maybe it is something else .
Please go to …wp-admin/admin.php?page=amr-users&tab=userdb and paste the info from there. In particular your php version as per wordpress should be 7.4 or higher https://wordpress.org/support/article/requirements/
You could also explore the data whether some records are corrupted? Force a timezone update again, If the message is not happening for all users, try excluding the users with the data that causes the problem or force a data update on those fields to see if that fixes it.
The ‘Failed to parse time string’ was presumably when you had the field type NOT set to unix timestamp – system then complaining that it is NOT a date format accepted by php.
Please let me know how you go.
- This reply was modified 5 years, 2 months ago by anmari.
Please check your general timezone settings at ….wp-admin/options-general.php
Please set a city timezone if not set.