Added permission to allow restriction of who can use a signature on your forum.
I have set it so that admins and moderators can only use the signature, but regular users can still use it
Added permission to allow restriction of who can use a signature on your forum.
I have set it so that admins and moderators can only use the signature, but regular users can still use it
katos of course, it's a big work. But I think that you lost main for now:
Reply
and Like
must be most bottom. Bellow polls, signature, everything. Because users didnt find Reply/Like buttons in the middle of the post (if signature is big - its real possible, that reply/like near the middle). It is wrong. You change the position of standard elements with awaited standard functions. So, main problem - position of output for signature.I am hope that your staging screenshot showing us just current progress (or some hotfixes) and not final revision.
This release would not have been possible without the continued support of @IanM - If you would like to show your support for Ian, you can do so using his donation link here: https://www.buymeacoffee.com/ianm1
katos, @IanM It's a great work!!!
For now I can detect only one glitch. Sometimes when I press Edit
- its activate both edit area - for post and for signature. Seems it call similiar function or react on the same event/action.
How to reproduce: open discussion in new tab (page loading needed), just select text in signature (several clicks on text), then try to edit post (press Edit).
You will see 2 editors in the same time (am I hacker?). You can close/collapse main post-editor, but you cant close signature-editor without saving.
Changelog
Many thanks to @davetodave178 for the assistance with the PRs in this request!
I'm having an issue installing.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- katosdev/signature 1.3 requires symfony/css-selector ^6.0.2 -> found symfony/css-selector[v6.0.2, ..., v6.4.8] but the package is fixed to v7.0.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- katosdev/signature[1.4, ..., 1.6] require symfony/css-selector ^5.0 || ^6.0.2 -> found symfony/css-selector[v5.0.0, ..., v5.4.40, v6.0.2, ..., v6.4.8] but the package is fixed to v7.0.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires katosdev/signature * -> satisfiable by katosdev/signature[1.3, 1.4, 1.5, 1.6].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require katosdev/signature:*" to figure out if any version is installable, or "composer require katosdev/signature:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
EDIT: Oh no, @katos hasn't been online in 23 days, please come back
Already processed
forever seems dotted line can be reached only CSS using. In normal way you can use --, __, and **, but all of them suitable only for hr-line. And using CSS you can make it dotted.
It will be easier if you show HTML-view of this. Maybe you can just copy-paste this symbol. But I think, that symbol in signature is just a pic uploaded to any and showing like just a regular img in svg format.
Unfortunatelly, img tag seems unreachable here and I cant provide width and height using Markdown here, but image will include correctly.
So the answer for you case will be: svg-image + some CSS. You can easily repeat this trick in your signature on the same forum