هل من الممكن التخلص من رابط/زر "My Threads"؟

I see you’ve got rid of it here! Thanks.

Are you referring to the chat? I have it:

Yes that’s what I’d like to get rid of on my forum.

You can hide the button with CSS, but to disable chat thread functionality, you’ll have to remove it in channels and DMs (also maybe see this topic?).

Also, this may be why you don’t see it here on Meta:

إعجاب واحد (1)

Thanks. How do I do that? I’ve looked and can’t find the setting.

Found it! To get to the chat channel settings you have to click on the name of the channel! But not on the channel list – only when the individual channel is on screen. And the “pen” icon doesn’t help get you there.

Threading was turned off on all category-based channels.

How can I get rid of the “My Threads” link?

إعجاب واحد (1)

Is there any chat where threading is still enabled? Did you check all DM chats?

You can use this data explorer query to find all your chats where threading is enabled.

-- [params]
-- user_id      :user_id 


WITH memberships AS (
  SELECT
    uccm.user_id,
    cc.id AS chat_channel_id,
    cc.type AS channel_type,
    cc.name AS channel_name,
    cc.description,
    cc.threading_enabled
  FROM
    user_chat_channel_memberships uccm
  JOIN
    chat_channels cc ON uccm.chat_channel_id = cc.id
  WHERE
    uccm.user_id = :user_id
    AND cc.threading_enabled = TRUE
)
SELECT
  m.chat_channel_id,
  COALESCE(
    NULLIF(m.channel_name, ''),
    (
      SELECT string_agg(u.username, ', ')
      FROM user_chat_channel_memberships uccm2
      JOIN users u ON uccm2.user_id = u.id
      WHERE uccm2.chat_channel_id = m.chat_channel_id
        AND uccm2.user_id <> m.user_id
    )
  ) AS sidebar_name,
   m.channel_type,
  ('/chat/c/-/' || m.chat_channel_id) AS chat_url
FROM memberships m
ORDER BY m.channel_type, sidebar_name
إعجابَين (2)

Pasting into Data Explorer does not work on my iPhone but I’ll try on the computer later. Thanks.

Basically, any DMs with threads. If you just want to hide the button, this CSS would do the trick, although you’ll still have threading:

button#c-footer-threads.c-footer__item {
  display: none;
}

Your query found one user-to-user chat which had threading enabled. If I’d realised the settings for user-to-user chats were found by clicking the heading I could have found it easily. That really is not intuitive at all. I turned threading off. Now, the “My threads” link is absent (for me now).

I believe from reading topics here that threading is on by default for direct messages. Is that still the case, and is there or will there be an option to make it off by default? Thank you.

إعجاب واحد (1)

There is a quite popular feature request

You can support it by voting on it, liking the OP, and describing your use case in a reply

إعجابَين (2)

Done! Adding some further characters.