Skip to content

Iframely (Nodebb)

Solved Configure
40 4 7.4k 1
  • @jac I’m not entirely sure myself. I’ll need to take a better look.

    @phenomlab Thanks mate, I have no idea reading that how it can be hosted.

  • @phenomlab Thanks mate, I have no idea reading that how it can be hosted.

    @jac again this has stopped working, I wonder if it’s anything to do with nodebb not being updated to the latest version… 🤔

  • @jac again this has stopped working, I wonder if it’s anything to do with nodebb not being updated to the latest version… 🤔

    @jac said in Iframely (Nodebb):

    @jac again this has stopped working, I wonder if it’s anything to do with nodebb not being updated to the latest version… 🤔

    Maybe I should look at self hosting 🤔

  • @jac said in Iframely (Nodebb):

    @jac again this has stopped working, I wonder if it’s anything to do with nodebb not being updated to the latest version… 🤔

    Maybe I should look at self hosting 🤔

    @jac Potentially, yes. I know there is a limit, but in all likelihood it’s probably more about the IP address you are using connect to their services - they may have it blacklisted. Do you know if any error messages are displayed in the browser console ?

  • @phenomlab Thanks mate, although I have used this since the forum was set up. I believe the API key etc are in place.

    @jac I’m probably going to try this plugin here as I have a need for it (well, more of a desire actually), so I’ll let you know how my testing goes.

  • @jac having tested this, it appears to work fine, but there is one main caveat in the sense that it works only for raw URL’s inserted into the post.

    0b89112f-ec2d-4687-8172-bc996131490c-image.png

    So, if you have a link inserted and bound to a word, then that won’t be detected. This looks like quite a nice plugin, so it can stay 🙂 !

  • @jac I created a new API key using my account (you can have multiple keys, so not an issue for the moment), and this seems to work fine on your site

    d2978383-2326-486c-b1d1-b476644d74e0-image.png

    I can only assume that there is an issue with how you’ve configured iFramely under your own account. I’ll close this, as this isn’t a fault with the plugin itself.

    https://stockportcounty.fans/topic/259/test-1

  • phenomlabundefined phenomlab has marked this topic as solved on
  • @jac I created a new API key using my account (you can have multiple keys, so not an issue for the moment), and this seems to work fine on your site

    d2978383-2326-486c-b1d1-b476644d74e0-image.png

    I can only assume that there is an issue with how you’ve configured iFramely under your own account. I’ll close this, as this isn’t a fault with the plugin itself.

    https://stockportcounty.fans/topic/259/test-1

    @phenomlab said in Iframely (Nodebb):

    @jac I created a new API key using my account (you can have multiple keys, so not an issue for the moment), and this seems to work fine on your site

    d2978383-2326-486c-b1d1-b476644d74e0-image.png

    I can only assume that there is an issue with how you’ve configured iFramely under your own account. I’ll close this, as this isn’t a fault with the plugin itself.

    https://stockportcounty.fans/topic/259/test-1

    Just seen that it’s working, many thanks for that pal, I’ll keep an eye on it 😁👍🏻.

  • @jac having tested this, it appears to work fine, but there is one main caveat in the sense that it works only for raw URL’s inserted into the post.

    0b89112f-ec2d-4687-8172-bc996131490c-image.png

    So, if you have a link inserted and bound to a word, then that won’t be detected. This looks like quite a nice plugin, so it can stay 🙂 !

    @phenomlab said in Iframely (Nodebb):

    So, if you have a link inserted and bound to a word, then that won’t be detected. This looks like quite a nice plugin, so it can stay !

    Absolutely, looks tons better!

  • @phenomlab said in Iframely (Nodebb):

    So, if you have a link inserted and bound to a word, then that won’t be detected. This looks like quite a nice plugin, so it can stay !

    Absolutely, looks tons better!

    @jac said in Iframely (Nodebb):

    @phenomlab said in Iframely (Nodebb):

    So, if you have a link inserted and bound to a word, then that won’t be detected. This looks like quite a nice plugin, so it can stay !

    Absolutely, looks tons better!

    I don’t know about you mate but they have stopped working on my forum?

    Maybe It’s time to self host I do wonder if this would fix the issue.

  • @jac said in Iframely (Nodebb):

    @phenomlab said in Iframely (Nodebb):

    So, if you have a link inserted and bound to a word, then that won’t be detected. This looks like quite a nice plugin, so it can stay !

    Absolutely, looks tons better!

    I don’t know about you mate but they have stopped working on my forum?

    Maybe It’s time to self host I do wonder if this would fix the issue.

    @jac yeah, stopped working for me also so I decided to self host. Was quite painful to setup but I got there in the end and need to put together a guide on how to do it.

    I’ve used a subdomain for this based on security requirements and would recommend anyone else looking to self host do the same. The self hosted begin does have some limitations, but works very well for what I need as it’s active on Sudonix

  • @jac yeah, stopped working for me also so I decided to self host. Was quite painful to setup but I got there in the end and need to put together a guide on how to do it.

    I’ve used a subdomain for this based on security requirements and would recommend anyone else looking to self host do the same. The self hosted begin does have some limitations, but works very well for what I need as it’s active on Sudonix

    @phenomlab said in Iframely (Nodebb):

    @jac yeah, stopped working for me also so I decided to self host. Was quite painful to setup but I got there in the end and need to put together a guide on how to do it.

    I’ve used a subdomain for this based on security requirements and would recommend anyone else looking to self host do the same. The self hosted begin does have some limitations, but works very well for what I need as it’s active on Sudonix

    That’s great mate, I’d also be looking to self host if it has worked out well. A guide will be very useful 😁.

  • @phenomlab said in Iframely (Nodebb):

    @jac yeah, stopped working for me also so I decided to self host. Was quite painful to setup but I got there in the end and need to put together a guide on how to do it.

    I’ve used a subdomain for this based on security requirements and would recommend anyone else looking to self host do the same. The self hosted begin does have some limitations, but works very well for what I need as it’s active on Sudonix

    That’s great mate, I’d also be looking to self host if it has worked out well. A guide will be very useful 😁.

    @jac said in Iframely (Nodebb):

    @phenomlab said in Iframely (Nodebb):

    @jac yeah, stopped working for me also so I decided to self host. Was quite painful to setup but I got there in the end and need to put together a guide on how to do it.

    I’ve used a subdomain for this based on security requirements and would recommend anyone else looking to self host do the same. The self hosted begin does have some limitations, but works very well for what I need as it’s active on Sudonix

    That’s great mate, I’d also be looking to self host if it has worked out well. A guide will be very useful 😁.

    Although at the moment I have no laptop or way or doing any of this so there is no rush.

  • I have seen Iframely have this result for example for URL link ?

    6fe9e309-1b35-4faa-963e-ecc17a7233d9-image.png

    It’s a freescript or not ?
    If it’s self hosted, he have no limits ?

    How does it work ?

    I would be very interested in using it on my forum, which is why I would like a little more explanation or why not a little tutorial from our friend @phenomlab ha ha 😉

  • I have seen Iframely have this result for example for URL link ?

    6fe9e309-1b35-4faa-963e-ecc17a7233d9-image.png

    It’s a freescript or not ?
    If it’s self hosted, he have no limits ?

    How does it work ?

    I would be very interested in using it on my forum, which is why I would like a little more explanation or why not a little tutorial from our friend @phenomlab ha ha 😉

    @DownPW said in Iframely (Nodebb):

    It’s a freescript or not ?

    Yes, it’s the free (self hosted) version

    https://iframely.com/docs/host

    Everything you need is in the above document 🙂

  • I read the docs a bit and everything is not very clear, especially on the nginx reverse proxy conf for example or the cache or PM2/forever…

    I need to do some test to fully understand

  • I read the docs a bit and everything is not very clear, especially on the nginx reverse proxy conf for example or the cache or PM2/forever…

    I need to do some test to fully understand

    @DownPW The reverse proxy is relatively simple. I’m using the below

            location / {
                    proxy_set_header X-Real-IP $remote_addr;
                    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                    proxy_set_header Host $http_host;
                    proxy_set_header X-NginX-Proxy true;
    
                    proxy_pass http://127.0.0.1:8061/;
                    proxy_redirect off;
    
                    # Socket.IO Support
                    proxy_http_version 1.1;
                    proxy_set_header Upgrade $http_upgrade;
                    proxy_set_header Connection "upgrade";
            }
    

    If you’re not running MemCached or Redis then you can ignore the cache part and just use the NodeJS defaults. I much prefer PM2 as this provides greater flexibility and control (in my view)

    Below output from pm2 status

    4f610c55-504e-42fd-83d4-9bb41139cef9-image.png

  • @DownPW The reverse proxy is relatively simple. I’m using the below

            location / {
                    proxy_set_header X-Real-IP $remote_addr;
                    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                    proxy_set_header Host $http_host;
                    proxy_set_header X-NginX-Proxy true;
    
                    proxy_pass http://127.0.0.1:8061/;
                    proxy_redirect off;
    
                    # Socket.IO Support
                    proxy_http_version 1.1;
                    proxy_set_header Upgrade $http_upgrade;
                    proxy_set_header Connection "upgrade";
            }
    

    If you’re not running MemCached or Redis then you can ignore the cache part and just use the NodeJS defaults. I much prefer PM2 as this provides greater flexibility and control (in my view)

    Below output from pm2 status

    4f610c55-504e-42fd-83d4-9bb41139cef9-image.png

    @phenomlab

    I have install iframely like the doc, no cache app, no reverse proxy with PM2 and I have not modify config file.

    Results? it does not work 😉

    b5d7357c-0e6e-4480-838c-9175996bfe65-image.png

    55cd28ad-7779-4937-a665-dfb7a3e7d9f0-image.png

    something I missing ?

  • what I don’t understand is how Iframely can interact with NodeBB. There is nothing to configure on the NodeBB side?

  • I have install Iframely nodebb plugin and setup with my local IP (because it’s a VM on no prod server) like this :

    dfcaa6bd-ef9d-4cf3-95ad-f055beb8926c-image.png

    Doesn’t work


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
  • Opening links in nodebb widget

    Solved Configure nodebb
    6
    4 Votes
    6 Posts
    2k Views
    A more efficient way of including this would be to not over complicate it and leverage a standard iframe (providing the CSP headers of the remote site permit this) like below <iframe src="https://www.classmarker.com/online-test/start/?quiz=gag66aea7922f0a5" width="700" height="800"></iframe> This works first time every time on your site as intended.
  • NodeBB: hCaptcha

    Solved Configure hcaptcha
    15
    2 Votes
    15 Posts
    2k Views
    @mventures none that I know of. I don’t recall selecting these either for mine.
  • NodeBB: Upgrading to NodeBB v3.x

    Solved Configure nodebb v3.x
    6
    0 Votes
    6 Posts
    1k Views
    @mventures You’d need to connect to the server and execute it directly - not on your local terminal. Review the guide below, which will show you how to gain access via SSH to your server https://docs.ovh.com/gb/en/dedicated/ssh-introduction/ Once you have access, you’ll need to navigate to the actual folder where NodeBB is installed You’ll then need to change to the directory as shown below /home/unbuntu/nodebb [image: 1680448167972-fdffe673-bf63-4b6d-a728-5506fddc1aff-image.png] In most cases, initial access takes you to the root of the file system. You can always issue pwd in a Linux terminal which will show you the Present Working Directory. From there, you can issue the command cd /home/ubuntu/nodebb Once in the NodeBB directory, you’d use the below commands ./nodebb stop git fetch && git checkout develop && git reset --hard origin/develop ./nodebb upgrade ./nodebb start Line 1 stops the NodeBB instance Line 2 gets the latest files from GIT (repository) and then checks out the development branch. It then resets the version you are using to the development branch ready for v3 Line 3 Runs the upgrade once the new branch is set, and code pulled Line 4 Restarts the NodeBB instance after the upgrade has completed Note that when you restart NodeBB and log back in, things will look very different to what you had in v2.
  • NodeBB: Creating the Swatch modes

    Solved Configure swatch
    2
    0 Votes
    2 Posts
    599 Views
    @mventures the swatch feature you refer to isn’t a NodeBB plugin, but a utility that I wrote that handles this. It is available for v2 (as you can see here) but I’ve stopped developing and releasing the code because it has been entirely rewritten to work for v3. If you’d like the code, this is possible, but you’ll need to upgrade to v3 first.
  • NodeBB: Creating pages

    Solved Configure nodebb create page
    9
    0 Votes
    9 Posts
    2k Views
    OK, I think I have figured out how to place a link in the footer which will click to a new page.
  • nodebb loading emojis

    Solved Configure nodebb emojis
    16
    1
    1 Votes
    16 Posts
    3k Views
    @DownPW sure. Let me have a look at this in more detail. I know nginx plus has extensive support for this, but it’s not impossible to get somewhere near acceptable with the standard version. You might be better off handling this at the Cloudflare level given that it sits in between the requesting client and your server.
  • restarting nodebb on boot

    Unsolved Configure nodebb
    3
    1 Votes
    3 Posts
    1k Views
    @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.
  • Gettin Erors NodeBB

    Solved Configure nodebb eror
    7
    0 Votes
    7 Posts
    1k Views
    @phenomlab no forum is working goods. there is no eror message since yestarday.