After last restart forum has been up almost 2 days without crash, no plugin has been disabled. Actually I didn't do anything else, just started NodeBB again.
Emoji Skype Plugin crashes on frontend access
-
Hi.
I have a NodeBB installation, running v. 0.4.3
The Emoji-Skype-Plugin is not working here. I can install and activate it (plugin v. 2.0.1), but when I visit my homepage, NodeBB crashes. The frontend returns a 404, while the admin backend is still working.When activating the skype plugin and calling the homepage, the NodeeBB log prints the following error:
TypeError: Object #<Object> has no method 'replaceOutsideOfCode' at Object.Emoji.addEmoji (/home/nodeuser/nodebb/node_modules/nodebb-plugin-emoji-skype/index.js:217:17) at /home/nodeuser/nodebb/src/plugins.js:320:36 at /home/nodeuser/nodebb/node_modules/async/lib/async.js:249:13 at iterate (/home/nodeuser/nodebb/node_modules/async/lib/async.js:134:13) at /home/nodeuser/nodebb/node_modules/async/lib/async.js:145:25 at /home/nodeuser/nodebb/node_modules/async/lib/async.js:251:17 at /home/nodeuser/nodebb/src/plugins.js:326:10 at /home/nodeuser/nodebb/node_modules/async/lib/async.js:249:13 at iterate (/home/nodeuser/nodebb/node_modules/async/lib/async.js:134:13) at /home/nodeuser/nodebb/node_modules/async/lib/async.js:145:25
Can anyone help me out here?
Thx guys! -
@Beatmax hey buddy, you'd be better off using the extended version of this plugin, it's more up to date with more features. You'll need to remove the current plugin by running
npm rm nodebb-plugin-emoji-skype
Then
npm install nodebb-plugin-emoji-extended
-
Thx man.
I had the extended plugin installed first.But I would heavily prefer skype smileys over whatsapp smileys
Any way to use them in the extended version? -
@Beatmax I thought extended used both. You can add new ones, have a look through the plugin and you'll see how they work.
-
@a_5mith Not necessarily... emoji-extended has a flag in ACP where it can "play nice" if you have emoji-skype installed. Otherwise, it clobbers the shortcuts with its own (e.g.
:)
:(
etc)I'll have to take a look at the plugin in a bit... see what broke...
-
Thank you, that would be awesome!
-
could you find out anything here?
-
@Beatmax have not had a chance to look into it yet today
-
I too turned off emoji Skype after a similar issue.
-
@Beatmax @meetdilip The plugin has been republished as v0.3.0 and is now compatible with NodeBB v0.4.x
-
-
Yeah man,
works fantastic. Thank you, @julian! -
And when I install ehe extended emoji plugin now, bot the skype- and the whatsapp smileys work?
e: yes, they do! bravo!