[Solved] Emojis won't parse to image following full reset



  • Uggghhh, I can't get any emoji plugin to work on my NodeBB install. They don't even parse to a broken image, they just stay as the text that was originally entered in editor, draft, and published post. The autocomplete box shows up fine, the big text area displays them all fine. The text just stays text. I had some trouble with a SSO and ended up not being able to login at all, so at one point, I did a full reset of everything. So maybe I forgot to turn back on some other plugin that is default to on in a fresh install?

    I've tried every emoji plugin, none of them work, all on, all but one off, removing them all, putting just the extended, deleting nodebb.min.js. Turning off, uninstalling, re-installing, re-turning on. I don't get any errors (but could very well be looking in completely wrong place, I'm noob, so I'm looking through Firebug, running ./nodebb log, looking at npm-debug).

    Have updated, run in developer and forever mode, changed theme, restart x 100, running around like headless chicken, no results yet.

    Where else to look for a potential trouble maker?


  • Global Moderator

    @Purupuru If you're running latest master, then that plugin won't work due to changes (any plugin that embeds etc probably won't work in 0.6.0 master). I would advise checking out on the stable branch instead of master, at least for now. By doing

    git checkout v0.5.x
    ./nodebb upgrade

    Hope that helps, once plugin authors have updated plugins to support 0.6.0 whilst maintaining support for stable, you would be able to use both.



  • @a_5mith :smile: That did it, thank you!!


  • GNU/Linux

    Updated emoji-extended and shortcuts to work with 0.6.0 (better say to work with current master :D).

    So @Developers you may update those on this platform ;)


  • Global Moderator

    @frissdiegurke Are you sure? :laughing:

    nodebb-plugin-emoji-extended@0.4.0-2

    TypeError: Cannot read property 'admin' of undefined
    at initAdminRoute (/home/a_5mith/35hz/node_modules/nodebb-plugin-emoji-extended/index.js:1:1558)
    at Object.module.exports.appLoad (/home/a_5mith/35hz/node_modules/nodebb-plugin-emoji-extended/index.js:1:1851)
    at /home/a_5mith/35hz/src/plugins.js:489:23
    at /home/a_5mith/35hz/node_modules/async/lib/async.js:125:13
    at Array.forEach (native)
    at _each (/home/a_5mith/35hz/node_modules/async/lib/async.js:46:24)
    at Object.async.each (/home/a_5mith/35hz/node_modules/async/lib/async.js:124:9)
    at Object.Plugins.fireHook (/home/a_5mith/35hz/src/plugins.js:487:12)
    at Plugins.reloadRoutes (/home/a_5mith/35hz/src/plugins.js:135:11)
    at /home/a_5mith/35hz/node_modules/async/lib/async.js:656:23
    

    Edit: Scratch that, I'm not on latest, I downgraded because of the perms issue. :laughing:


  • Admin

    Hm, updated and activated, and they show up in composer now, but not in post :laughing:


  • Global Moderator

    @julian I blame coffeescript. :p

    EDIT: It works in chat.


  • GNU/Linux

    Ok, so filter:parse.raw doesn't include post-parsing? why? I thougt it's meant for

    This is just to keep functionality from the previous versions.

    xD

    So I really have to hook another filter within plugin.json now? Work, work...


  • GNU/Linux

    published with using filter:parse.raw and filter:parse.post...


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.