room34
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Function _load_textdomain_just_in_time was called?incorrectlyThis is happening with a bunch of plugins because of changes that were made in WordPress 6.7. (Kind of ironic that it’s happening in one of Automattic’s own plugins, but anyway…)
These are just warnings and shouldn’t really break anything, but the plugins’ developers should be made aware that they need to update their code to address the issue. I imagine the WooCommerce team is already well aware of the situation, but if you have similar messages about other less widely used plugins, you might want to contact their developers and let them know.
If these messages are displaying for you on a live site though it means you have debugging turned on, which is probably not a great idea. Make sure
WP_DEBUG
is set tofalse
in your wp-config.php file.@macmanx The problem occurred on three different sites, running different themes and plugin sets. But I did also then test it with Twenty Twenty-Five and no plugins active, and it was still happening. (I’m a developer, I know to test for conflicts.)
I also submitted this as a ticket in the Trac so I’m mainly watching it there, but I wanted to post it here to see if anyone else is encountering this issue.
Forum: Plugins
In reply to: [Custom Access Roles] Custom Access Roles DBNo,
caroles
is the text domain prefix for the plugin. There’s an entry for each defined role, not for each user.I would not recommend using SQL for this unless you’re trying to work with the data outside of WordPress, in which case this is a question about the WordPress database architecture, and while I do know how to construct the SQL queries, that’s outside of the scope of support for this plugin.
The role slugs are auto-generated by sanitizing the names of the roles. So if you have a custom role called “Test Role” then the slug for it is
test_role
and you can get the array of configuration details for that role, including a list of all of the pages/posts assigned to it, with this standard WordPress function:get_option('caroles_role_test_role')
Likewise you can get a list of all of the users assigned to the role (but this time with the friendly name of the role, not the slug) with this standard WordPress function:
get_users(array('role' => 'Test Role'))
Forum: Plugins
In reply to: [Custom Access Roles] Custom Access Roles DBAll of the data for Custom Access Roles is stored in the
wp_options
table. Each role has an entry withoption_name
in the format ofcaroles_role_{role_slug}
and theoption_value
containing a serialized array of all of the details of that role, including which pages, posts, categories, etc. it is assigned to, by ID. You can retrieve the data for a specific role using theget_option()
function. Nothing is stored inwp_postmeta
.Forum: Plugins
In reply to: [ICS Calendar] Not Showing on mobileAn Elementor container block your calendar is in is configured to be hidden on mobile. It has nothing to do with ICS Calendar itself.
I’m not sure exactly what the process for changing the Elementor block is, but I do see that it has a CSS class
.elementor-hidden-mobile
and I’ve confirmed that that’s what is causing the calendar not to display at the mobile breakpoint.Forum: Plugins
In reply to: [ICS Calendar] The Week parameter starts in next weekThe
count
parameter is the number of events to show, not the number of days.Looking at your page, I see ICS Calendar’s list view is showing 5 events, beginning with Halloween and extending into November, so it appears to be functioning properly.
You may also want to consider using Basic view (
view="basic"
), possibly combined with thenostyle="true"
parameter to remove Basic’s visual styling, rather than List view.Forum: Plugins
In reply to: [ICS Calendar] Is iCalendar COLOR field going to be supported?Good question! I’ve taken a practical approach to development of the plugin and added support for features as they’re in widespread use, rather than seeking to comprehensively support all iCalendar features that are rarely if ever present in commonly used applications.
This seems to be one of those examples. Both Google Calendar and Office 365 have their own custom category/color coding data which is usually not included in the ICS output at all. Here’s a case where Apple is supporting color but with a proprietary property rather than the standard one.
I have not been averse to incorporating vendor-specific support (especially where Microsoft is concerned, since they’ve got a lot of proprietary properties), so I will look into adding support for Apple’s color property in a future update. As for the standard
COLOR
property… I have yet to see any sources that actually use it, but if there are any, I can add support for that as well.Forum: Plugins
In reply to: [On This Day (by Room 34)] Default image if no postsI just tested putting an
<img>
tag into theno_posts_message
parameter and it does work. You just need to be sure you don’t have any double quotes in the tag, because the shortcode parser reads them as the end of the parameter value. Since the parameter values are wrapped in double quotes, anything inside can’t have double quotes. If you change them to single quotes, it works.Forum: Plugins
In reply to: [On This Day (by Room 34)] Default image if no postsThere isn’t an option to display an image, just the text
no_posts_message
parameter. You might try putting an HTML<img>
tag in as the value for that, but I don’t think it will work. (I haven’t tested that.)- This reply was modified 4 months, 3 weeks ago by room34.
Forum: Plugins
In reply to: [ICS Calendar] Not displaying second day of 2-day event@rstattelmann The
extendmultiday
parameter was changed in version 11.3.4, and the new option should resolve the issue for you. Try settingextendmultiday="overnight"
in your shortcode.Forum: Plugins
In reply to: [ICS Calendar] Colour coding of weekends in the basic viewThere is not currently a direct way in Basic view to customize the CSS based on the day of the week, but I could look at adding that in the future.
Basic view was created as an alternative to List view specifically to create a layout where each event is an independent item. You may want to try List view, which groups the events by day. The layout is also different of course, but the treatment with the large block showing the date, and the events listed to the side of it, could be created with some specialized CSS.
Forum: Plugins
In reply to: [ICS Calendar] Custom Loading GraphicYes, this can be changed with CSS. The loading graphic is the background element on this CSS selector:
.r34ics-ajax-container.loading:before
If you use that selector you can specify a different background image; you’ll also need to set the background size and possibly position.
Forum: Plugins
In reply to: [ICS Calendar] Full WidthThe calendar fills the width of whatever container element it’s inside of. Your theme has a sidebar (currently empty). The calendar is filling the space of the main body, but it can’t get any wider due to the particular design of this page template.
If your theme has another page template that doesn’t include a sidebar, you could try using that.
Hi, due to the way the month view is structured, it can only show the events within the currently selected month, not the dates in adjacent months that fall in the weeks of the current month’s grid.
The Pro version does support this with Full view.
Forum: Plugins
In reply to: [On This Day (by Room 34)] excerpts not showing when date is post dateThis is something I need to fix in the plugin, but you can get it to work by changing
true
to1
like this:show_post_excerpt="1"