Displaying/linking forum posts on Wordpress blog

General Discussion

Suggested Topics

  • 2 Votes
    9 Posts

    @pitaj said in Block composer during upload/resize:

    So you can still submit while multiple photos are uploading?

    Yes - or at least when I tried the last time, the upload showed 100%, but the tags were not replaced with the "resize". So maybe the upload was finished, but not the resize? 🤷

    @baris said in Block composer during upload/resize:

    Maybe it's a bug with the code that replaces the progress text with the actual filename. https://github.com/NodeBB/nodebb-plugin-composer-default/blob/master/static/lib/composer/uploads.js#L234-L248

    So the upload is successful and it lets you submit the post but if the above code fails it won't replace the Upload 100% with the url of the image.

    When you reproduce this please check the network tab for the upload request and check if the file was uploaded in your public/uploads folder.

    The uploads do not end up in the /uploads/files/ folder.

    I'm using the hosted solution of nodeBB, and am of course happy to help debug further!

  • 0 Votes
    1 Posts

    Hello all,

    I am using NodeBB 1.16.2 with Oxide theme. No other plugins except the ones that came with the installation. Every time I call a page I get the following 404 message in the nginx log:

    178.xxx.xxx.xxx - - [09/Apr/2021:10:52:02 +0000] "GET /assets/src/client/footer.js?v=4u8ga71iu38 HTTP/2.0" 404 9 "https://xxxx.xx/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0"

    I just can't find the appropriate call to it though:

    # locate footer.js /var/www/nodebb/build/public/templates/admin/footer.js /var/www/nodebb/build/public/templates/admin/partials/settings/footer.js /var/www/nodebb/build/public/templates/emails/partials/footer.js /var/www/nodebb/build/public/templates/footer.js /var/www/nodebb/install/data/footer.json /var/www/nodebb# grep -R "footer.js" * CHANGELOG.md:* add partials/footer/js.tpl (94da9fe5) node_modules/nodebb-theme-vanilla/templates/footer.tpl: <!-- IMPORT partials/footer/js.tpl --> node_modules/nodebb-theme-persona/templates/footer.tpl: <!-- IMPORT partials/footer/js.tpl --> src/install.js: fs.promises.readFile(path.join(__dirname, '../', 'install/data/footer.json'), 'utf8'),

    Can someone please help me or point me in the right direction? I am unfortunately a newbie in the NodeBB area. Thanks!

    Translated with www.DeepL.com/Translator (free version)

  • 0 Votes
    6 Posts

    Yeah, so then you're probably on v.1.1.2 or close to it. You need to wipe your DB, and then start over, checking out v1.0.0: cd <your NodeBB directory> && rm -rf node_modules && git checkout v1.0.0 && ./nodebb install

  • 1 Votes
    3 Posts

    Thanks, yeah I wrote a game server rcon web socket bot, which stores all the player information, so got the just of using mongo update/inserts/find functionality just never made a plugin for nodebb so was kinda weird on how to start lol.

  • 0 Votes
    4 Posts

    @Kowlin Hey, thank you for your time in response, and for sure i have done my research on this amazing software forum, i agree it is one of a kind 🙂
    i have VPS server,
    you know anyone that can possibly help ?