Easter Extra-Long Weekend Plugin+Theme Weekend!

NodeBB Plugins

Suggested Topics


  • 0 Votes
    1 Posts
    152 Views

    Hi,
    there is a way to allow mark a topic as question or not, solved or not only to mods / admins?

    Will be useful have more controls on the permission.
    I opened a GitHub issue for this but try to see here if can be some solution to avoid user remove or set resolved status.

  • 0 Votes
    1 Posts
    806 Views

    I want plugin can't auto post to social (most fanpage) when topic created.
    Wordpress.com do it well.

    0_1482816540910_upload-f0ef1625-64ec-4ed9-8d62-9ed481da9bb1

    Any plugins can do ? xD
    Or time to write my own nodebb-plugins

    Etc, we can post to facebook with customize title, meta, image, etc..

    Btw i'm looking for SEO plugins too 🐸

  • 1 Votes
    12 Posts
    4k Views

    @teh_g you can use n to install a later version of Node if you want. Look up "n install NodeJS" it's super easy.

  • PLUGIN WEEKENDS

    NodeBB Plugins
    28
    4 Votes
    28 Posts
    9k Views

    Thanks guys 😛 Still a load of bugs but pretty happy with what I managed to cook up in an evening/night.

    @julian said:

    Oh right, we never clarified whether a new week began on Sunday or Monday 😛

    To be fair it was nearly 2AM for me when I posted that, so Monday for me 😄

  • 5 Votes
    66 Posts
    44k Views

    @julian @a_5mith and this only happening when i use the code from below, when i switch back
    everything works as a charm.

    (function(module) { "use strict"; var YoutubeLite = {}, embed = '<div class="js-lazyYT" data-youtube-id="$1" data-width="800" data-height="450"><iframe class="lazytube" src="//www.youtube.com/embed/$1"></iframe></div>'; var regularUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtube\.com)\/(?:watch\?v=)(.+)">.+<\/a>/g; var shortUrl = /<a href="(?:https?:\/\/)?(?:www\.)?(?:youtu\.be)\/(.+)">.+<\/a>/g; var embedUrl = /<a href="(?:https?:\/\/)?(?:www\.)youtube.com\/embed\/([\w\-_]+)">.+<\/a>/; YoutubeLite.parse = function(data, callback) { if (!data || !data.postData || !data.postData.content) { return callback(null, data); } if (data.postData.content.match(embedUrl)) { data.postData.content = data.postData.content.replace(embedUrl, embed); } if (data.postData.content.match(regularUrl)) { data.postData.content = data.postData.content.replace(regularUrl, embed); } if (data.postData.content.match(shortUrl)) { data.postData.content = data.postData.content.replace(shortUrl, embed); } callback(null, data); }; module.exports = YoutubeLite; }(module));