Skip to content

Want to use Sudonix themes ?

Chitchat
80 5 30.4k 1
  • Mark hi
    My youtube links are not working as it should be. photos not shown 😞
    what i sould do?

    image.png
    image.png
    image.png

    wrote on last edited by phenomlab
    #37

    @cagatay Let me have a look at your site. Can you give me the URL where this issue is manifesting itself? Feel free to send it in a PM if you do not want to place it here.

    EDIT - never mind, I found the link.

    From what I see in the console

    Failed to load resource: the server responded with a status of 404 ()
    

    OGProxy cannot retrieve the preview image from the source URL, so attempts to replace it with it’s own image called 404_3.webp. However, this image does not seem to exist in the relative path of /images/404.webp and so the result is what you see in the screenshot.

    To resolve this, download the file 404.webp from the below link, and place this into your OGProxy subdomain inside the folder of images

    https://github.com/phenomlab/ogproxy/tree/main/images

  • wrote on last edited by
    #38

    i did but nothing changed.

  • i did but nothing changed.

    wrote on last edited by
    #39

    @cagatay I do not see it in the path I described above. The image is not there - in fact, from what I see, the /images folder does not exist at all?

  • wrote on last edited by
    #40

    here

    image.png

  • here

    image.png

    wrote on last edited by phenomlab
    #41

    @cagatay You’ll need to change the owner of that file as it cannot be read. It’s set currently to root but needs to be the same user as your NodeBB runs under. The images folder needs to be set the same way.

  • wrote on last edited by
    #42

    so i add file as user nodes then i add as root but two times not working correctly.

  • so i add file as user nodes then i add as root but two times not working correctly.

    wrote on last edited by
    #43

    @cagatay I can’t see the image at all. Here’s the output from curl

    HTTP/1.1 404 Not Found
    Server: nginx
    Date: Wed, 24 Jul 2024 11:42:02 GMT
    Content-Type: text/html
    Content-Length: 146
    Connection: keep-alive
    
  • wrote on last edited by
    #44

    i cant understand what i should to do,
    folder images i have, i added your file as user and root but not worked …

  • i cant understand what i should to do,
    folder images i have, i added your file as user and root but not worked …

    wrote on last edited by
    #45

    @cagatay I’ll have a look

  • wrote on last edited by
    #46

    thank you Mark.

  • thank you Mark.

    wrote on last edited by
    #47

    @cagatay Should be working now. I found the issue - your nginx.conf file was set incorrectly. It was set to

      location /images {
        index index.php index.htm index.html;
        root /homes/nodes/ogproxy;
      }
    

    Should have been

      location /images {
        index index.php index.htm index.html;
        root /home/nodes/ogproxy;
      }
    

    Basically, homes needed to be home 🙂

  • wrote on last edited by cagatay
    #48

    hahahah 🙂 it was very easy for you but for me not same 🙂

    thank you Mark for all.

    but as i see there is a problem for image founding,

    8a7e2dc6-4afb-4f03-8a2c-7d5141816612-image.png

  • hahahah 🙂 it was very easy for you but for me not same 🙂

    thank you Mark for all.

    but as i see there is a problem for image founding,

    8a7e2dc6-4afb-4f03-8a2c-7d5141816612-image.png

    wrote on last edited by
    #49

    @cagatay It’s not an issue. The reason as to why OGProxy uses it’s own image is because the provided URL does not present one. This is for a variety of reasons - often to do with security and image scraping. If you want to embed YouTube videos, you should consider using nodebb-plugin-ns-embed for this purpose.

  • wrote on last edited by
    #50

    Mark hi
    As you know i m using your theme and codes.
    My users want to biz size avatar, could we do it?

  • Mark hi
    As you know i m using your theme and codes.
    My users want to biz size avatar, could we do it?

    wrote on last edited by
    #51

    @cagatay can you elaborate? Not sure what you’re referring to.

  • wrote on last edited by
    #52

    size of avatar we can do it big one?

    image.png

  • size of avatar we can do it big one?

    image.png

    wrote on last edited by phenomlab
    #53

    @cagatay yes, that should be fairly simple to do, but what size? There may also be an impact to adjacent elements so I’d need an idea of the size you are looking for.

  • wrote on last edited by
    #54

    twice what it is now

  • twice what it is now

    wrote on last edited by
    #55

    @cagatay that’s probably on for desktop, but might look out of place when viewed on a mobile device.

  • wrote on last edited by
    #56

    could you do for mobile also?


Related Topics
  • Who uses Flarum?

    Chitchat flarum forum
    22
    7 Votes
    22 Posts
    8k Views
    phenomlab
    @Madchatthew I use it here. It is faster, but not sure if that extends to build times.
  • Forum customisation

    Customisation nodebb forum customised
    11
    2
    6 Votes
    11 Posts
    3k Views
    JAC
    Thank you Mark, the changes look fantastic!!
  • 14 Votes
    17 Posts
    5k Views
    DownPW
    No problem dude ! I hope you have a good vacation. Enjoy your loved ones!
  • Sidebar Widget is no longer on the side!

    Moved Solved General nodebb
    4
    2
    2 Votes
    4 Posts
    1k Views
    phenomlab
    @Panda said in Sidebar Widget is no longer on the side!: Ah, so sidebar wont work on mobile? Correct. If you review the docs on bootstrap, you’ll notice that it is designed on a grid system https://getbootstrap.com/docs/5.0/layout/grid/ What I mean by changing the category is moving it on here to general as you posted it in bugs, when it isn’t.
  • NodeBB v3 and Harmony Theme

    Discussion nodebb theme
    22
    13 Votes
    22 Posts
    12k Views
    phenomlab
    Been playing with the user profile page this afternoon. Thought I’d post a video as I’m really pleased with how this came out profile-screen-capture.webm
  • NodeBB v3

    Announcements nodebb v3 nodebb
    2
    3 Votes
    2 Posts
    1k Views
    phenomlab
    @cagatay JS will work fine - no changes there, and there are no plans to drop support for jQuery. More of an issue is the CSS - for which there are quite a few breaking changes. Keep an eye on sudonix.dev (my development site) where you can see progress in relation to how I am tackling the compatibility issues.
  • is "night mode" shifting the forum several pixels up?

    Solved Configure nodebb
    8
    4 Votes
    8 Posts
    3k Views
    phenomlab
    @crazycells hmm. Good point. I actually use my own version of the dark mode plugin, so not entirely sure. However, I think the CSS is probably the same. I’m not at my PC currently but can check and advise later.
  • WordPress & NodeBB

    Solved WordPress
    6
    0 Votes
    6 Posts
    3k Views
    phenomlab
    @jac That won’t matter. You just redirect at nginx or apache level and it’ll work. The generally accepted standard though is to use a subdomain.