The year is very close to ending. When would you set the submission date?
And I'd love to join this one. Been getting more involved with NodeBB plugins and I'd like to try my hand at a plugin + widget combination. Haven't touched widgets yet.
The year is very close to ending. When would you set the submission date?
And I'd love to join this one. Been getting more involved with NodeBB plugins and I'd like to try my hand at a plugin + widget combination. Haven't touched widgets yet.
@yariplus said:
Actually, yes. That is something I've been wanting to do. I jumped into NodeBB development as a total newbie to Javascript, so I probably have a good perspective for beginners. I have some formal education in technical writing as well.
Please do this! We need more tutorials and technical guides. I've been trying to immerse myself more in the source and writing plugins so I can write some stuff for the community.
Thank you all for your responses! I love this community..
@baris and @a_5mith I've considered the registration queue, but as I mentioned I cannot be online 24/7 and if a user is pending for a few hours before they can join the site it might turn them away.
No, I want to keep with the email registration. But I also want a tool to compensate my paranoia. (TY @BDHarrington7 for directing me to the "follow "feature. That is closer to what I need.)
@Kowlin in your experience do you find that delegating that power to the users can lead to pointless drama? I have been involved in a forum that used a voting a system for keeping/banning users. It was easily rigged with false accounts and "ganging up" on unpopular users.
Hi Guys! I maintain a pretty small gaming forum with NodeBB and I feel comfortable with all my members. When a new user joins, usually they can be traced to another user's reference or etc. Today was the first time I got a new user and no one could vouch for him.
While excited, I was also worried. We chatted a little, you know I was just welcoming him to the forum, but now I'm worried. What if this guy tries to mess up my forum by chatting offensive things to other users or spamming some of the threads? I cannot monitor the forum 24-7..I have to sleep and work.
So I was curious how other forum admins handle this problem. Is there a plugin out there that allows you to monitor a user's activity and be alerted everytime they make a post/chat to someone?
Thanks for reading!
I just switched to 0.8.2 today and was able to dismiss notifications on my Macbook.
Thank you @baris! I totally forgot about this. I've included my code for future reference.
$(document).on('click', '.my-class', function() {
// do stuff
});
I have written a plugin for parsing out some text in each post and replacing it with some HTML. Now I want to add event listeners to these HTML elements for when the user clicks on them.
$(document).ready
only works when the page is first loaded. I discovered that I have to use $(window).on('action:ajaxify.end', func)
by browsing other plugins, but this only adds the listeners when navigating to the topic. If a user adds a new post or edits a post, the replaced HTML within that post will not be interactive (they cannot click on it).
Which hook should I use for adding event listeners to edited posts or created posts?
I think this is plugin territory. In my forum I have several threads where only admins can post updates for users. Not really a discussion topic, more of a change log or mini blog. If posts were to start merging the updates would get tangled.
Just one use case, but I'd prefer the core code not to automatically join double posts....or at least make it an option.
This is a great idea, I'm just mulling over a safe way to implement this..
If produced in exact way you defined, then it would be easier for someone to spam their competitor's plugin with bogus complaints and unnecessarily mar a good author's reputation.
Hmmm...great idea though...
Thank you @psychobunny! I'll look into how to modify the library for that.
@lulzdevlol Nice to see someone else using Dredge! That's my favorite mechanic.
@psychobunny thanks for the response! Sorry it took me a day to get back to you.And if you no longer play I'd happily take that Mox Diamond off your hands.
Anyway, my problem is that I cannot properly load the Stripjs library with my plugin. I've tried several ways to include the script into my application. Most of them end up with Uncaught Error: Mismatched anonymous define() module
but when I used require.js in my main.js
, a different error occurred which was the $
(jQuery) was undefined and the jQuery lightbox plugin I am using could not call $.extend
. I doubt I'm explaining this properly as it half sounds like Greek to me. But I assume the staticDir
in my plugin is being ran on page load before jQuery is loaded---that is why $
is undefined.
I got so frustrated with it that I just wrote my own extremely simple lightbox with plain javascript and loaded it into my plugin, though I would still love to use the external library instead.
@cregox While comparing/contrasting NodeBB to other products can be healthy if the intention is to uplift the community or provide positive feedback/criticism; saying "NodeBB is doing it wrong because Discourse does it like this" is not really helpful for the community. Many forums implement a stricter ruleset on new users--it's a common trust system where respect is earned.
NodeBB is open source, and if you are not happy with it's current iteration feel free to fork it and change it to fit your personal needs. Or if you are pleased with Discourse and prefer the direction their developers have taken, it too is open source.
But the two products are very different--yes they solve the same issue but with very different personalities. I started with Discourse, ran a forum on it for a while, had lots of backend troubles and spam issues..finally moved to NodeBB and I've been happy with it. Do I miss things from Discourse? Sometimes. But I can't complain knowing that I have access to the source code and can change anything I want.
And if you are not technically inclined, I assume if you hosted your forum through NodeBB.org their development team would be more than happy to tweak your forum until it suits your personal needs.
@Caue-Rego I like your first idea. Giving the user hints on how to keep their posts from being caught by the spam filter would be very useful.
However your second point is not a good idea. It only takes one url to a bad site to put corrupt cookies on the user's pc.
I think you were having trouble because during your first few hours as a new user the rules are more strict. In a few days it will get better.
@Caue-Rego I think it is only 600 seconds during your first few hours as a user. This is to prevent bots from joining and spamming.
Which theme are you talking about? And I agree with @pitaj .. why do you want this?
That's how the markdown parser works. It's not a bug, but part of the spec for markdown.
If you want to change how your posts are parsed, you can either write a new parser, or enable HTML in your markdown and type <br>
for each new line break and
for each space.
Hi Guys! I've been writing a plugin for parsing a post for magic the gathering card names and loading an image of the card within the post.
That works great, but now instead of loading the image directly into the post, I'd like to make a link to a lightbox where the image will be shown. So far I've parsed the post to replace card names with the anchor element, but I cannot properly load a jquery plugin.
Focusing v0.8.x branch, you can find my current code here: https://github.com/jacobbridges/nodebb-plugin-mtg/tree/v0.3.0
Any help would be very appreciated..I have been on this for hours and I do not want to give up!
Coffeescript might be dead in a few years, but I still love it and feel it has a solid place in the JS community at present. At my work work we converted from using plain Javascript to Typescript for almost a year now, but I still use Coffeescript when bashing out a quick script or test file. I love the syntax..it's very relatable to Python or Ruby.
And plus I just love do something if something?
syntax.
Very good points about Bluebird. Its performance numbers are surprising, and the utility it brings with Promise.promisifyAll
makes it so easy to convert callback code to promises.
@baris Thanks!