anmari
Forum Replies Created
-
Forum: Plugins
In reply to: [amr shortcode any widget] MultisiteHi Chaplin, Just like in a non-multisite.
In a site, Drag the desired widget to the ‘widgets for shortcode’ sidebar, Save. Then use the shortcode eg: [do_widget id=meta-3] in a page.
Forum: Plugins
In reply to: [amr shortcode any widget] WP-Rocket and widgets for shortcodeHi Thanks for looking into it, and yes it does look like one could use the filter https://developer.wordpress.org/reference/hooks/dynamic_sidebar_params/ to add html styling. I’ll put it on the list.
Forum: Plugins
In reply to: [amr ical events lists] past events from todayAs per the help documentation linked above https://icalevents.com/support/documentation/shortcodes/#parameters, the example should have had a minus, so that it goes back a negative number and then only shows that number of periods bringing one to the current day
EG:
monthsoffset=-132 months=132
daysoffset=-365 days=365etc
Forum: Plugins
In reply to: [amr users] S2Members EOT Code – Display as a DateYes,
make sure eithera) amr-users-plus-s2member (has default formatting routines for S2member) is active – it will format auto eot as a datetime field with tz
OR
2) amr-users-plus is active – it has the extra date formatting routines so you can choose format, date, datetime etc in the “Configure list > Format ” section if the field in “find fields” has been specified as a Unix timestamp.
Forum: Plugins
In reply to: [amr users] Filtering on date not exportingHi truslie
I’ve just retested on date ranges and if I click on ‘CSV Filter’ (last button) it works for me, ie I only get the filtered shorter list exported.Please would you double check and/or email me screenshot or video of what you are doing and how it behaves for you : anmari@anmari.com
Forum: Plugins
In reply to: [amr users] Hide user email addressHi,
Currently ‘If then’ formatting logic dependent on another field requires a custom formatting routine. Formatting functions are ‘pluggable’. If this custom format routine exists (in theme or active site specific plugin) then it will be used to format the value. I’ve added an example to the ‘site specific’ download https://wpusersplugin.com/downloads/example-site-specific/Other info on coding own version: https://wpusersplugin.com/2645/format-any-field-any-way-you-wish/
Several people have asked about conditional display. of course everyone has different fields for the condition with different values and different details they want to hide. I’ve been thinking about a configuration add-on that would for a displayed field, allow one to choose the conditional field, specify values that allow display of the field, and define a ‘no display value’. Still in concept phase.
Forum: Plugins
In reply to: [amr users] Filtering on date not exportingIndeed! Will look into it and update.
Forum: Plugins
In reply to: [amr users] WP standard user list modifiedHi, in the settings in either ‘find fields’ or meta keys, there is a column ‘display in WP list’.
Tick and untick as you please, save.
Only the fields you want should then display in the WP user list.Forum: Plugins
In reply to: [amr users] Format Date FieldOK, actually all good. Should be fine with 4.32 – increased number for clarity.
Forum: Plugins
In reply to: [amr users] Format Date FieldActually revert back to 4.30 for now. Need to check something so may be awhile. Should be able to do that by deleteing and reinstalling as I have downgraded it to 4.30
Forum: Plugins
In reply to: [amr users] Format Date FieldYikes, thanks for headsup. New file, didnt upload properly. Update coming.
Forum: Plugins
In reply to: [amr users] Format Date FieldPlease update to both new versions just uploaded.
In field ‘nicenames’, specify the non standard date fields as type ‘date – ambiguous’.Then you will be able to choose formats in the ‘configure’ menus for your lists just like for the standard date formats.
For others: See https://www.php.net/manual/en/datetime.formats.php Dates that are too “ambiguous” (eg 23/12/2000 or 12-23-2000 will simply be echoed).
Forum: Plugins
In reply to: [amr users] Format Date FieldI’d need to make a mod so the plugin expects it, and then the question arises how many other punctuation forms should one allow for? Wonder why they didn’t use a standard?
I’ll have a look over the weekend.
Forum: Plugins
In reply to: [amr users] Format Date FieldForgot to say, you may need https://wpusersplugin.com/related-plugins/amr-users-plus/ to choose different date formats.
Forum: Plugins
In reply to: [amr users] Format Date FieldHi,
Please check using phpmyadmin how that date field is actually stored in your DB. Developers would not normally store a date like that because then the records are not sortable by that date field.
Developers normally store dates in ISO date format or (older in Unix timestamp – a number)
Once it is clear how it is stored in the DB, then we can look at what is needed. If it is stored in DB in YYYY-MM-DD format and just displayed as you indicate, then in the settings you can specify date format. The default setting will be your wordpress date format.
- This reply was modified 6 years, 4 months ago by anmari.