Clickable links in website and bio for TL0 newuser

Hi

I have a private discourse with only trusted members, and I need TL0 newuser links in bio and/or website to be clickable (I already use TL1 to TL4 to other specific user).

Is there any way to do that ?
JS script added in default theme ? Official plugin ?

Thanks

1 Like

Hi, welcome, Alex!

About the website link, you can try to insert this JS into your theme or a component:

Head
<script type="text/discourse-plugin" version="0.8">

api.modifyClass("controller:user", {
    pluginId: 'enalbe-tl0-website-link',
    linkWebsite: true
});

api.modifyClass("component:user-card-contents", {
    pluginId: 'enalbe-tl0-website-link',
    linkWebsite: true
});
</script>

About the Bio, I’m not sure how to do it yet. It’s handled in the backend (excerpt, stripping links).

4 Likes

Yes, and it is taking the most easiest path: adjusting your TLs and giving TL1 to all right away. Privat forum and only trusted members… by definition you shouldn’t use TL0 at all.

I have a feeling you are using TLs such way where groups could work much better.

5 Likes

Thank you Arkshine !
It works well.

Thanks Jakke, but I even if it is a private forum, I have different levels of trusted member.
Trust level settings allow some configurations not available for groups. And TL0 have even more restriction possibility.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.