Skip to content

Rendering issues post migration to Sudonix theme/code

Solved Bugs
49 4 20.5k 1
  • wrote on last edited by
    #1

    @phenomlab hi
    One of my user sent to me photo and she said that cant see anything, using android mobile.
    What can be problem for her?

    image.png

  • wrote on last edited by
    #5

    Changed theme and problem is fixed.
    I have one more question, when user is typing there is a module name. It should be ‘‘Username is typing’’ but module name seems how i can fix it?

    image.png

  • @phenomlab hi
    One of my user sent to me photo and she said that cant see anything, using android mobile.
    What can be problem for her?

    image.png

    wrote on last edited by
    #2

    @cagatay That’s a cache issue. Tell her to empty the cache on her browser and try again. This is because the themes have all changed and she’s attempting to use one that no longer exists

    I see this on your site

    911dba38-2de0-45b9-81b8-187cc85c10f0-image.png

  • wrote on last edited by
    #3

    She said that chache is cleared and reloaded all but faced same problem not fixed.

  • She said that chache is cleared and reloaded all but faced same problem not fixed.

    wrote on last edited by phenomlab
    #4

    @cagatay I can’t reproduce this. Ask her to test using an Incognito session

    Also, ask her to tap the swatch icon on the top right of the screen and try selecting a theme.

  • wrote on last edited by
    #5

    Changed theme and problem is fixed.
    I have one more question, when user is typing there is a module name. It should be ‘‘Username is typing’’ but module name seems how i can fix it?

    image.png

  • wrote on last edited by DownPW
    #6

    Translation problem. There is no translation for your language.

    You can doing the translation on Transifex and wait for an update

  • phenomlab phenomlab marked this topic as a question on
  • phenomlab phenomlab has marked this topic as solved on
  • wrote on last edited by cagatay
    #7

    Hi Mark
    I changed the color of bs card cap bg on light.css doc but the color changed other one and cant chage it my color to #e9e9e9

        --bs-card-cap-bg: #e9e9e9;
    

    How can i fix it, thank you.

    image.png

    32bb4381-94e9-4615-b48d-136f4a00a2f5-image.png

  • wrote on last edited by
    #8

    I fixed it 🙂

  • wrote on last edited by DownPW
    #9

    This means that the variable is also used for other elements.
    2 solutions:

    Find a color that works well for all elements
    Change the variable for problem items

    edit: oups

  • This means that the variable is also used for other elements.
    2 solutions:

    Find a color that works well for all elements
    Change the variable for problem items

    edit: oups

    wrote on last edited by
    #10

    @DownPW said in Rendering issues post migration to Sudonix theme/code:

    This means that the variable is also used for other elements.

    Exactly.

  • wrote on last edited by
    #11

    Hi
    How can i add topic author icon?

  • Hi
    How can i add topic author icon?

    wrote on last edited by
    #12
  • wrote on last edited by
    #13

    you can see the time section on home page,

    image.png

    but we go to the another page, the time section disappears adn only username written.
    how we can fix it?

    image.png

  • you can see the time section on home page,

    image.png

    but we go to the another page, the time section disappears adn only username written.
    how we can fix it?

    image.png

    wrote on last edited by phenomlab
    #14

    @cagatay In ACP->/admin/appearance/customise#custom-js locate the function with the description of

    Footer Greeting
    

    Delete these lines

        if (window.location.href.indexOf("topic") > -1) {
            //console.log("This is a topic, so hide the user welcome message");
           bar.removeClass('show');
        } else {
            $('.getUsername').prepend(themessage);
    
        }
    

    Remove the remark from

        //	$('.getUsername').prepend(themessage);
    

    So you have just

        $('.getUsername').prepend(themessage);
    

    Complete code

    // Footer Greeting
    $(window).on('action:ajaxify.end', function(data) {
        var bar = $('.reading-meter');
        function updateUsername() {
            $('.getUsername .username').text(app.user.username);
            $('.topicUsername').text(app.user.username);
        }
        if (document.readyState === 'loading') {
            document.addEventListener('DOMContentLoaded', updateUsername);
        } else {
            updateUsername();
        }
        var thehours = new Date().getHours();
        var themessage;
        var morning = ('Good morning');
        var afternoon = ('Good afternoon');
        var evening = ('Good evening');
        var matched = false;
        $('#getConsent').attr("href", "/user/" + app.user.username + "/consent");
        if (thehours >= 0 && thehours < 12) {
            themessage = morning;
    
        } else if (thehours >= 12 && thehours < 17) {
            themessage = afternoon;
    
        } else if (thehours >= 17 && thehours < 24) {
            themessage = evening;
        }
        $('.getUsername').prepend(themessage);
    });
    

    That will enable the message again

    24fc2101-e750-463a-b150-e63559bb84f8-image.png

  • @cagatay In ACP->/admin/appearance/customise#custom-js locate the function with the description of

    Footer Greeting
    

    Delete these lines

        if (window.location.href.indexOf("topic") > -1) {
            //console.log("This is a topic, so hide the user welcome message");
           bar.removeClass('show');
        } else {
            $('.getUsername').prepend(themessage);
    
        }
    

    Remove the remark from

        //	$('.getUsername').prepend(themessage);
    

    So you have just

        $('.getUsername').prepend(themessage);
    

    Complete code

    // Footer Greeting
    $(window).on('action:ajaxify.end', function(data) {
        var bar = $('.reading-meter');
        function updateUsername() {
            $('.getUsername .username').text(app.user.username);
            $('.topicUsername').text(app.user.username);
        }
        if (document.readyState === 'loading') {
            document.addEventListener('DOMContentLoaded', updateUsername);
        } else {
            updateUsername();
        }
        var thehours = new Date().getHours();
        var themessage;
        var morning = ('Good morning');
        var afternoon = ('Good afternoon');
        var evening = ('Good evening');
        var matched = false;
        $('#getConsent').attr("href", "/user/" + app.user.username + "/consent");
        if (thehours >= 0 && thehours < 12) {
            themessage = morning;
    
        } else if (thehours >= 12 && thehours < 17) {
            themessage = afternoon;
    
        } else if (thehours >= 17 && thehours < 24) {
            themessage = evening;
        }
        $('.getUsername').prepend(themessage);
    });
    

    That will enable the message again

    24fc2101-e750-463a-b150-e63559bb84f8-image.png

    wrote on last edited by
    #15

    @phenomlab thank you Mark.

  • wrote on last edited by
    #16

    The mentioned codes are not in my CSS, I think we solved this situation with the widget?

  • The mentioned codes are not in my CSS, I think we solved this situation with the widget?

    wrote on last edited by
    #17

    @cagatay said in Rendering issues post migration to Sudonix theme/code:

    The mentioned codes are not in my CSS, I think we solved this situation with the widget?

    Here :

    @phenomlab said in Rendering issues post migration to Sudonix theme/code:

    @cagatay In ACP->/admin/appearance/customise#custom-js

  • The mentioned codes are not in my CSS, I think we solved this situation with the widget?

    wrote on last edited by
    #18

    @cagatay said in Rendering issues post migration to Sudonix theme/code:

    The mentioned codes are not in my CSS, I think we solved this situation with the widget?

    This is not CSS - it’s JS, hence ACP->/admin/appearance/customise#custom-js

  • wrote on last edited by
    #19

    ah soryy for my mistake 🙂

  • ah soryy for my mistake 🙂

    wrote on last edited by
    #20

    @cagatay dog you get this working eventually?


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • "most votes" ranking option is not respecting the plugin

    Bugs nodebb
    5
    1
    3 Votes
    5 Posts
    2k Views
    phenomlab
    @crazycells Agreed. It takes a more sensible approach. Nobody ever upvotes the first post - it’s usually much further down as the conversation progresses.
  • problem with search page and copyright in footer

    Solved Bugs bug
    13
    1
    6 Votes
    13 Posts
    4k Views
    crazycells
    @phenomlab yes, search page is fixed thanks
  • Is NTFY working properly on iOS?

    Bugs
    10
    5 Votes
    10 Posts
    4k Views
    crazycells
    @phenomlab thx, the same for us. It sees 1.7.3 as the last version although it is updated to 1.7.4… i will report this to @barisusakli
  • Nodebb 3.2.2

    Bugs nodebb 3.2.2
    27
    1
    11 Votes
    27 Posts
    11k Views
    phenomlab
    @crazycells yes, I’ve just seen that and modified the post. It seems to only happen if you have a space between the “greater than” symbol and the actual text. Clearly a markdown thing.
  • Permission issues

    Solved Bugs
    8
    2 Votes
    8 Posts
    3k Views
    phenomlab
    @Panda I forked this topic out of the previous thread as it’s an issue in it’s own right. Having checked, I see the reason why [image: 06d082f0-6c7d-443b-98bc-94db5f3e5d0e-image.png] As you can see from the screenshot, category “Announcements” does not permit editing. This specific category was originally read only, which I then changed to members could reply. Looks like I forgot to add the right to edit Should be fixed now [image: a533d8ff-23f1-432e-a4a6-3d10cb05a46d-image.png]
  • NodeBB upgrade now cant post

    Solved Bugs nodebb
    5
    2 Votes
    5 Posts
    2k Views
    phenomlab
    @Panda yes, for some reason, that is the case. If you need an urgent response, it’s probably better to post here because of the time difference.
  • Issues with Imgur images in Fancybox chat module

    Bugs fancybox chat
    12
    1
    2 Votes
    12 Posts
    4k Views
    phenomlab
    @DownPW looks good to me.
  • Nav Drop-down [Sudonix]

    Moved Bugs
    3
    1
    1 Votes
    3 Posts
    2k Views
    JAC
    @phenomlab said in Nav Drop-down [Sudonix]: @jac Fixed [image: d2e5410b-fa82-4fc9-a861-7913d3c560ab-image.png] Thanks for reporting. Thanks mate, not a problem .