Jory Hogeveen
Forum Replies Created
-
Forum: Plugins
In reply to: [View Admin As] Collapse Roles by defaultI haven’t heard from you anymore so I’ll close this topic. Feel free to re-open if you still need help!
Cheers, Jory
Forum: Plugins
In reply to: [View Admin As] Can’t return as adminHi @mellaker
I haven’t heard from you anymore so I’ll close this topic. Feel free to re-open if you still need help!
Cheers, Jory
Forum: Plugins
In reply to: [View Admin As] View as ALT admin by defaultHi @tdechangy
Good to hear it worked for you as well!
The “Disable super admin” option is only available for networks (WP Multisite). In such an installation there is a separate network-wide setting which defines the “super admins” in a network, which is different from a role.
This setting will temporarily disable super admins while switched to another view for better compatibility.Cheers, Jory
Forum: Plugins
In reply to: [View Admin As] Weird Caching IssuePerfect, good to hear!
And luckily Litespeed already includes several actions to clear cache easily. I believe the following code should work:<?php
add_action('vaa_view_admin_as_do_view', function() {
if ( ! defined( 'DONOTCACHEPAGE' ) ) {
define( 'DONOTCACHEPAGE', true );
}
});Important! This code should be added as a MU plugin, inside “
wp-content/mu-plugins/“. You can name the file as you’d like as long as its a .php file, for example “vaa-litespeed.php“.Let me know, cheers! Jory
Forum: Plugins
In reply to: [View Admin As] View as ALT admin by defaultHi @tdechangy
Thank you for reaching out, I appreciate your feedback and understand that your use case might require a bit more flexibility than what’s currently available out of the box.
The security measures in place are designed to ensure accountability and maintain a secure environment for all users. While I can see how this might feel restrictive, these safeguards are intentional and help prevent misuse.
That said, I’d love to help you find a solution that works for your needs. Here are two possible approaches:
Option 1: Developer Access
If you’re the developer and need full access to other administrators, the GitHub snippet you mentioned is indeed the way to go.
Just a quick reminder: this code should be added as an MU plugin inwp-content/mu-plugins/, as outlined in the gist. If you’ve already tried this and it didn’t work, let me know, I’d be happy to help troubleshoot.Option 2: Team-Wide Access
If you’d like to allow all users to switch between roles, I could explore adding a code-level solution to opt out of the security mechanism. Since this is a free, non-commercial plugin, I don’t currently have the resources to prioritize this, but I’d welcome a feature request on GitHub! You can submit it here: GitHub Issues.From your message, it sounds like Option 1 might be what you’re looking for. If the code isn’t working as expected, it’s possible there was a misplacement, let me know how it goes, and I’ll do my best to assist further.
Hope this helps! Let me know if you have any other questions.
Cheers! Jory
Forum: Plugins
In reply to: [View Admin As] Weird Caching IssueWordPress core doesn’t include cache like you mention so I assume you have a plugin active which handles caching. Unfortunately, I do not have custom compatibility for every cache plugin out there, as this quickly becomes unmaintainable, so I think a custom solution would be best here.
There is a hook available that will run when a view is active: “vaa_view_admin_as_do_view”. Depending on your cache plugin you could disable cache when this action runs.
(Edit) Alternatively, you could just disable cache for logged-in users.
If you give me more info on your installation then I could help you further 🙂
Cheers, Jory
- This reply was modified 1 month ago by Jory Hogeveen.
Forum: Plugins
In reply to: [View Admin As] Dropdown autoclosesHi @joncon62
Thank you for your inquiry and I am fully aware of this and it even bugs me too haha.
Unfortunately, the WordPress Toolbar (AdminBar) which I for this plugin has it’s hover-logic within core. So what happens on hover is handled by WordPress core, not my plugin.
It seems that this utility is not fully supporting input elements (search fields for example). When you click on such a field it somehow loses focus on the parent menu and the hover utility code hides it.
I believe there was a discussion about it years ago but didn’t get priority because Gutenberg took over.I prefer not to fully rebuilt it all with my own code because I’d like to keep it simple and in line with WordPress core, especially since this is a free plugin without premium options or any form of budget.
In case my own annoyance with it becomes to big I might give it a shot but for now I consider it a minor usability bug, not even caused by my plugin.Cheers, Jory
Hi @stefoe
Then there must be something else going on. I just switched the same site to default Storefront (by WooCommerce) and it’s working just fine. I’m not even using the legacy CSS option, just the default.
Could you create a test environment to see if you can reproduce this behavior on another installation yourself?
And lastly, what browser are you using to test it?
Cheers, Jory
- This reply was modified 2 months ago by Jory Hogeveen.
Hi @stefoe
Sharing credentials is not allowed due to WP forum policies which are very strict and could result in a ban if I suggest anything like that. As far as I know I’m not even publicly allowed to forward you to a channel which allows this.
In any case, I have a test website active which allows both this plugin’s sidebar and the WooCommerce cart sidebar.
https://wpdemo.keraweb.nl/woocommerce/So therefore I’m assuming that there must be some other issue, maybe theme related?
Cheers, Jory
Hi @stefoe
I think the Legacy CSS option would work for you:
https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/fixed-elementsCheers, Jory
Forum: Plugins
In reply to: [View Admin As] Can’t return as adminHi @mellaker
Since Elementor fully overwrites the admin interface there is not much I can do there.
However, on the frontend it should render an icon for this module if you have selected a view. It could be that the Elementor theme builder is blocking this, not sure.For switching back when there is no admin bar see the FAQ: https://ww.wp.xz.cn/plugins/view-admin-as/#3.%20i%20can%27t%20switch%20back%21
Cheers, Jory
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Create a template link to a field?Hi @wpress2010
What kind of field is “ss3_slider”?
The “href” content of an <a> element should be a hyperlink ( https://etc.. )Cheers, Jory
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Date/time IssueHi @grungepopp
This is indeed timezone related.
Is the date in the admin interface correct or does that change as well?
And how are you displaying this date on the page?Cheers, Jory
Forum: Reviews
In reply to: [Off-Canvas Sidebars & Menus (Slidebars)] WHAT A PLUGIN!Absolutely tremendous review, it’s great! This plugin? The best. No one has ever seen anything like it. It’s winning the off-canvas game, believe me, it’s HUGE!
Jokes aside, thank you for your review!