Oh wow, looks great!
xbenjii
Posts
-
Introducing the NodeBB 0.7.0 Persona preview -
NodeBB could not reach the package manager@julian said:
@xbenjii that should have no effect on the package suggestions system... navigating to the url provided seems to work fine as well...
But they're accessing it cross-domain aren't they? Is this not a CORS issue?
Assuming this is the code issuing the error.
In https://github.com/NodeBB/nodebb-package-manager/commit/bb079befc7af0d74fa12a11b855a4bb9057bffae you removed all the middleware, including the CORS header.
-
NodeBB could not reach the package managerMost likely related to the removal of https://github.com/NodeBB/nodebb-package-manager/commit/bb079befc7af0d74fa12a11b855a4bb9057bffae#diff-2b137e40025e00eb45b66941ad8d4ddfL148
-
HTML JSON form submission spec, W3Nice to see the W3 community has a sense of humour
EXAMPLE 6: Such Deep <form enctype='application/json'> <input name='wow[such][deep][3][much][power][!]' value='Amaze'> </form> // produces { "wow": { "such": { "deep": [ null , null , null , { "much": { "power": { "!": "Amaze" } } } ] } } }
-
Prevent empty widget areas from being hiddenProbably this line here.
if (!renderedWidgets.length) { area.addClass('hidden'); //Remove this. ajaxify.widgets.reposition(location); }
https://github.com/NodeBB/NodeBB/blob/master/public/src/widgets.js#L68
-
Screen Capture ToolI use Sharex It allows me to grab a region, upload to my server and copy the link, all in one button.
-
Inbox for GoogleGot 3 invites, chat me your email and I'll send you one.
-
What editor do you use?Sublime for JavaScript, Netbeans for PHP.
-
The spam is real.@a_5mith said:
@bentael, any chance akismet can be trained to look at the topic title as well as the post content. Current spam is only in the title. Whether the title is included in post content or something like that.
Could it be something as simple as changing
comment_content: data.content,
to:
comment_content: data.title + data.content,
-
loki.js@julian said:
I'll echo that. Looks interesting alright. If it's drop-in compatible with MongoDB, then maybe we can natively support it with a few lines of code (wishful thinking though heh)
LokiJS draws inspiration from MongoDB and CouchDB, in that the API is similar (but not identical or compliant) to MongoDB and you can define your own views in a CouchDB style.
Doesn't look like it could be a drop-in replacement, though should be easy to get it working.
-
Google Drive For Image EmbedI thought Google Drive was geared towards personal usage and sharing? Can't see this being good for public use.
-
loki.jsLooks interesting, especially the DynamicView class.
-
How do i install nodebb on channel file manager!@Scuzz Don't know why that was directed at me but I have 4 Kimsufi servers in a cluster.
You looking at automating it?
-
How do i install nodebb on channel file manager! -
How do i install nodebb on channel file manager!You can pick up a cheap VPS for $5 a month, you're way off at $99.
-
Is it possible to change the language used on, say, empty topicsYep. You can change it in:
/public/language/<your language>/category.json
"no_topics": "<strong>There are no topics in this category.</strong><br />Why don't you try posting one?"
-
Who is in? Plugin -
Who is in? Plugin@Schamper said:
@xbenjii kind of dangerous, any post with the magic string in it somewhere would get a match. Might not always be the expected behaviour.
Personally, I'd do something like
/^Who is in\?$/gim
, but that's meIf you wanted to add some sort of description though, that wouldn't work. Maybe create a template, something like:
Some text. {who-is-in} Some more text.
Then you could do
/\{who-is-in\}/gi
-
Who is in? Plugin@Schamper said:
Nice! Is there source available yet?
How do you parse the "who is in" string? What happens if someone puts it in the middle of a sentence? Does it also work on every post in a topic of just first post?
Looks like it's just a direct replace on each post, not just the first.
postContent = postContent.replace(/Who is in\?/gi, mainTemplate);
-
User AdministrationI'm all for this, considering:
https://community.nodebb.org/topic/2793/love-marriage-problem-solution-91-9982822666
https://community.nodebb.org/topic/2792/vashikaran-specialist-baba-9982822666
https://community.nodebb.org/topic/2791/black-magic-sdpecialist-91-9982822666
https://community.nodebb.org/topic/2790/91-9982822666-husband-wife-love-problem-solution-babaxD