General > General Technical Chat

Are there any EEVblog server app you'd like to see installed?

<< < (34/49) > >>

PlainName:

--- Quote ---just click on the "Modify Message" icon at the bottom left of your own post
--- End quote ---

That could be significant - the modify button is upper right for me.

PlainName:
Ah! Now I get a modify icon. And that's a right pain to use - can't exit from it, for a start - so I'm glad I've never noticed that before and always use the upper right one :)

ataradov:
Yeah, but once you get used to it, it is pretty convenient, especially for quick typo fixes.

tautech:

--- Quote from: ataradov on December 10, 2022, 01:31:05 am ---Yeah, but once you get used to it, it is pretty convenient, especially for quick typo fixes.

--- End quote ---
Very, actually and I've used it several times to fix typos already today.

But and this is a big but, it offers functionality available nowhere else on the forum.
This I mentioned a few posts back with the way that's most convenient to imbed uploaded images within a post.
With using the plain Modify button all upload image thumbnails are visible as are each of their filenames which if right clicked and Copy URL selected one can imbed them anywhere within your post between IMG flags of course.

The only other way to quickly accomplish such is to have 2 tabs open, one that you've posted with image URL's visible and another to do the embedding edits within.

All that needs be done is to have a single IMG flag to Copy/Paste within your post then Copy/Paste image/attachment URL's into them. Once you have this polished it's easy to embed 3 or 4 images before the Edited flag that Muttley despises arises.  :P

ataradov:
I did a bit of poking around and the issue is indeed in JS. The issue is in the file https://www.eevblog.com/forum/Themes/default/scripts/topic.js.pagespeed.ce.vP1zvJSlgR.js

There are many instances of code like this

--- Code: --- if (typeof smfpacks_editor !== undefined)
sceditor.create($smfpacksEditor('#quick_editor').get(0), getEditorOptions());

--- End code ---

And the issue is with a comparison "if (typeof smfpacks_editor !== undefined)". In some cases they are using 'undefined' (quoted) and in some cases just plain unquoted undefined.

typeof smfpacks_editor is quoted 'undefined', so this comparison is true and it tries to create sceditor, which is not defined.

Given the name of the file, I assume it is dynamically generated based on the installed plugins. So either regeneration did not go well or the code is included even if the plugin is installed, but not activated.

JS is such a garbage language.

And I just tried to manually inject corrected versions of the two broken functions and it all works. This edit is done in an embedded quick editor. So, unless this gets fixed by Dave, injecting custom JS would be a solution.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod