I was wondering what code was stripping all title formatting
Have a clickable url as discussion title
alx you'll need an extension that extends the validation rules of the discussion.
In this context you probably mean URL ? HREF is the name of an HTML attribute whose value is an URL.
clarkwinkelmann Yes I mean URL, ex:
"This is website is so cool [Link]"
alx I've merged all your related discussions together. Please follow our Community Guidelines, in particular:
Donβt post repeatedly about the same topic, as doing so will tend to have the opposite effect.
Avoid making multiple posts in a row when one would suffice. This is a forum, not a chat room.
Please make only one discussion about the same topic, we can adjust tags as necessary (simply ask a moderator if you want) and it will not get your needs addressed faster. Please be patient and understanding about what is currently possible with Flarum, an extension is going to be needed for a lot of the requests you have. We're willing to help you on that process, but please respect our community rules.
- Edited
Hi, I was wondering if there was an extension that adds this function to flarum.
Example:
https://m.imgur.com/gallery/m4TYvHr
alx your example seems missing.
I still don't understand what you'd like to achieve. Does the title contains text plus a link that should be clickable ? Is it a title plus a link where the text portion of the title becomes a link pointing to the url ? Is it a url-only title ?
There's definitely nothing in core for this. If you want reddit-style but still keep a text title, the easiest would probably be to use Mason to add a new "url" field to discussions, then use a new extension that adds that link below or around the title in the discussion list.
Also, the link in your first post is still dead as I reported in my first answer. Did you have a screenshot to share ?
clarkwinkelmann yes this is exactly what I'm looking for.
The forum I'm building will have a lot of links so I need my users to be able to click on those outside of the discussion.
Option A would be to enable url formatting in the title in order to allow stuff like: "This is discussion title [Link]"
Option B, as you stated, would be something reddit-like.
Let me know your thoughts on what would be the simplest to implement.
clarkwinkelmann the easiest would probably be to use Mason to add a new "url" field to discussions, then use a new extension that adds that link below or around the title in the discussion list.
That's what I think would be the easiest to develop. Not sure if you were looking at developing this yourself or finding someone to work on it ?
- Edited
clarkwinkelmann I donβt have any experience with developing extensions but I do have some coding experience. How hard do you think it would be?
alx it's difficult to tell just based on that. I'd recommend trying to write simple standalone extensions before trying to integrate or fork a more complex extension like Mason.
clarkwinkelmann Would you be interested?
- Edited
alx in other time I would yes, but I currently have a big backlog of work so no availability until way later this year.
EDIT: updated to make my availability more clear
clarkwinkelmann would you be able to recommend someone?
- Edited
alx the other Flarum extension developers usually read this forum so let's just see if anybody manifest themselves. If nobody comes forward here after a few days you can also consider asking on the Flarum Discord (please wait a bit before doing that, no need to ask in the two places simultaneously )
EDIT: moved to the appropriate tag to indicate we're looking for devs.