Can you believe this is yet another blog post about SPLOTs? Has anyone stuck a fork in them yet?
I’m considering a rather major change which ultimately make them less complex to set up. This is all about the need for them to use a secret authoring account that the user never sees. So when you go to write something on TRU Writer, or share something in TRU collector, the SPLOTs actually log you in invisible as a user. You never see it; the admin bar is hidden, and a plugin prevents you from seeing the Dashboard.
This is all done to enable the drag and drop uploading of media that you get as a normal WordPress user:
This is most useful in TRU Writer for uploading and adding images to the text being written.
For uploading a featured image, or as in TRU Collector or SPLOTbox, a single file upload, this could be replaced with a simple File upload interface, and not require an authoring account secret login ( I use this in the DS106 Bank theme, where there is a featured media upload, but no authoring login needs to happen).
Taking this behind the scenes login would greatly simplify the code, the setup. This has come up with an issue at one university where all WordPress logins require a single signon action, and so the behind the scenes invisible login borks.
I’m wondering in general if most SPLOTs even need this. For the TRU Writer, I could enable the TinyMCE image button, which allows inserting of images hosted at other URLs. All the regular WordPress automatic embeds are still available (like images from flickr, giphy. I could probably add in some kind of auto embed for image URLs (or suggest a plugin that does this).
The parts where a single file upload is done would be done via an HTML
input=file form element but I’d roll n something like dropzonjs for drag and drop file uploads.
The question is how important is it to people who use these themes, to have an image uploader in the composition area?
SPLOTs could be way more simple to set up this way.
Thoughts? Bueller? Bueller?