<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Threaded chat support for NodeBB]]></title><description><![CDATA[<p dir="auto">Following on from the “Threaded post support for NodeBB” topic below</p>
<p dir="auto"><a href="https://sudonix.org/topic/569/threaded-post-support-for-nodebb">https://sudonix.org/topic/569/threaded-post-support-for-nodebb</a></p>
<p dir="auto">I am delighted to now announce something “similar” for chat <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> See below - forgive the blurred image - it’s set that way intentionally to maintain privacy for individual members, but it’s enough for you to see the flow</p>
<p dir="auto"><img src="/assets/uploads/files/1695487842049-2f572f31-4f6c-4fcf-93fd-1fe84b6895c0-image.png" alt="2f572f31-4f6c-4fcf-93fd-1fe84b6895c0-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This specific code is less complex than posts as there is “less to target” in terms of actual elements, and less global positioning of other elements to take into consideration. Without further ado…</p>
<p dir="auto"><a href="https://github.com/phenomlab/nodebb-harmony-chat-threading" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/phenomlab/nodebb-harmony-chat-threading</a></p>
<p dir="auto">You’ll need to copy the content of <code>style.css</code> and paste this into ACP-&gt;/admin/appearance/customise, and also the content of <code>functions.js</code> into ACP-&gt;/admin/appearance/customise#custom-js</p>
<h3>IMPORTANT</h3>
<p dir="auto">For this to work as intended, you need a temporary patch file which is discussed here</p>
<p dir="auto"><a href="https://community.nodebb.org/topic/17307/action-event-client-side-for-creating-and-updating-posts/21" target="_blank" rel="noopener noreferrer nofollow ugc">https://community.nodebb.org/topic/17307/action-event-client-side-for-creating-and-updating-posts/21</a></p>
<p dir="auto">And the actual file itself here</p>
<p dir="auto"><a href="https://github.com/NodeBB/NodeBB/commit/a7517d886f83703dc158c0e2327542156b539eb6" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/NodeBB/NodeBB/commit/a7517d886f83703dc158c0e2327542156b539eb6</a></p>
<p dir="auto">This new hook does not exist pre <code>3.5.0</code> and will need to be added manually to your existing NodeBB core, then rebuild, and restart.</p>
<p dir="auto">If you don’t want to modify the core, then you can comment out (or remove) the below lines of <code>functions.js</code> but then you will lose the ability to convert to threaded chat when new data is added to the <code>DOM</code></p>
<pre><code>$(window).on('action:chat.onMessagesAddedToDom', function(data) {
        	$(document).ready(function() { 
    	    console.log('hook triggered'); 
        threadedChat();
});
});
</code></pre>
<p dir="auto">You may also land up with an error in the console which could result in the remainder of the site not loading properly if either the core patch is not applied, or the above lines removed.</p>
<p dir="auto">As soon as <code>3.5.0</code> is released, this hook will be there by default and no longer needs to be added.</p>
<p dir="auto">Finally, if you are using <code>chatBanner</code> then you will need this updated function</p>
<p dir="auto"><a href="https://sudonix.org/topic/538/adding-a-banner-to-chat-messages/30">https://sudonix.org/topic/538/adding-a-banner-to-chat-messages/30</a></p>
]]></description><link>https://sudonix.org/topic/576/threaded-chat-support-for-nodebb</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 09:01:49 GMT</lastBuildDate><atom:link href="https://sudonix.org/topic/576.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Sep 2023 14:25:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Tue, 26 Sep 2023 11:47:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> said in <a href="/post/7638">Threaded chat support for NodeBB</a>:</p>
<blockquote>
<p dir="auto">Better like this : add shadow and border-left on self answer</p>
</blockquote>
<p dir="auto">Of course - you style to your own requirements and taste <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> I’ll commit that <span class="glossary-wrapper" title="Cascading Style Sheets" data-bs-toggle="tooltip" data-bs-placement="top"><span class="glossary-word">CSS</span></span> we discussed yesterday also</p>
]]></description><link>https://sudonix.org/post/7640</link><guid isPermaLink="true">https://sudonix.org/post/7640</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Tue, 26 Sep 2023 11:47:12 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Tue, 26 Sep 2023 11:43:59 GMT]]></title><description><![CDATA[<p dir="auto">Better like this : add shadow and border-left on self answer <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto"><img src="/assets/uploads/files/1695728634763-75f6bba9-a306-4b33-8a01-58ac4583b770-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://sudonix.org/post/7638</link><guid isPermaLink="true">https://sudonix.org/post/7638</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Tue, 26 Sep 2023 11:43:59 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Tue, 26 Sep 2023 11:27:50 GMT]]></title><description><![CDATA[<p dir="auto">yep confirmed. All ok with the hook</p>
]]></description><link>https://sudonix.org/post/7636</link><guid isPermaLink="true">https://sudonix.org/post/7636</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Tue, 26 Sep 2023 11:27:50 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Tue, 26 Sep 2023 11:17:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> said in <a href="/post/7631">Threaded chat support for NodeBB</a>:</p>
<blockquote>
<p dir="auto">Do you think this will solve the problem?</p>
</blockquote>
<p dir="auto">Yep - I have the patch and cannot replicate the issue on here <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://sudonix.org/post/7633</link><guid isPermaLink="true">https://sudonix.org/post/7633</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Tue, 26 Sep 2023 11:17:18 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Tue, 26 Sep 2023 11:15:34 GMT]]></title><description><![CDATA[<p dir="auto">ha ok I misunderstood that. I thought it was just to add in the Javascript code.</p>
<p dir="auto">So we have to create the hook manually until 3.5.0</p>
<p dir="auto">Do you think this will solve the problem?</p>
<p dir="auto">Test ASAP</p>
]]></description><link>https://sudonix.org/post/7631</link><guid isPermaLink="true">https://sudonix.org/post/7631</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Tue, 26 Sep 2023 11:15:34 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Tue, 26 Sep 2023 11:13:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> Yes, but check the <code>git</code> link - you need to modify <code>public/src/client/chats/messages.js</code> as below</p>
<p dir="auto"><a href="https://github.com/NodeBB/NodeBB/commit/a7517d886f83703dc158c0e2327542156b539eb6" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/NodeBB/NodeBB/commit/a7517d886f83703dc158c0e2327542156b539eb6</a></p>
<p dir="auto"><img src="/assets/uploads/files/1695726802475-101be178-1a40-4ff6-bb8b-aa5dde5aec0b-image.png" alt="101be178-1a40-4ff6-bb8b-aa5dde5aec0b-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://sudonix.org/post/7629</link><guid isPermaLink="true">https://sudonix.org/post/7629</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Tue, 26 Sep 2023 11:13:23 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Tue, 26 Sep 2023 11:13:48 GMT]]></title><description><![CDATA[<p dir="auto">this :</p>
<pre><code>$(window).on('action:chat.onMessagesAddedToDom', function(data) {
        	$(document).ready(function() { 
    	    console.log('hook triggered'); 
        threadedChat();
});
});
</code></pre>
<p dir="auto">Seems you have add it on the function.js on github no ?</p>
]]></description><link>https://sudonix.org/post/7627</link><guid isPermaLink="true">https://sudonix.org/post/7627</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Tue, 26 Sep 2023 11:13:48 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Tue, 26 Sep 2023 11:06:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> Did you use the necessary patch?</p>
<p dir="auto"><a href="https://github.com/NodeBB/NodeBB/commit/a7517d886f83703dc158c0e2327542156b539eb6" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/NodeBB/NodeBB/commit/a7517d886f83703dc158c0e2327542156b539eb6</a></p>
]]></description><link>https://sudonix.org/post/7624</link><guid isPermaLink="true">https://sudonix.org/post/7624</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Tue, 26 Sep 2023 11:06:02 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Tue, 26 Sep 2023 11:10:19 GMT]]></title><description><![CDATA[<p dir="auto">hello my friend <a class="plugin-mentions-user plugin-mentions-a" href="/user/phenomlab" aria-label="Profile: phenomlab">@<bdi>phenomlab</bdi></a> continue t otest and debug, I see this bug.</p>
<p dir="auto">When you edit your post and save it, you lose the display (or the post simply disappears) and you have to refresh the page to see it again and display it correctly</p>
<p dir="auto">EDIT:</p>
<ul>
<li>in public can :edit post lose display/layout</li>
<li>In private chat : edit post lose the post</li>
</ul>
<p dir="auto">public :<br />
<img src="/assets/uploads/files/1695725845493-blink2.gif" alt="blink2.gif" class=" img-fluid img-markdown" /></p>
<p dir="auto">private:<br />
<img src="/assets/uploads/files/1695726617139-blink3.gif" alt="blink3.gif" class=" img-fluid img-markdown" /></p>
]]></description><link>https://sudonix.org/post/7622</link><guid isPermaLink="true">https://sudonix.org/post/7622</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Tue, 26 Sep 2023 11:10:19 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 20:54:00 GMT]]></title><description><![CDATA[<p dir="auto">Ok chief <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">– Result :</p>
<p dir="auto"><img src="/assets/uploads/files/1695675182241-cfaa3f94-d6fe-44a2-aa7b-f58209cafe4d-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://sudonix.org/post/7600</link><guid isPermaLink="true">https://sudonix.org/post/7600</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Mon, 25 Sep 2023 20:54:00 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 20:24:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> said in <a href="/post/7595">Threaded chat support for NodeBB</a>:</p>
<blockquote>
<p dir="auto">just add an !important to thread View post css code</p>
</blockquote>
<p dir="auto">Yep. Just don’t overuse that directive.</p>
]]></description><link>https://sudonix.org/post/7597</link><guid isPermaLink="true">https://sudonix.org/post/7597</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Mon, 25 Sep 2023 20:24:52 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 20:16:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phenomlab" aria-label="Profile: phenomlab">@<bdi>phenomlab</bdi></a></p>
<p dir="auto">It seems that when the 2 codes are together, the thread view for topics no longer works.</p>
<p dir="auto">On the first screen below, my post should be shifted to the right and it is no longer.<br />
On the other hand, my post in “highlight” mode is quite offbeat</p>
<p dir="auto"><img src="/assets/uploads/files/1695672094756-ad42a971-c273-40a9-b685-8807571e65fb-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1695672196451-6a67d441-6d5b-4ce1-b78e-175402060b69-image.png" alt="6a67d441-6d5b-4ce1-b78e-175402060b69-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">maybe a problem just with my <span class="glossary-wrapper" title="Cascading Style Sheets" data-bs-toggle="tooltip" data-bs-placement="top"><span class="glossary-word">CSS</span></span>, I’m looking for the directive that could bother me <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<hr />
<p dir="auto"><strong>EDIT :</strong></p>
<p dir="auto">Seems to find the trick again, just add an <code>!important</code> to thread View post css code</p>
<pre><code>li.pt-4.self-post:not(.self-post .topic-owner-post).threaded {
   margin-left: 0rem !important;
 }
</code></pre>
]]></description><link>https://sudonix.org/post/7595</link><guid isPermaLink="true">https://sudonix.org/post/7595</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Mon, 25 Sep 2023 20:16:13 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 19:39:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phenomlab" aria-label="Profile: phenomlab">@<bdi>phenomlab</bdi></a></p>
<p dir="auto">you think I can have with result with a background (bubble + arrow) different to border color (more light) ?</p>
<p dir="auto"><img src="https://sudonix.org/assets/uploads/files/1695653774746-75fb47a3-2558-4262-a204-f7086fa45d34-image.png" alt="" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>EDIT :</strong></p>
<p dir="auto">Find the trick <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<pre><code>@media (min-width:1200px) {
[data-self="1"].threaded {
    width: 50%;
    float: right;
    margin-right: 5% !important;
    transition: margin-left 0.3s ease, margin-right 0.3s ease;
    position: relative;
    padding-bottom: 20px !important;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 0.375rem;
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-navbar);
}
[data-self="1"].threaded::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 20px;
    width: 0;
    z-index: 1;
    right: -30px;
    border-width: 15px 15px 15px 0;
    border: 15px solid var(--bs-border-color);
    border-color: transparent transparent transparent var(--bs-border-color) !important;
    }
[data-self="1"].threaded:after {
    content: " ";
    position: absolute;
    top: 20px;
    z-index: 2;
    border: 15px solid var(--bs-body-bg);
    border-color: transparent transparent transparent var(--bs-body-navbar) !important;
    right: -29px;
    border-width: 15px 15px 15px 0;
    border: 15px solid var(--bs-body-navbar);
}
[data-self="0"].threaded {
    width: 50%;
    float: left;
    margin-left: 5% !important;
    transition: margin-left 0.3s ease, margin-right 0.3s ease;
    position: relative;
    padding-bottom: 20px !important;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 0.375rem;
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-navbar);
}
[data-self="0"].threaded::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 20px;
    width: 0;
    z-index: 1;
    left: -30px;
    border-width: 15px 15px 15px 0;
    border: 15px solid var(--bs-border-color);
    border-color: transparent var(--bs-border-color) transparent transparent !important;
}
[data-self="0"].threaded:after {
    content: " ";
    position: absolute;
    top: 20px;
    z-index: 2;
    border: 15px solid var(--bs-body-navbar);
    border-color: transparent var(--bs-body-navbar) transparent transparent !important;
    left: -14px;
    border-width: 15px 15px 15px 0;
}
    [component="chat/message"] {
        transition: margin-left 0.3s ease, margin-right 0.3s ease;  
    }
    [data-self="1"][component="chat/message"] .message-body-wrapper.threaded {
        float: right;
    }
    [data-self="1"][component="chat/message"] .message-header.threaded{
        float: right;
    }
    [component="chat/message/controls"] {
        top: 30px;
    }
    [component="chat/system-message"] {
        clear: both;
    }
}
</code></pre>
]]></description><link>https://sudonix.org/post/7592</link><guid isPermaLink="true">https://sudonix.org/post/7592</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Mon, 25 Sep 2023 19:39:23 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 18:18:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> a perfect translation and expression. Same in English!</p>
]]></description><link>https://sudonix.org/post/7591</link><guid isPermaLink="true">https://sudonix.org/post/7591</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Mon, 25 Sep 2023 18:18:42 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 18:18:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phenomlab" aria-label="Profile: phenomlab">@<bdi>phenomlab</bdi></a> said in <a href="/post/7589">Threaded chat support for NodeBB</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> said in <a href="/post/7588">Threaded chat support for NodeBB</a>:</p>
<blockquote>
<p dir="auto">I think my users will be happy to have this functionality !!!</p>
</blockquote>
<p dir="auto">Yes, I think this makes chat so much easier to navigate.</p>
</blockquote>
<p dir="auto">Yes, it’s actually easier to read and more ergonomic and pretty to top it off ! (I don’t know if this expression exists in English <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> )</p>
]]></description><link>https://sudonix.org/post/7590</link><guid isPermaLink="true">https://sudonix.org/post/7590</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Mon, 25 Sep 2023 18:18:05 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 18:11:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> said in <a href="/post/7588">Threaded chat support for NodeBB</a>:</p>
<blockquote>
<p dir="auto">I think my users will be happy to have this functionality !!!</p>
</blockquote>
<p dir="auto">Yes, I think this makes chat so much easier to navigate.</p>
]]></description><link>https://sudonix.org/post/7589</link><guid isPermaLink="true">https://sudonix.org/post/7589</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Mon, 25 Sep 2023 18:11:25 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 18:10:16 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://media.tenor.com/pOZjKmXDwKkAAAAC/haha-laughing.gif" alt="" class=" img-fluid img-markdown" />  Definitively better, you can add it to git <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">In any case, enormous work and as usual : many thanks<br />
I think my users will be happy to have this functionality !!!</p>
]]></description><link>https://sudonix.org/post/7588</link><guid isPermaLink="true">https://sudonix.org/post/7588</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Mon, 25 Sep 2023 18:10:16 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 17:18:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> Wait - I see it now - wrong room <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f926.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--face_palm" style="height:23px;width:auto;vertical-align:middle" title=":face_palm:" alt="🤦" /></p>
<p dir="auto">Try this</p>
<pre><code>[component="chat/system-message"] {
    clear: both;
}
</code></pre>
]]></description><link>https://sudonix.org/post/7587</link><guid isPermaLink="true">https://sudonix.org/post/7587</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Mon, 25 Sep 2023 17:18:04 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 17:09:57 GMT]]></title><description><![CDATA[<p dir="auto">hmmm strange same things in incognito mode.<br />
Have you tets to go here :</p>
<p dir="auto"><img src="/assets/uploads/files/1695661796111-b4aeb348-964f-4ee7-bc1c-b83bb169e7fd-image-resized.png" alt="image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://sudonix.org/post/7586</link><guid isPermaLink="true">https://sudonix.org/post/7586</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Mon, 25 Sep 2023 17:09:57 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 15:05:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> said in <a href="/post/7582">Threaded chat support for NodeBB</a>:</p>
<blockquote>
<p dir="auto">Notice the bug for system event persist even having updated the chat banner code</p>
</blockquote>
<p dir="auto">I cannot replicate this on your dev environment.</p>
]]></description><link>https://sudonix.org/post/7585</link><guid isPermaLink="true">https://sudonix.org/post/7585</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Mon, 25 Sep 2023 15:05:50 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 15:07:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> said in <a href="/post/7582">Threaded chat support for NodeBB</a>:</p>
<blockquote>
<p dir="auto">And other question : I see that there is no border for the arrows, can we add some like this ?</p>
</blockquote>
<p dir="auto">This is actually a lot more complex than it looks - mostly because you cannot draw an additional border around the pseudo element because one already exists. It’s still possible, with the below changes</p>
<pre><code>[data-self="1"].threaded {
    /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; */
}
[data-self="0"].threaded {
    /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; */
}

[data-self="1"].threaded {
    border: 1px solid var(--bs-border-color);
}
[data-self="0"].threaded {
    border: 1px solid var(--bs-border-color);  
}
[data-self="0"].threaded::before {
    border-color: transparent var(--bs-border-color) transparent transparent !important;
}
[data-self="0"].threaded:after {
    content: " ";
    position: absolute;
    top: 20px;
    z-index: 2;
    border: 15px solid var(--bs-body-bg);
    border-color: transparent var(--bs-body-bg) transparent transparent !important;
    left: -14px;
    border-width: 15px 15px 15px 0;
}
[data-self="1"].threaded::before {
border-color: transparent transparent transparent var(--bs-border-color) !important;
}
[data-self="1"].threaded:after {
    content: " ";
    position: absolute;
    top: 20px;
    z-index: 2;
    border: 15px solid var(--bs-body-bg);
    border-color: transparent transparent transparent var(--bs-body-bg) !important;
    right: -29px;
    border-width: 15px 15px 15px 0;
    border: 15px solid var(--bs-body-bg);
}
</code></pre>
<p dir="auto">Obviously, we are removing the <code>box-shadow</code> directive here and replacing it with a border. Then we need to add <code>:after</code> pseudo elements to “overlay” the <code>:before</code> to create the transparent background. This then yields the below effect</p>
<p dir="auto"><img src="/assets/uploads/files/1695653774746-75fb47a3-2558-4262-a204-f7086fa45d34-image.png" alt="75fb47a3-2558-4262-a204-f7086fa45d34-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If you want to go cheap, you could skip this <span class="glossary-wrapper" title="Cascading Style Sheets" data-bs-toggle="tooltip" data-bs-placement="top"><span class="glossary-word">CSS</span></span> <em>altogether</em>, and just use a background on the <code>[data-self="0"].threaded</code> and <code>[data-self="1"].threaded</code> elements - as long as it is the same color as the border, it’ll be fine.</p>
<p dir="auto">For example</p>
<pre><code>[data-self="1"].threaded {
    /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; */
    background: var(--bs-body-navbar);
}
[data-self="0"].threaded {
    /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; */
    background: var(--bs-body-navbar);
}
[data-self="0"].threaded::before {
    border-color: transparent var(--bs-body-navbar) transparent transparent !important;
}
[data-self="1"].threaded::before {
    border-color: transparent transparent transparent var(--bs-body-navbar) !important;
}
</code></pre>
<p dir="auto">This would yield</p>
<p dir="auto"><img src="/assets/uploads/files/1695654230959-7623d57e-0999-4519-acc6-3bf00cdbebc4-image.png" alt="7623d57e-0999-4519-acc6-3bf00cdbebc4-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">As you can see, it’s a lot less effort to not include any borders. However, there are some great examples shown here - it really depends on how complex you want it to be</p>
<p dir="auto"><a href="https://devsnap.me/css-speech-bubbles" target="_blank" rel="noopener noreferrer nofollow ugc">https://devsnap.me/css-speech-bubbles</a></p>
]]></description><link>https://sudonix.org/post/7584</link><guid isPermaLink="true">https://sudonix.org/post/7584</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Mon, 25 Sep 2023 15:07:52 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 13:32:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/downpw" aria-label="Profile: DownPW">@<bdi>DownPW</bdi></a> Yep. Let me have a quick look.</p>
]]></description><link>https://sudonix.org/post/7583</link><guid isPermaLink="true">https://sudonix.org/post/7583</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Mon, 25 Sep 2023 13:32:33 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Mon, 25 Sep 2023 13:32:42 GMT]]></title><description><![CDATA[<p dir="auto">hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/phenomlab" aria-label="Profile: phenomlab">@<bdi>phenomlab</bdi></a></p>
<p dir="auto">Test the last code.<br />
Working very well, definitively better <img src="https://sudonix.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2aae5d77d27" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Notice the bug for system event persist even having updated the chat banner code</p>
<p dir="auto"><img src="/assets/uploads/files/1695648521911-60476622-56ab-4a0d-9502-09be614756a8-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">And other question : I see that there is no border for the arrows, can we add some like this ?</p>
<p dir="auto"><img src="/assets/uploads/files/1695648720755-53d00aea-23b0-4bb3-b826-bb3aed1b6583-image.png" alt="53d00aea-23b0-4bb3-b826-bb3aed1b6583-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://sudonix.org/post/7582</link><guid isPermaLink="true">https://sudonix.org/post/7582</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Mon, 25 Sep 2023 13:32:42 GMT</pubDate></item><item><title><![CDATA[Reply to Threaded chat support for NodeBB on Sun, 24 Sep 2023 12:43:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cagatay" aria-label="Profile: cagatay">@<bdi>cagatay</bdi></a> this is because your are using the sudonix theme which isn’t stock Harmony which this post is designed for.</p>
<p dir="auto">You will need custom <span class="glossary-wrapper" title="Cascading Style Sheets" data-bs-toggle="tooltip" data-bs-placement="top"><span class="glossary-word">CSS</span></span> to resolve this which is why I am reluctant to provide the sudonix code and associated themes because of the issues it will cause further down the line when you attempt to use add-on code that is not designed for direct usage, but for stock Harmony.</p>
]]></description><link>https://sudonix.org/post/7575</link><guid isPermaLink="true">https://sudonix.org/post/7575</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Sun, 24 Sep 2023 12:43:35 GMT</pubDate></item></channel></rss>