After digging thru the code I finally nailed down my mistake. I was missing the pid within the post record
Best posts made by doekia
-
RE: ERROR invalid data after in-house conversion
-
RE: [SOLVED] Migrating old nodebb - need advises
@julian
Thank you.
I was a little confused by this part of the documentation:git reset --hard origin/v0.3.x # Replace v0.3.x with the branch name!
But finally I made it w/o any issue
Excellent job
-
Restrict plugins per group
Is there any off-the-shelf solution to restrict a plugin for a set of group? Or any "easy" solution to do such?
Thanks
-
How to the annoucements widget is done?
On this community forum there is this nice announcement widget
With pinned topic and list of topic per category.How it is done ?
A step by step will be really appreciated
-
RE: What should I do to make my forum accessible online?
did you check that your domain resolves to your server? dns?
-
Using mongoDB to subscribe all users to every categories
Hi,
Due a massive reorganisation of my category tree I'd like to reset all user to be automatically subscribed to all categories.
I have an adminMongo to manipulate the db
Unfortunately my mongodb skill is close to nothing.Is there anyone kind enough to share the proper mongodb snippet to achieve such (either adminMongo or cli based.
Thank you
-
RE: Starting with systemd only works as root
Here is a working .service, but I concur with @julian, do not put your nodebb inside the /root folder. Pretty good chance it will ruin your security at some point.
[Unit] Description=NodeBB Documentation=https://docs.nodebb.org After=system.slice multi-user.target mongod.service [Service] Type=simple User=nodebb StandardOutput=syslog StandardError=syslog SyslogIdentifier=nodebb WorkingDirectory=/var/www/nodebb/NodeBB/ ExecStart=/usr/bin/env node loader.js --no-silent --no-daemon Restart=always [Install] WantedBy=multi-user.target
Latest posts made by doekia
-
RE: Mass changing link inside mongodb
@FrankM
Sorry but this does not work at all.
How can a redirection be applied from a webserver that does not recieve the request.I don't have the old domain anymore, and even I'd have it now, This does not address the issue on the long run.
-
Mass changing link inside mongodb
Hi,
I have to change the domain name of my forum. This render internal links (within posts) broken.
My mongodb version is 3.2.11
I have tried the following db script:
db.collection.updateMany( { "objects.content": { $regex: /old.domain.com/ } }, [{ $set: { "objects.content": { $replaceOne: { input: "$objects.content", find: "old.domain.com", replacement: "new.domain.com" } }} }] )
Which lead me to the following error:
2022-06-09T17:24:23.808+0200 E QUERY [thread1] Error: the update operation document must contain atomic operators : [email protected]/mongo/shell/crud_api.js:568:1
I greatly appreciate if someone could point me how to achieve that.
PS: I am totally illiterate in mongodb.
Thank you all
-
RE: Restrict plugins per group
basically the question popped while thinking of installing plugin-adsense (which does not worked at all for me btw - 1.11.2)
-
Restrict plugins per group
Is there any off-the-shelf solution to restrict a plugin for a set of group? Or any "easy" solution to do such?
Thanks
-
RE: Starting with systemd only works as root
Here is a working .service, but I concur with @julian, do not put your nodebb inside the /root folder. Pretty good chance it will ruin your security at some point.
[Unit] Description=NodeBB Documentation=https://docs.nodebb.org After=system.slice multi-user.target mongod.service [Service] Type=simple User=nodebb StandardOutput=syslog StandardError=syslog SyslogIdentifier=nodebb WorkingDirectory=/var/www/nodebb/NodeBB/ ExecStart=/usr/bin/env node loader.js --no-silent --no-daemon Restart=always [Install] WantedBy=multi-user.target
-
Using mongoDB to subscribe all users to every categories
Hi,
Due a massive reorganisation of my category tree I'd like to reset all user to be automatically subscribed to all categories.
I have an adminMongo to manipulate the db
Unfortunately my mongodb skill is close to nothing.Is there anyone kind enough to share the proper mongodb snippet to achieve such (either adminMongo or cli based.
Thank you
-
RE: How to the annoucements widget is done?
@The-Worms Je voudrais pouvoir coller les derniers topics de la catégorie annonces de manière élégante comme ici.
Juste:
Titre
Contenu -
RE: How to the annoucements widget is done?
@The-Worms
my theme is persona and this widget - tried it - does not generate such markup at all
has user, date I don't want and miss content i'd like to have
The topic you linked mention html widget for such part.
I have correctly implemented the popular tags widget however
https://aide.prestashop.clickThanks for you time
-
RE: How to the annoucements widget is done?
@The-Worms
Seems obvious I have misunderstood something trivial on the first widget (said HTML widget based)
How can I have this html fetching n recent post on one specific category and displays them like in this forum home page.<li> <a href="{relative_path}/topic/{topics.slug}"> <strong>{topics.title}</strong> <br /> {topics.content} </a> </li>
With the HTML widget (or any other widget btw)