vBulletin Emojis

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-’
https://github.com/cpradio/vb_emoji

A big thanks goes out to @eviltrout for his emoji extender!

18개의 좋아요

Just a reminder that in the 1.2 release there will be:

  • choice of Emoji class from Google, Apple, Twitter, EmojiOne

  • custom Emoji support

1개의 좋아요

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 :wink:

2개의 좋아요

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개의 좋아요

I always did consider myself a :laughing:

Too much?

3개의 좋아요

Hahahahahaha. This was too good to just like.

2개의 좋아요

2개의 좋아요

PSA: 최근 몇 주 동안 이 플러그인은 Discourse의 최신 릴리스인 2.5.0.beta2와 함께 깨져버렸습니다. vBulletin 이모티콘, 안녕. 만나서 좋았어. :cry:

2개의 좋아요

플러그인은 업데이트할 수 있지만, 새로운 이모지 그룹 생성을 허용하는 대형 신규 기능으로 인해 플러그인이 깨져 있습니다. 그래도 여전히 플러그인을 통해 새로운 이모지를 등록할 수는 있습니다.

plugin.rb 파일에 요소를 하나 추가하면 될 것 같습니다. 예를 들어 다음과 같이:

register_emoji "doh", "/plugins/discourse-plugin-vb-emoticons/images/doh.gif", "vbulletin"

그러면 다시 작동할 것입니다

5개의 좋아요

감사합니다, @Steven. @cpradio 님이 3일 전까지도 이곳 포럼에 활발히 방문하고 계시는 걸 확인했습니다. 만약 일주일 안에 답변이 없다면, 위에서 언급하신 수정 사항을 적용하여 해당 플러그인을 포크(적절히 크레딧을 표기하고)하는 것이 괜찮을까요?

1개의 좋아요

이 수정만으로는 충분하지 않은 것 같습니다. clear_cache 명령어를 추가해야 하는데, 지금은 어떻게 해야 할지 잘 모르겠습니다. 조사해 보겠습니다.

유지보수도 맡을 수 있습니다. 비슷한 플러그인이 있어서, 무언가 변경될 때 묶어서 업그레이드를 진행할 수 있습니다.

2개의 좋아요

좋은 계획인 것 같네요! 감사합니다.

1개의 좋아요

@Steven, 원하시면 기존 저장소에 기여자로 추가해 드릴 수 있어요. 책임 분담을 기꺼이 하고 싶습니다. 다만, 다시 discourse 개발 환경을 구축하는 데는 시간이 좀 걸릴 것 같아요. 아쉽게도 최근 그쪽에 시간을 쓸 기회가 없어서 개발 환경을 한동안 정리해 두었거든요.

2개의 좋아요

이 부분은 괜찮습니다. 제 GitHub 계정은 iunctis입니다.

이모지 플러그인이 작동하도록 하는 해결책은 아직 찾지 못했습니다. 캐시를 지우는 올바른 명령어를 모르겠습니다.

2개의 좋아요

초대장을 보냈습니다. 다른 곳도 초대받고 싶으면 알려주세요. 어젯밤 늦게까지 리건을 다시 조립했지만, 거기까지였어요. Discourse를 클린 설치한 상태입니다. 오늘 밤에(시간이 허락하면) 다시 볼 계획이고, 최악의 경우 내일 밤에 볼 겁니다.

3개의 좋아요

이것은 이상하고 플러그인 자체의 문제일 수도 없습니다. Discourse를 깨끗하게 설치한 후 플러그인을 추가하고 리빌드(rebuild)를 수행하면 다음과 같은 오류가 발생합니다.

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>'

첫 두 줄에 주목해 주세요:

NameError: uninitialized constant Plugin::Instance::Emoji
/var/www/discourse/lib/plugin/instance.rb:482:in `register_emoji'

@j.jaffeux, 왜 상수(constant)를 찾지 못하는지 아이디어가 있을까요? 잘못된 네임스페이스(namespace)를 찾고 있는 것 같습니다.

3개의 좋아요

모든 register_emoji 호출을 after_initialize 블록 안에 감싸면 잘 작동할 것 같습니다.

이렇게 할 수 있을까요?

6개의 좋아요

역시 작동하네요! 감사합니다!

3개의 좋아요