Skip to content

Want to use Sudonix themes ?

Chitchat
80 5 31.3k 1
  • wrote on last edited by DownPW
    #32

    Yep I have the same things.

    EDIT : I mean same problem as cagatay

    bf6eb622-f0e5-4102-8f9b-ab08752fda68-image.png

  • Yep I have the same things.

    EDIT : I mean same problem as cagatay

    bf6eb622-f0e5-4102-8f9b-ab08752fda68-image.png

    wrote on last edited by phenomlab
    #33

    @DownPW Hmm. That’s different to what I see. Let me have a look.

    EDIT: How odd, I don’t remember changing this value

    c4135be9-dac0-4904-9e1c-aa4fae8c1ce0-image.png

    It’s been changed now to “Oldest to Newest”.

  • wrote on last edited by
    #34

    ha ha better now 🙂

  • ha ha better now 🙂

    wrote on last edited by
    #35

    @DownPW There are two places this can be changed. In the ACP, and also in your profile. Strange though as I do not recall changing the global setting.

  • wrote on last edited by
    #36

    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

  • 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.


Related Topics
  • 2 Votes
    1 Posts
    648 Views
    No one has replied
  • Please help me, I can't install nodebb

    Locked Solved Customisation nodebb
    7
    5 Votes
    7 Posts
    2k Views
    phenomlab
    Installation completed, verified, and tested. Correct installation methodology is below https://docs.nodebb.org/installing/os/ubuntu/
  • 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.
  • Removing blue 'moved' tag from post

    Solved Configure nodebb
    16
    2
    3 Votes
    16 Posts
    5k Views
    Panda
    @phenomlab Ah, got it working! I reversed the CSS addition to put z index high, and then I could see another error box saying fork title must be at least 3 characters. So made the new fork title longer and button responded.
  • NodeBB: updating Admin details not working

    Solved Configure nodebb admin
    17
    3 Votes
    17 Posts
    5k Views
    phenomlab
    @mventures Ok. No issues
  • 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.
  • Link vs Refresh

    Solved Customisation nodebb blog customization
    20
    2
    8 Votes
    20 Posts
    7k Views
    phenomlab
    @pobojmoks Do you see any errors being reported in the console ? At first guess (without seeing the actual code or the site itself), I’d say that this is AJAX callback related
  • 0 Votes
    5 Posts
    2k Views
    phenomlab
    @qwinter this particular site uses the code I wrote if you want to see it in action. It’s a information and intelligence gatherer I designed for collecting various information security articles from around the globe and consolidating them in one place. Essentially, each “post” is in fact generated by the script, and the NodeBB API. https://hostrisk.com/