Skip to content

Iframely (Nodebb)

Solved Configure
  • @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

  • 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

    @DownPW can you try removing the port and just use the IP address ?

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

    @DownPW said in Iframely (Nodebb):

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

    We are using self-hosted iframelyā€¦ Unfortunately, our developer is currently busy with relocation etc, therefore I cannot ask for more detailā€¦

    But we have this as the endpoint address:

    http://0.0.0.0:8061/iframely?

    So, I guess we installed it as a subfolder at this port location in the same server? Maybe @phenomlab can tell it better šŸ˜„ sorry, I am not good at backend work šŸ˜„

  • @DownPW said in Iframely (Nodebb):

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

    We are using self-hosted iframelyā€¦ Unfortunately, our developer is currently busy with relocation etc, therefore I cannot ask for more detailā€¦

    But we have this as the endpoint address:

    http://0.0.0.0:8061/iframely?

    So, I guess we installed it as a subfolder at this port location in the same server? Maybe @phenomlab can tell it better šŸ˜„ sorry, I am not good at backend work šŸ˜„

    @crazycells typically, you do not need the port as that is handled and processed by the NGINX config. I have my instance running in a subdomain for security reasons with CORS headers adjusted to suit.

  • 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

    @DownPW from what I see, iFramely isnā€™t setup properly on your server as the port of 8061 does not appear to be listening. For example, see below for the response I get when trying to access the port.

    bddf233f-69cb-4169-9aea-3ccc85aead31-image.png

    Another possibility here (and a strong one in fact) is that you probably need to open this port on your firewall (perhaps iptables) and probably your router also (in terms of NAT).

  • @DownPW from what I see, iFramely isnā€™t setup properly on your server as the port of 8061 does not appear to be listening. For example, see below for the response I get when trying to access the port.

    bddf233f-69cb-4169-9aea-3ccc85aead31-image.png

    Another possibility here (and a strong one in fact) is that you probably need to open this port on your firewall (perhaps iptables) and probably your router also (in terms of NAT).

    @phenomlab

    I have open the port on my router:

    1c93d90e-0cec-44b3-9939-4025e28456c2-image.png

  • @phenomlab

    I have open the port on my router:

    1c93d90e-0cec-44b3-9939-4025e28456c2-image.png

    @DownPW right, but what about iptables on the server itself? The port isnā€™t responding which is the first hurdle to overcome.

  • I donā€™t know because I think you are connected to ssh, so I donā€™t see this

    grrr itā€™s a debian scratch and iptables is not installed by defaut


Did this solution help you?
Did you find the suggested solution useful? Why not buy me a coffee? It's a nice gesture, and a great way to show your appreciation šŸ’—

Related Topics
  • NodeBB v3 Android Problem

    Solved Configure
    4
    4 Votes
    4 Posts
    321 Views
    thank you fixed.
  • NodeBB: hCaptcha

    Solved Configure
    15
    2 Votes
    15 Posts
    553 Views
    @mventures none that I know of. I donā€™t recall selecting these either for mine.
  • NodeBB: Favicon upload issue

    Solved Configure
    12
    1
    3 Votes
    12 Posts
    596 Views
    @phenomlab I am on a Mac, so I used the ā€œOption + Command + Iā€, and then performed the steps. It loaded my favicon! I checked on Firefox which I havenā€™t used before, and it showed my favicon also! Thatā€™s fantastic and thank you for the help!
  • NodeBB: Upgrading to NodeBB v3.x

    Solved Configure
    6
    0 Votes
    6 Posts
    359 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.
  • MailGun Not Working NodeBB

    Solved Configure
    6
    1 Votes
    6 Posts
    496 Views
    @phenomlab did it i did not create smtp user on mailgun. everything is working now. [image: 1667569376261-6cc6061f-ed5d-41f6-8eb7-5d98f98b3706-image.png]
  • Configure SMTP for Nodebb

    Solved Configure
    14
    5 Votes
    14 Posts
    1k Views
    @marusaky based on the work completed thus far (in relation to PM exchanges), Iā€™m going to mark this completed. Sending email from the server itself works fine without issue, and DNS appears to be clean (valid SPF, DMARC, and DKIM records). It appears that only Gmail marks incoming messages from your domain as spam - perhaps because of the domain age, which there is nothing we can do to prevent this. Mail delivery to all other domains appears to work fine in al of my tests.
  • NodeBB metadata

    Solved Configure
    4
    2 Votes
    4 Posts
    463 Views
    @phenomlab said in NodeBB metadata: @jac Are you sure ? https://www.google.co.uk/search?q=site%3Astockportcounty.fans&sxsrf=AOaemvLwnaZL-PliU_2dBOg_Eo1pMVhBjg%3A1638982328139&source=hp&ei=uOKwYeatBcOsad3yp7AE&iflsig=ALs-wAMAAAAAYbDwyLBSDcG5XYoFCKwQFhgz94wTxOcV&ved=0ahUKEwjm6dX71NT0AhVDVhoKHV35CUYQ4dUDCAk&uact=5&oq=site%3Astockportcounty.fans&gs_lcp=Cgdnd3Mtd2l6EAM6BAgjECc6CwgAEIAEELEDEIMBOg4ILhCABBCxAxDHARCjAjoRCC4QgAQQsQMQgwEQxwEQowI6BQguEIAEOggIABCABBCxAzoFCAAQgAQ6CAguELEDEIMBOgsILhCABBDHARCvAToICC4QgAQQsQM6BQgAELEDOgsILhCABBDHARDRAzoLCAAQgAQQsQMQyQM6BQgAEJIDUABYySZg0CdoAHAAeACAAW2IAa0NkgEEMjMuMpgBAKABAQ&sclient=gws-wiz Fair enough šŸ¤ŖšŸ¤Ŗ.
  • nodebb dropdown menu

    Solved Configure
    5
    1
    0 Votes
    5 Posts
    565 Views
    @phenomlab said in nodebb dropdown menu: @kurulumu-net You set it like the below example taken from this site [image: 1637939951821-aae36790-3257-4bb2-ad5a-0d744309876a-image.png] Which presents this [image: 1637939983445-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.