<?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[CTA banner for visitors]]></title><description><![CDATA[<p dir="auto">banner is duplicated, please see the pic attached.</p>
<p dir="auto"><img src="/assets/uploads/files/1777387638357-screenshot-2026-04-28-at-10.46.33.png" alt="Screenshot 2026-04-28 at 10.46.33.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://sudonix.org/topic/740/cta-banner-for-visitors</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 21:20:36 GMT</lastBuildDate><atom:link href="https://sudonix.org/topic/740.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Apr 2026 14:49:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CTA banner for visitors on Wed, 29 Apr 2026 12:47:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/crazycells" aria-label="Profile: crazycells">@<bdi>crazycells</bdi></a> Yes, because of this code</p>
<pre><code>$(document).ready(function () {
    $(window).on('action:ajaxify.end', function (data) {
        if (config &amp;&amp; config.uid &gt; 0) {
            // User is logged in, so don't fire any message
        } else {
            // Insert content into the selected element
            var addAfterLastPost = $(
                "&lt;div class='alert alert-warning alert-dismissible fade show' role='alert'&gt;" +
                "&lt;p&gt;&lt;strong&gt;Hello! It looks like you're interested in this conversation, but you don't have an account yet.&lt;/strong&gt;&lt;/p&gt;" +
                "&lt;p&gt;Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, " +
                "and choose to be notified of new replies (ether email, or push notification). You'll also be able to save bookmarks, use reactions, and upvote to show your appreciation to other community members.&lt;/p&gt;" +
                "&lt;p&gt;With your input, this post could be even better 💗"+
                "&lt;br&gt;&lt;br&gt;"+
                "&lt;a style='margin-right:5px;' component='topic/reply/guest' href='/register' class='fw-semibold btn btn-sm btn-warning'&gt;Register&lt;/a&gt;" +
                "&lt;a component='topic/reply/guest' href='/login' class='fw-semibold btn btn-sm btn-info'&gt;Log in&lt;/a&gt;" +
                "&lt;button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'&gt;&lt;/button&gt;" +
                "&lt;/div&gt;"
            );
            $('ul[component="topic"]').after(addAfterLastPost);
        }
    });
});
</code></pre>
<p dir="auto">This was adopted into core as far as I know, so I’ve removed my manual code.</p>
]]></description><link>https://sudonix.org/post/10534</link><guid isPermaLink="true">https://sudonix.org/post/10534</guid><dc:creator><![CDATA[phenomlab]]></dc:creator><pubDate>Wed, 29 Apr 2026 12:47:45 GMT</pubDate></item><item><title><![CDATA[Reply to CTA banner for visitors on Tue, 28 Apr 2026 22:06:39 GMT]]></title><description><![CDATA[<p dir="auto">Very strange…<br />
Nothing in console ?</p>
]]></description><link>https://sudonix.org/post/10533</link><guid isPermaLink="true">https://sudonix.org/post/10533</guid><dc:creator><![CDATA[DownPW]]></dc:creator><pubDate>Tue, 28 Apr 2026 22:06:39 GMT</pubDate></item></channel></rss>