@Pixel I am sure that we don't want new ways to educate people. There are enough already.
I am referring to the Yii Framework forum and the Ogre3D forum - not exactly small communities.
Where people are already sending PMs because they want you to debug their code, or give them an answer.
I don't think that behaviour should be encouraged.
And adding the option to flag your own post is exactly that.
Jacob Moen
Posts
-
Be able to flag your own post -
Be able to flag your own postIn my experience, people will abuse that option to get moderators to answer their question. I already seen it happen too many times elsewhere.
If nothing else, it is a sure-fire way of pissing off over-worked moderators, and could even get you banned -
Noob questions about upgrade 0.8.2 to 0.9.2@MJ I haven't tested it yet because my installation works and I don't feel like reinstalling just yet
However, from what I've read, doing a git hard reset is what 'you should do', apparently.
My problem was that I thought I could perform a./nodebb upgrade
on an install that I did from a downloaded archive. You need to have checked it out from git. (I reckon). -
Does not work searchI've got
internal error
so our problems might not be related - except Mongo.
They recently switched to Mongo and still have lots of Redis related stuff in the code.. -
Does not work searchSearch does not work on my installation either.
I guess it has got to do with Mongo.
It worked with Redis. -
nodebb 0.9.2 - moving a postIn my opinion, allowing this would be a major weakness in itself.
Unless I misunderstood what you're saying @sanatisharif - you want to be able to take a topic with no replies and add it as a post to an existing topic?
Why not just let the lonely topic be, and die of age on it's own?
Or at least lock it, either automatically by means of a plugin/setting (old topics goes out of date) - it just feels wrong somehow -
Noob questions about upgrade 0.8.2 to 0.9.2I have installed NodeBB in every permutation of what is written in the docs, and have failed numerous times.
So, checking out master and performing a reset actually makes
./nodebb upgrade
work?
I must try this at home .. -
Change email subjectI threw in an
if(found)
just in case - but I am always amazed by how little code is required.
That seem to happen a lot with Node.js and a well written software entitled NodeBB -
Change email subjectThanks a lot @julian
-
Change email subjectIt works
(function(module) { "use strict"; var autoreplyit = {}; autoreplyit.filter = function(data, callback) { var re = /http:\/\/nodebbjacmoe-jacmoe\.rhcloud\.com\/topic\/(\d+)/; var str = data.plaintext; var found = str.match(re); data.subject = data.subject + ' #' + found[1]; callback(null, data); }; module.exports = autoreplyit; }(module));
Totally hard-coded, of course
Edit:
I am fully aware that it is only a matter of time before a kind soul points out to me that I can easily get the site url from a dark corner of the API - but, hey: it works.
Now the receiving PHP script can grab the topic id and make sure that it is sent to the right place. -
Change email subjectI just did a stupidly simple (stupid?) plugin but it does not seem to do much
(function(module) { "use strict"; var autoreplyit = {}; autoreplyit.filter = function(data) { data.subject = data.subject + ' #' + data.pid; }; module.exports = autoreplyit; }(module));
{ "id": "nodebb-plugin-autoreplyit", "name": "NodeBB Autoreply email subject changer", "description": "NodeBB Plugin that changes the email subject field to include the topic id.", "url": "https://github.com/jacmoe/nodebb-plugin-autoreplyit", "library": "./library.js", "hooks": [ { "hook": "filter:email.modify", "method": "filter" } ] }
-
Change email subject/* puts nodejs on list of stuff to learn .. */
Ok, I will perhaps try and look into that
-
Sass for themes instead of LessLet me know when you have something that I can look at.
I probably need to adjust a theme using Bootstrap 3.x sass, so a working example would be killer -
Change email subjectI also do know that I can grab the topic id from the URL - that thought came to me just now - but it is easier to just regex the subject.
-
Change email subjectI know that one can mess around with the email templates, but I see no way to change the subject of the email.
Like:[sitename #topic_id] topic_name
I need to include the topic id in the subject because I need to parse the subject ( postfix forward pointing to a Yii console controller, if you must know) - do I need to mess around in the source code?
Edit:
I am implementing reply by email, btw.
And since I am a PHP developer, I am using the api and dirty tricks -
What are you doing *right now*?Right now I am building a VM on Koding to get NodeBB up and running...
Thanks to NodeBB, I now have accounts on Heroku, Openshift and Koding -
Latest stable too soon?It is Christmas already!
-
Possible to get user id from email from api?You are awesome
EDIT: indeed, and it works!
-
Possible to get user id from email from api?They are not in v0.9.2, am I right?
I will see if I can somehow manage to get NodeBB master and the write api to magically work
However, that is really awesome
-
Possible to get user id from email from api?I am trying to implement a reply by email feature - using PHP and have successfully replied to topics as another user by passing the _uid parameter.
And that works great.However, I need to be able to determine their uid from their email address..
I tried to use the /api/users/search endpoint but did not get any useful from itI am aware that I could just ask Mongo - which is what I am using - but I can't because
- I am not on the same server
- I don't have the option to install the PHP Mongo extension (Dreamhost)
If it is not currently possible to grab the uid from the email/username, then I guess that part has to wait until I am able to get Mongo and the extension installed..