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

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)

تنبيه هام: أصبح هذا الإضافة معطّلاً في الأسابيع القليلة الماضية مع الإصدار الأحدث من 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 أيام. إذا لم يرد خلال أسبوع، فهل يُعتبر مقبولًا أن أقوم بإنشاء نسخة مشتقة من إضافة (plugin) الخاصة به (مع ذكر الفضل له بشكل مناسب) باستخدام الإصلاح الذي ذكرته أعلاه؟

إعجاب واحد (1)

يبدو أن هذا الإصلاح غير كافٍ، نحتاج إلى إضافة أمر clear_cache، لكنني لا أعرف كيفية القيام بذلك حاليًا. سأبحث في الأمر.

لا مانع لدي من صيانته أيضًا، لدي إضافة مماثلة، لذا يمكنني إجراء ترقيات مجمعة عند حدوث أي تغيير.

إعجابَين (2)

هذا يبدو كخطة جيدة! أقدر ذلك.

إعجاب واحد (1)

@ستيفن، إذا رغبت، يمكنني إضافتك كمساهم في المستودع الحالي. أنا سعيد جداً بمشاركة المسؤولية. للأسف، سيستغرق مني بعض الوقت لإعادة بناء بيئة التطوير الخاصة بـ Discourse مرة أخرى، للأسف، لم أجد وقتاً لأعمل عليها، لذا قمت بالتخلي عن إعداداتي لفترة من الوقت.

إعجابَين (2)

أنا راضٍ عن هذا، حسابي على GitHub هو iunctis

لم أجد حلاً بعد لإضافة الإيموجي لتعمل، أنا أفتقر إلى الأوامر الصحيحة لمسح ذاكرة التخزين المؤقت

إعجابَين (2)

أرسلت لك دعوة. إذا كان هناك أي مستخدمين آخرين ترغب في دعوتهم، فأخبرني. لقد قمت بإعادة تجميع جهاز الكمبيوتر الخاص بي في وقت متأخر من الليلة الماضية، لكنني لم أذهب أبعد من ذلك؛ فقد قمت بتنصيب Discourse نظيفًا. أخطط لمراجعته مرة أخرى الليلة (إذا سمح الوقت)، وفي أسوأ الحالات، غداً في المساء.

3 إعجابات

هذا غريب وقد لا يكون مشكلة في الإضافة نفسها. عندما أقوم بإعادة البناء على تثبيت نظيف لـ 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>'

لاحظ السطرين الأولين:

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

@j.jaffeux، هل لديك أي أفكار حول سبب عدم قدرته على العثور على الثابت؟ يبدو أنه يبحث داخل مساحة أسماء خاطئة.

3 إعجابات

أعتقد أن الأمر سيعمل بشكل جيد إذا قمت بتغليف جميع استدعاءات register_emoji الخاصة بك داخل كتلة after_initialize

هل يمكنك فعل ذلك؟

6 إعجابات

في الواقع، هذا يعمل! شكرًا لك!

3 إعجابات