cpradio
(cpradio)
2014 年 11 月 16 日午後 5:13
1
For anyone who wants to relive the old days of vBulletin and bring back those emojis, have a look at the following plugin (and yes, several of them are animated)
Oh, and they do not interfere with the existing emojione emoticons, as these are all prefixed with ‘vb-’
Enable emoticons found in vBulletin in Discourse
A big thanks goes out to @eviltrout for his emoji extender!
「いいね!」 18
Just a reminder that in the 1.2 release there will be:
「いいね!」 1
cpradio
(cpradio)
2014 年 12 月 15 日午後 10:48
3
Yes, that looks really neat (btw). The vB ones really don’t fit in with the Google/Apple/Twitter… ones, so I see this still being the easiest way to quickly bring in the vB emoticons, but I do like the progress that was made here within Discourse.
Well, these vb ones don’t really fit in anywhere in my opinion
「いいね!」 2
cpradio
(cpradio)
2014 年 12 月 15 日午後 10:58
5
Well aware of that. As you are aware that the opinions of others are the existing ones don’t really fit in anywhere… So the opinions are mutual across both sides. I personally don’t care enough one way over another, I simply created the plugin as 1) a test to get used to the plugin framework, and 2) because I know our forum specifically wants it.
「いいね!」 2
I am just kidding. Just know, @cpradio , that I will always think of you as my
「いいね!」 6
cpradio
(cpradio)
2014 年 12 月 16 日午前 12:04
7
I always did consider myself a
Too much?
「いいね!」 3
HAWK
(Hawk)
2014 年 12 月 16 日午前 2:00
8
Hahahahahaha. This was too good to just like.
「いいね!」 2
PSA: このプラグインは、ここ数週間で Discourse の最新リリース(2.5.0.beta2)により動作しなくなっています。vBulletin の絵文字とはお別れです。長い間、ありがとう。
「いいね!」 2
Steven
2020 年 4 月 5 日午後 1:56
11
プラグインは更新可能です。新しい絵文字グループの作成を可能にする優れた新機能によりプラグインが破損していますが、プラグイン経由で新しい絵文字を登録することは依然として可能です。
committed 06:16PM - 30 Mar 20 UTC
Note: DBHelper would fail with a sql syntax error on columns like "group".
Co… -authored-by: Jarek Radosz <jradosz@gmail.com>
plugin.rb ファイルに以下のような要素を追加するだけで済むと思います。
register_emoji "doh", "/plugins/discourse-plugin-vb-emoticons/images/doh.gif", "vbulletin"
これで再度動作するはずです。
「いいね!」 5
ありがとうございます、@Steven 。@cpradio は 3 日前までこのフォーラムを訪問しており、まだアクティブなようです。もし彼が 1 週間以内に返信しない場合、上記で言及された修正を使用して、彼のプラグインをフォーク(適切にクレジットを明記して)しても問題ないでしょうか?
「いいね!」 1
Steven
2020 年 4 月 6 日午後 6:55
13
この修正だけでは不十分なようです。clear_cache コマンドを追加する必要がありますが、現時点ではその方法がわかりません。確認いたします。
メンテナンスも喜んで引き受けます。似たようなプラグインを持っているので、何か変更があった際にまとめてアップグレードを行うことができます。
「いいね!」 2
cpradio
(cpradio)
2020 年 4 月 8 日午前 2:10
15
@Steven 、もしよろしければ、既存のリポジトリにコントリビューターとして追加できます。責任を共有するのはとても嬉しいです。残念ながら、Discourse の開発環境を再び構築するまでには少し時間がかかりそうです。残念ながら、時間を割くことができなかったため、設定をしばらく保留にしています。
「いいね!」 2
Steven
2020 年 4 月 8 日午前 11:25
16
これで問題ありません。私の GitHub アカウントは iunctis です。
絵文字プラグインが機能する解決策はまだ見つかっていません。キャッシュをクリアする正しいコマンドが不足しています。
「いいね!」 2
cpradio
(cpradio)
2020 年 4 月 8 日午後 1:14
17
招待を送信しました。他にも招待したい人がいれば、教えてください。昨夜遅くにマシンを再組み立てしましたが、Discourse のクリーンインストールまでしか進んでいません。今夜(時間が許せば)再度確認する予定です。最悪の場合は明日夜になります。
「いいね!」 3
cpradio
(cpradio)
2020 年 4 月 8 日午後 8:50
18
これは奇妙で、プラグイン自体の問題ではない可能性があります。プラグインを追加したまま Discourse をクリーンインストールして再構築を実行すると、以下のエラーが発生します。
Caused by:
NameError: uninitialized constant Plugin::Instance::Emoji
/var/www/discourse/lib/plugin/instance.rb:482:in `register_emoji'
/var/www/discourse/plugins/discourse-plugin-vb-emoticons/plugin.rb:12:in `activate!'
/var/www/discourse/lib/plugin/instance.rb:526:in `instance_eval'
/var/www/discourse/lib/plugin/instance.rb:526:in `activate!'
lib/discourse.rb:224:in `block in activate_plugins!'
lib/discourse.rb:221:in `each'
lib/discourse.rb:221:in `activate_plugins!'
/var/www/discourse/config/application.rb:280:in `block in <class:Application>'
/var/www/discourse/lib/plugin_initialization_guard.rb:5:in `plugin_initialization_guard'
/var/www/discourse/config/application.rb:279:in `<class:Application>'
/var/www/discourse/config/application.rb:62:in `<module:Discourse>'
/var/www/discourse/config/application.rb:61:in `<top (required)>'
/var/www/discourse/Rakefile:7:in `require'
/var/www/discourse/Rakefile:7:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
最初の 2 行に注目してください。
NameError: uninitialized constant Plugin::Instance::Emoji
/var/www/discourse/lib/plugin/instance.rb:482:in `register_emoji'
@j.jaffeux さん、定数が見つからない理由について何かご存知でしょうか?どうやら間違った名前空間内を検索しているようです。
「いいね!」 3
j.jaffeux
(Joffrey Jaffeux)
2020 年 4 月 8 日午後 8:58
19
すべての register_emoji コールを after_initialize ブロック内にラップすると、うまくいくと思います。
それを実行することは可能ですか?
「いいね!」 6