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
-
@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...