Skip to content

Nodebb 3.2.0

Bugs
20 4 6.8k 2
  • wrote on last edited by
    #1

    Hi Mark.

    There is a problem after upgrading to v 3.2.0 on first post as below;

    39005d2a-11b3-4531-afe2-6298e2ac4afb-image.png

    Post link is;

    https://efelsefe.com/topic/1581/ölçmek

  • Hi Mark.

    There is a problem after upgrading to v 3.2.0 on first post as below;

    39005d2a-11b3-4531-afe2-6298e2ac4afb-image.png

    Post link is;

    https://efelsefe.com/topic/1581/ölçmek

    wrote on last edited by
    #2

    @cagatay Can you explain the issue in more detail? Apart from some minor CSS alignment, it’s not obvious.

  • wrote on last edited by
    #3

    i think my css codes should be cleared.
    vote area not working for example as for the first post.
    and that photo was taken by andorid phone.

  • i think my css codes should be cleared.
    vote area not working for example as for the first post.
    and that photo was taken by andorid phone.

    wrote on last edited by
    #4

    @cagatay In the console, I see Adding required classes for messenger type view which would have been a modified class that referred to the messenger type view I created for 1.x of the NodeBB software. As previously stated, it’s not valid for 3.x so will need to be removed.

    I’ll login to your site now and take a look.

  • @cagatay In the console, I see Adding required classes for messenger type view which would have been a modified class that referred to the messenger type view I created for 1.x of the NodeBB software. As previously stated, it’s not valid for 3.x so will need to be removed.

    I’ll login to your site now and take a look.

    wrote on last edited by cagatay
    #5

    @phenomlab thank you for your prompt response.

  • @phenomlab thank you for your prompt response.

    wrote on last edited by
    #6

    @cagatay No problem. Reload your site and test.

  • wrote on last edited by
    #7

    yes, everything is okey now, but changed my icon for upvote and downvote 🙂

  • yes, everything is okey now, but changed my icon for upvote and downvote 🙂

    wrote on last edited by
    #8

    @cagatay Yes, you’ll need to set those back to what you want them to be.

    I had to remove all of your CSS, and replace it with a working copy I have. This issue stems from new classes and viewports being introduced in 3.2.0 and because you had overriding classes from the previous 1.x version, it caused the issues you were experiencing.

    The upside of this is that this CSS code is bleeding edge - the downside is that any customisations you made will need to be put back.

  • wrote on last edited by
    #9

    thank you Mark.

  • wrote on last edited by
    #10
    This post is deleted!
  • wrote on last edited by
    #11

    For my part, since I upgraded to 3.2.0, the page takes longer to load than before and I see this socket error :

    ba99dc1a-ba4a-4b23-ace0-6cf17975439f-image.png

  • For my part, since I upgraded to 3.2.0, the page takes longer to load than before and I see this socket error :

    ba99dc1a-ba4a-4b23-ace0-6cf17975439f-image.png

    wrote on last edited by
    #12

    @DownPW can you try disabling Cloudflare and let me know if that resolves the issue?

  • wrote on last edited by DownPW
    #13

    @phenomlab

    If is here, already disable.

    image.png

    Same in incognito

    if i disable OGproxy (ACP/custom JS), it’s better (more fast) but I have the error.

  • @phenomlab

    If is here, already disable.

    image.png

    Same in incognito

    if i disable OGproxy (ACP/custom JS), it’s better (more fast) but I have the error.

    wrote on last edited by
    #14

    @DownPW OGProxy has no bearing on sockets. The only thing that could possibly slow down a reverse proxy is a slow DNS lookup. What happens if you change the DNS to (for example) 8.8.8.8 or 1.1.1.1 ?

    Do you have any firewall device in between the internet and your server?

  • wrote on last edited by DownPW
    #15

    @phenomlab

    hmmm no and no. I have test on 2 diffèrent physical site (home and work)
    Since upgrade, I haven’t constated this.

    I haven’t this error on my VM in local (no domain)
    I have deactivate proxied on DNS entry on Cloudflare = same

  • @phenomlab

    hmmm no and no. I have test on 2 diffèrent physical site (home and work)
    Since upgrade, I haven’t constated this.

    I haven’t this error on my VM in local (no domain)
    I have deactivate proxied on DNS entry on Cloudflare = same

    wrote on last edited by
    #16

    @DownPW I’ll have a look at this tomorrow. I assume this is your Dev server?

  • wrote on last edited by
    #17

    Yes dev serv

  • @phenomlab

    hmmm no and no. I have test on 2 diffèrent physical site (home and work)
    Since upgrade, I haven’t constated this.

    I haven’t this error on my VM in local (no domain)
    I have deactivate proxied on DNS entry on Cloudflare = same

    wrote on last edited by
    #18

    @DownPW Just checked your site this morning. I see no slowness at all, and there are no socket errors for me 🙂

  • wrote on last edited by
    #19

    hi @phenomlab , I think there is a bug on /groups page, “verified” group looks weird.

    https://sudonix.org/groups

  • hi @phenomlab , I think there is a bug on /groups page, “verified” group looks weird.

    https://sudonix.org/groups

    wrote on last edited by phenomlab
    #20

    @crazycells yes, I’m aware of that. Need to fix

    EDIT- fixed. Caused by the same CSS that is used to absolutely position the “verified” group badge in the posts view. Amended this CSS so that is specifically targets the post stream as below

        li[component="post"] a[href*="/groups/verified"] {
            position: absolute !important;
            left: 8px;
            z-index: 2;
            margin-top: 1px;
            border-radius: 999px !important;
            line-height: 14px;
            display: block;
            height: 22px;
            margin-left: 0px !important;
        }
    

Related Topics
  • CSS code customization for the link preview plugin

    Solved Customisation css nodebb
    6
    2
    3 Votes
    6 Posts
    3k Views
    phenomlab
    @kadir-ay-0 marking as resolved based on https://community.nodebb.org/topic/17109/manual-build-a-night-mode-for-harmony/5 Please do not raise requests in two places - here and the NodeBB forums. All this does is create unnecessary load for both parties.
  • SEO and Nodebb

    Performance nodebb seo
    2
    2 Votes
    2 Posts
    2k Views
    phenomlab
    @Panda It’s the best it’s ever been to be honest. I’ve used a myriad of systems in the past - most notably, WordPress, and then Flarum (which for SEO, was absolutely dire - they never even had SEO out of the box, and relied on a third party extension to do it), and NodeBB easily fares the best - see below example https://www.google.com/search?q=site%3Asudonix.org&oq=site%3Asudonix.org&aqs=chrome..69i57j69i60j69i58j69i60l2.9039j0j3&sourceid=chrome&ie=UTF-8#ip=1 However, this was not without significant effort on my part once I’d migrated from COM to ORG - see below posts https://community.nodebb.org/topic/17286/google-crawl-error-after-site-migration/17?_=1688461250365 And also https://support.google.com/webmasters/thread/221027803?hl=en&msgid=221464164 It was painful to say the least - as it turns out, there was an issue in NodeBB core that prevented spiders from getting to content, which as far as I understand, is now fixed. SEO in itself is a dark art - a black box that nobody really fully understands, and it’s essentially going to boil down to one thing - “content”. Google’s algorithm for indexing has also changed dramatically over the years. They only now crawl content that has value, so if it believes that your site has nothing to offer, it will simply skip it.
  • Plugin to show images in teasers

    General nodebb teaser image plugin hook
    6
    1
    2 Votes
    6 Posts
    2k Views
    phenomlab
    @dave1904 I’d start by adding a console.log function to hookData so you can see what is being returned return hookData; console.log(hookData):
  • Can you adjust Admin settings on your NodeBB?

    Bugs nodebb
    5
    0 Votes
    5 Posts
    2k Views
    phenomlab
    @Panda as, yes, now I understand and that makes 100% sense. It means those who get down voted can still have an opinion and use common services. And yes, you’re right. Rather than down vote, just ignore if you don’t agree.
  • Email validation NodeBB

    Bugs nodebb
    21
    3 Votes
    21 Posts
    10k Views
    phenomlab
    @Panda said in Email validation NodeBB: Did you configure that as a custom change to the usual quote icon. How do you do that? I notice on NodeBB site its a solid blue quotes Yes, I changed it. NodeBB by default users the free font awesome library whereas I use the pro (paid) version SDK have access to a wider set of icons, and at different thicknesses etc. The change of colour is just simple CSS.
  • restarting nodebb on boot

    Unsolved Configure nodebb
    3
    1 Votes
    3 Posts
    2k Views
    phenomlab
    @eeeee said in restarting nodebb on boot: can I just run nodebb under nodemon for auto restarts? It’s a better method. Nodemon just looks for file system changes and would effectively die if the server was rebooted meaning you’d have to start it again anyway. Systemd is the defacto standard which is how the operating system interacts in terms of services, scheduled tasks etc.
  • Title on homepage of nodebb forum

    Solved Customisation nodebb
    2
    1 Votes
    2 Posts
    2k Views
    phenomlab
    @eveh Welcome board The code you are referring to is custom written as no such functionality exists under NodeBB. However, adding the functionality is relatively trivial. Below are the required steps Navigate to /admin/appearance/customise#custom-header Add the below code to your header, and save once completed <ol id="mainbanner" class="breadcrumb"><li id="addtext">Your Title Goes Here</li></ol> Navigate to /admin/appearance/customise#custom-js and add the below code, then save $(document).ready(function() { $(window).on('action:ajaxify.end', function(data) { // Initialise mainbanner ID, but hide it from view $('#mainbanner').hide(); var pathname = window.location.pathname; if (pathname === "/") { $("#addtext").text("Your Title"); $('#mainbanner').show(); } else {} // If we want to add a title to a sub page, uncomment the below and adjust accordingly //if (pathname === "/yourpath") { //$("#addtext").text("Your Title"); //$('#mainbanner').show(); //} }); }); Navigate to /admin/appearance/customise#custom-css and add the below CSS block .breadcrumb { right: 0; margin-right: auto; text-align: center; background: #0086c4; color: #ffffff; width: 100vw; position: relative; margin-left: -50vw; left: 50%; top: 50px; position: fixed; z-index: 1020; } Note, that you will need to adjust your CSS code to suit your own site / requirements.
  • nodebb dropdown menu

    Solved Configure nodebb
    5
    1
    0 Votes
    5 Posts
    3k Views
    JAC
    @phenomlab said in nodebb dropdown menu: @kurulumu-net You set it like the below example taken from this site [image: aae36790-3257-4bb2-ad5a-0d744309876a-image.png] Which presents this [image: 77f47260-2941-4afe-9614-8e17dcfc8c19-image.png] Very interesting… I actually thought this wasn’t possible, as I remember it being asked in the NodeBB forum. Is this something new that’s been implemented? I’ll 100% be doing that when I’m on the laptop over the weekend.