Stream-style following page

NodeBB Development
  • What is the use of following other people? Currently, it only enables having a followers/following list on your profile. Wouldn't it make more sense to show the latest posts of those users?
    That way, we could bring a lot more optional social functionality into NodeBB - I think about a "stream" page, similar to Facebook, where things your friends do, important topics etc are aggregated.
    But maybe this is too much already, so please keep the two ideas separated when thinking about it 😄

  • When you follow another user, you get a notification when they post a new topic. Following them also adds them to the contacts list on the /chats page.

  • @baris said:

    When you follow another user, you get a notification when they post a new topic. Following them also adds them to the contacts list on the /chats page.

    Yep, you are right, my bad. Didn't have these in mind...


Suggested Topics


  • 0 Votes
    5 Posts
    336 Views

    Cracked it! I had all this nonsense in my nginx from googling around. here is what worked.

    location /forum { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-AUTHENTICATION, X-IP, Accept'; add_header 'Access-Control-Max-Age' 1728000; add_header 'Content-Type' 'text/plain charset=UTF-8'; add_header 'Content-Length' 0; return 204; } if ($request_method = 'POST') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-AUTHENTICATION, X-IP, Accept'; } if ($request_method = 'GET') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-AUTHENTICATION, X-IP, Accept'; } add_header 'Access-Control-Allow-Credentials' 'true'; add_header X-Frame-Options "SAMEORIGIN"; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; # proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; proxy_pass http://127.0.0.1:4567; # no subfolder defined here proxy_set_header Host $host; # MAGIC proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
  • 0 Votes
    4 Posts
    324 Views

    That should work I think, you can also try putting your scripts in the ACP at /admin/appearance/customise#custom-js

  • 0 Votes
    2 Posts
    1k Views

    Hmm, idk, some parts of the code could use better adherence to a style for consistency, and it may encourage new contributors.

    I feel like styles are largely based on opinion though. And in situations where a style does help, such as avoiding confusing/ambiguous expressions, NodeBB rarely suffers from these problems.

    I am against tabs though. I hate them. Used to love them, but after using spaces, i can never go back. (I really really hate semicolons too.)

  • 0 Votes
    5 Posts
    2k Views

    @Chris that's for the downvote 😉

    @Kowlin Yeah, I believe @baris updated the imgur plugin so any uploaded images will save the https url in the post.

  • 0 Votes
    1 Posts
    967 Views

    In my topic.tpl I made some changes using @first to separate first post in topic from others. It worked, but there is now next problem. When i create a new post it doesn't show it instantly, I have to refresh page to see that post.

    This is how my topic.tpl looks now http://pastebin.com/jYNQ1WVr

    Also, I noticed this http://screencast.com/t/jESEIi9GiY . Instead of just creating one more <li> in .otherPosts div it creates another .firstPost and .otherPosts div.

    I think that maybe I made some mistake with using @fist but I can't figure out what is it. Someone help? 🙂