Default signature for all members?
- Edited
orschiro Interesting.
And so you want to have a username and password in the signature, so that someone can use that to sign in and reply without creating an account?
If so, wouldn't it be better to have an Anonymous extension that lets you post either anonymously or just with a username?
Or maybe have the information show on hover or when clicking Reply?
navindra our forum is hosted on Free Flarum where I only have the extension "Anonymous Posting":
clarkwinkelmann/flarum-ext-anonymous-posting
But is extension requires users to be logged in.
navindra Or maybe have the information show on hover or when clicking Reply?
Nice idea! How to implement?
orschiro Nice idea! How to implement?
In Adminstration -> Appearance, you can Edit Custom Header.
I think you should be able to specify some CSS for a tooltip, some JS to insert a hover-activated block for the tooltip before/after the reply items... haven't tried it though, so you may run into challenges.
- Edited
orschiro You can add a signature message that appears automatically below all your comments
Use this CSS code in your custom CSS:
.CommentPost .Post-body::after {
content: "This is a signature area. It appears below all comments.";
display: block;
margin-top: 10px;
padding: 10px;
background-color: var(--control-bg-shaded);
border-top: 1px solid var(--muted-color);
font-size: 0.9em;
color: var(--text-color);
text-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
}
You can customize the colors, but in its current form, the design will work seamlessly with both light and dark modes. Additionally, you won't need to use a signature extension after adding this.
huseyinfiliz this is simply great, thank you! :-)
orschiro You're welcome, I'm glad it was helpful to you. By the way, I understand what you're trying to do, and I want to let you know that I've developed an extension that directly solves your problem
Login / Register Modal
Settings Page
huseyinfiliz this is great!
Where is the repo so I can ask Free Flarum to add it?
orschiro It's still early access, and developing this extension while ensuring security is time-consuming. I plan to seek sponsorship instead of making it paid and will start a proposal discussion soon. For now, it's only being used on my own forum
huseyinfiliz can I somehow use it as well or only once it's made available on Free Flarum?
Is there a way to upload a custom extension?
orschiro The extension will be usable on FreeFlarum once released
It won't to be paid extension, as I plan to sustain it through donations. Of course, after the extension is released, a "request extension" thread must be created in the FreeFlarum support forum and approved by FreeFlarum.
huseyinfiliz thanks!
Can you let me know once it's released?
Then I'm going to request it on the Free Flarum forum.
huseyinfiliz perfect bro, if I hope it only shows bellow the discussion, how can I change the code.
meihuak Do you want it to appear only at the end of each discussion, or at the end of the first post in each discussion? I didn't quite understand.
css code:
huseyinfiliz
huseyinfiliz only at the end of each discussion
meihuak Of course, I’ve prepared the CSS code to meet your request. If you want it to appear in a different location, feel free to let me know. I’ve adjusted the colors to adapt to light/dark mode, but I can’t say it’s perfect.
By the way, instead of using this CSS, why not use the Modern Footer extension configured to appear only in discussions? It would offer similar functionality with more management options.
CSS Code
.DiscussionPage-discussion::after {
content: "This is a signature area. It appears below the discussion.";
display: block;
margin: 50px auto;
padding: 10px 20px;
background-color: var(--control-bg-shaded);
border-top: 1px solid var(--muted-color);
font-size: 0.9em;
color: var(--text-color);
text-align: center;
max-width: 800px;
border-radius: 5px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
Web
Mobile
huseyinfiliz thanks bro, of course I have installed your extension, but it seems there is no the function I want~
meihuak In the general settings, there is an option to "display only on discussion pages," which hides it on all pages except discussion pages.
huseyinfiliz your extension is great, it is good in my flarum. but I think they are different, I mean this position.