@Saquron Well you have ruled out all of the easy "low hanging fruit" that I could think of. Possibly this is a v1.0.3
concern. The forum I administer is still on v1.0.2
as 1.0.3 has some crazy change that for the Lavender theme keeps images from being displayed on the home page. Which for me is a serious problem. v1.0.2
has been fairly stable for me once I de-activated the twitch plugin.
rod
Posts
-
502 bad gateway -
Instruction about how to install Nodebb with Mongodb in AWS EC2?@flyinghawker Check that your AWS EC2 security zone allows traffic to port 4567.
As an aside, you should consider putting a reverse webserver (such as Nginx but it can be done with Apache) in front of your NodeBB instance. The reverse webserver can handle your SSL connections, provide logging, etc.
-
Instruction about how to install Nodebb with Mongodb in AWS EC2?@flyinghawker If you need details they can be found here:
https://docs.nodebb.org/en/latest/configuring/proxies.html
-
Child Categories not visible to guests even though permissions allow find/access/readHave a look at the following post. I do not know if this is precisely the same as your issue but it seems to be in the same family.
@julian said in 'Category Privileges' does not seem to work:
I can confirm that the "Access Topics" privilege is not functioning correctly, so will need to look into that.
However, with "Create Topics" disabled, the "New Topic" button is not present, and the category itself is not present in the composer dropdown, so that privilege is working as intended.
Specifically:
@julian said in 'Category Privileges' does not seem to work:Fixed in latest
master
, the labels were swapped, so "Access" was actually controlling "Create", and vice versa. -
Restricting a single user from a categoryThere is a "new user" plugin that puts "unapproved" users in a group and after an admin approves the new user they are moved into an "approved" group.
You could exclude access to a category for the "unapproved" group. Possibly this plugin would give you the result you are looking for.
-
can't send emailsDo you have a proper SPF and DKIM configuration for your domain? It is becoming more difficult to effectively send email to major providers without those in place.
-
?loggedin routes to the wrong page@Tobias-Teske What url is set in your config.json file?
-
Post Tools: How to Add a New ItemAnd now the end result (for now -- I intend to change the pop-up box to some other method of displaying the shortlink):
New
Shortlink
post topic tool entry:
After clicking the shortlink option you get a pop-up with the shortlinked url:
Thank you @PitaJ @pichalite and @alff0x1f for your contributions.
N.B. Until now I have been using @rbeer 's great Smooth-shorts plugin but he doesn't seem to be supporting it anylonger. I have been stuck on NodeBB
v1.0.2
because of that. It is bittersweet to disable his plugin but I am really happy with my new solution. As an aside I have Piwik tracking my YOURLS system also. -
Keeps losing connectionChange your URL to the domain it is running on. Something like:
"url": "http://mydomain.com",
"port": "4567",
It is a good idea to add the following entry to allow traffic to NodeBB only from your localhost, that being your webserver.
"bind_address": "127.0.0.1",
Let your webserver control the traffic to NodeBB.
-
S3 Uploads requiring public access@CJ-Infantino I added a
bucket policy
that restricts all hotlinking except from my site itself. I am using aDeny
with aStringNotLike
condition.This is what works for me:
{ "Version": "2008-10-17", "Id": "preventHotLinking", "Statement": [ { "Sid": "Allow get requests referred by example.com", "Effect": "Deny", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::exampleBucket/*", "Condition": { "StringNotLike": { "aws:Referer": [ "http://example.com/*", "https://example.com/*" ] } } } ] }
-
Mapping of Node and NPM to NodeBB VersionsI have had a small amount of success.
I was able to copy over my production forum (
v1.4.5
) to my new dev server which has node10
and npm6
running on it.Without attempting to start my
v1.4.5
forum on the server I upgraded to NodeBBv1.10.2
and this works.I will work through getting all of the bits working the correct way again, for some reason some custom javascript doesn't seem to work any longer. Once I feel this new dev server is "stable" I will attempt to bring up to 1.12.x.
Thoughts?
-
In which version did Custom Javascript show up?Between version
1.4.5
and1.12.1
when did theCustom Javascript
area show up in addition to theCustom CSS/LESS
andCustom Header
areas?I ask because now with the
Custom Javascript
area I can no longer include the<script type="text/javascript">
and</script>
tags which I believe is why my custom javascript no longer works.When looking at my browser's console don't see my code snippet being parsed as javascript.
-
In which version did Custom Javascript show up?@baris I cannot get this to work. My new plan is to destroy my
1.12.1
version and install1.6.x
and test. If that works do the same going to version1.7.x
and test, and keep jumping forward until it doesn’t work and then report back.Thank you for all of your help thus far.
-
In which version did Custom Javascript show up?Well I am embarrassed, I figured out the problem! There is no problem with custom javascript or the custom header information. It turns out the nodebb-plugin-ns-twitch-monitor was the problem! The plugin does not seem to work after a certain version of NodeBB and where I had it placed in my widgets must have been causing the custom header code to not load or run properly.
I am still running
v1.4.5
but am moving over to a new server, yes after all of these years. In doing so I have been incrementally stepping through upgrades, 1.4.5 -> 1.5.x -> 1.6.x -> 1.7.x... It was there at the 1.7.x that my custom Piwik (Matomo) code stopped working. I put NodeBB into "dev" mode and saw a number of errors related to the Twitch plugin. I removed the plugin and my analytics code now works fine.It is bittersweet as I really like the Twitch plugin on my forum but the plugin stopped working quite some time ago. Twitch changed how their API works and the plugin was never updated to keep up.
Shouting out to a list of people for closure on this, in case you were all losing sleep on this since May of last year! @baris @julian @Nicolas
-
lavender theme shows only one topic per category on the homepageFurther experimentation has led me to this truth:
Changing the
# of recent replies
does work on the home route if that category contains topics.If the category only has nested sub-categories then the
# of recent replies
does not have an effect.For example:
Home displaying CatA displaying Multiple topics Home displaying CatB displaying CatC displaying Single topic
-
Make lavenders avatar a circle@Aureney Add this to your ACP > Custom HTML & CSS > Custom CSS
.img-rounded{ border-radius: 100% !important; } .user-icon{ border-radius: 100% !important; } .img-thumbnail{ border-radius: 100%; } .avatar-sm{ border-radius: 100%; } .teaser-pic{ border-radius: 100%; }
-
Time for update to 1.4.4!@Jenkler Take a look at the docs on how your Nginx (if you are using Nginx) should be configured to handle the change to assets and plugins:
Specifically
location @nodebb { proxy_pass http://io_nodes; } location ~ ^/assets/(.*) { root /path/to/nodebb/; try_files /build/public/$1 /public/$1 @nodebb; } location /plugins/ { root /path/to/nodebb/build/public/; try_files $uri @nodebb; } location / { proxy_pass http://io_nodes; }