Ross Wintle
Forum Replies Created
-
Forum: Plugins
In reply to: [Turbo Admin] Post BookmarksThanks.
The problem is that the JavaScript is compiled and I don’t (currently) provide a way to hook (hack?) into it.
It’s always been something that I wanted to do, but never quite made it there.
If you wanted to try to make your own version of the plugin with your own commands then the source is on GitHub: https://github.com/rosswintle/turbo-admin
You might be able to edit the
extraItemsinsrc/class-turbo-admin.jsYou could add something like:
{ 'detectType': 'dom', 'detectSelector': 'body', 'itemActionType': 'url', 'itemTitleFunction': (element) => 'My Favourite Page', 'itemUrlFunction': (element) => '/some-page.php' },And then run the build (assuming you have npm installed):
npm install ./build.shI THINK that will work. Hopefully it makes sense. But this is JS-developer level stuff.
Forum: Plugins
In reply to: [Turbo Admin] Post BookmarksThanks. I see. So, if I thought Turbo Admin had lots to add in the future, I’d be thinking about making more options for it. But there’s now a command palette inside WordPress itself, and so that will soon replace the main feature of Turbo Admin. So I’m not sure it’s worth the work to build out a whole load of new options.
I’ll add an issue on GitHub – there may be a way to add options in with some code. It’s a pretty extensible system and I could probably add a filter or something.
As a short-term solution, I wonder if there’s another plugin you can use (or if you are able to code your own) that would let you add a “Bookmarks” menu item that Turbo Admin would then scrape?
That’s probably the best solution for now.
Forum: Plugins
In reply to: [Turbo Admin] Post BookmarksHi there,
Glad you like it.
Turbo Admin already lets you search public custom post types. It doesn’t index them but it queries as you type.
This is documented here: https://turbo-admin.com/searching.html
This is mentioned in the Readme, but I guess it’s easy to miss.
Is that what you want? And if not, how is what you want different?
Thanks
Ross
Forum: Plugins
In reply to: [Turbo Admin] SyntaxError: Unexpected token ‘=’. in SafariHi there,
I actually decided that I won’t make this compatible. Sorry about that.
I’m depending on some modern JS features to make Turbo Admin work. If I fix this then something else will probably come up, and I’ve no way to easily test on older Safari versions.
I also don’t really want to start a large refactor to support an older browser.
Apologies.
Forum: Plugins
In reply to: [Turbo Admin] Doesn’t work on any site any moreHi folks,
I just released v1.13.3 of the plugin version of Turbo Admin to fix this.
Sorry this happened, and thanks for reporting it.
Forum: Plugins
In reply to: [Turbo Admin] SyntaxError: Unexpected token ‘=’. in SafariHi @rembem,
Sorry for the delay. For some reason I’ve stopped receiving notifications from WordPress.org’s support forums. I’m trying to fix this.
In the meantime I’ll pick up your issue and try to get it fixed soon.
Thanks for the report and possible fix.
Forum: Plugins
In reply to: [Turbo Admin] Doesn’t work on any site any moreHi @mrwweb, thanks also to you for reporting this.
Really appreciate the console logs there – they should point me in the right direction.
Apologies for the breaking change. I’ll get this fixed!!
Forum: Plugins
In reply to: [Turbo Admin] Doesn’t work on any site any moreHi @saschinger,
I’m SO sorry – I seem to have had email issues both from the WordPress forums and from my own website. Which is pretty embarassing. But I’ve found your messages in both of those places now and I’m here to help!
(And I’m fixing the email issues!)
Thanks for the report. Turbo Admin is definitely not abandoned. What I think has happened here is an issue with Firefox that got introduced when I migrated the browser extension to use some new browser extension technology.
I’ve also recently stopped using Firefox myself as my main browser, so I probably didn’t spot this. I mean, it SHOULD have come up in testing, but clearly didn’t. And that’s my fault.
Can you confirm that for the plugin version its:
- Firefox (broken)
- Safari (broken)
- Vivaldi (which seems to be Chromium – broken)
- Chrome/Edge/Other Chromium browsers? Do you use any? Are any browsers working for you?
Anyway, I’m a little busy, but I will try to get this fixed as soon as I can. And I’ll email you directly about your issues with the browser extension version.
Thanks again! I hope I can win back your support. And I will definitely look into improving the support paths for you.
Forum: Plugins
In reply to: [Two Factor] bbPress profile edit compatibilityI found a GitHub issue for this:
Forum: Plugins
In reply to: [Turbo Admin] How to hide the admin-bar-icon?Great!
If you’re good with SQL then you can delete all user meta entries with the key “turbo-admin-hide-icon”. This will reset things for ALL users.
I’ll consider adding a more forceful disable for you. The idea was that you could set the default to off, but still allow users to choose to turn if back on if they wanted to. But I can add another filter to make the icon always off with no settings if that’s what you want.
I’ll raise an issue in GitHub for this.
Thanks for working it through, and glad we go it working.
I’m also very happy that you like the plugin. So thanks for the great feedback too.
Forum: Plugins
In reply to: [Turbo Admin] How to hide the admin-bar-icon?It’s easy to get frustrated. I appreciate the apology.
Hopefully you’ve seen that the snippet works for me, so we’ll have to try and find out what is different with your system.
Can I ask the questions again about your setup:
1. Are using an up-to-date version of the plugin (v1.5.3)?
2. The snippet respects any existing user setting. So if you have previously saved a user’s profile it may have saved a setting for the user to SHOW the icon. And this will override the snippet/filter.
This is an advanced thing, but are you able to check in your database to see if you have a piece of user meta set with the name “turbo-admin-hide-icon”? You may not know how to do that.
3. If you create a new user, does the snippet work for that user?
Forum: Plugins
In reply to: [Turbo Admin] How to hide the admin-bar-icon?Finally, if you still can’t get the filter to work and you are happy to add CSS snippets, then you can add:
#wp-admin-bar-turbo-admin { display: none; }This will also hide the icon.
I hope one of these resolutions works for you.
Forum: Plugins
In reply to: [Turbo Admin] How to hide the admin-bar-icon?And here’s a screengrab with the filer commented out, just so you can see the difference: https://cln.sh/bvJ3aDzZmI0W5H63s6Qw
Forum: Plugins
In reply to: [Turbo Admin] How to hide the admin-bar-icon?OK, I’ve done a test with a similar code snippets plugin. (Which one are you using? It looks nice!)
What I think might have happened is that pasting the code in here converted the quotes in my code snippet into “smart quotes”. Stupid mistake that I didn’t notice before.
If you haven’t already, can you try manually changing the quotes in the code snippet to standard single quotes (apostrophes) and see if that helps?
It may be that you’ve already done this – let me know if this is the case.
Do let me know if this helps.
Here is my screenshot of this working: https://cln.sh/Ikw3bvUcm1GFR74UCJ1D
Forum: Plugins
In reply to: [Turbo Admin] How to hide the admin-bar-icon?Hi,
Using language like “silly icon” and making strong demands is not helpful. I make this in my spare time and make it available for free to others. You are welcome to use it. But really, if the presence of an icon is causing you such terrible problems then there are other plugins like Jarvis (https://wordpress.org/plugins/jarvis/) that do similar things and that may be more to your liking.
I will not hide the icon by default as I believe it’s a helpful reminder. That’s for me to decide. You are the only person who has complained about it. I’ve implemented the filter for you. I’m sorry you are struggling to get it working.
If you can be patient with me, I’m happy to try and help figure out why the filter isn’t working, and I’ve given some ideas above for what might be wrong in my previous reply. I happen to be working on this today, so I will do some more testing here.
Thanks
Ross