In a discussion about the vBulletin Emojis plugin for Discourse, cpradio introduces a plugin to revive classic vBulletin-style emojis — many animated — which coexist with modern Emojione sets without conflict. codinghorror notes that Discourse 1.2 will support custom emoji from Apple, Google, and Twitter, but cpradio argues the vB emojis have a nostalgic, distinct aesthetic that doesn’t fit modern styles. Humor ensues, including playful jabs and emoji-laden replies codinghorror and cpradio. Later, users report the plugin is broken in recent Discourse versions (e.g., 2.5.0.beta2) Hifihedgehog. Steven explains the breakage stems from new emoji group features, suggesting a fix via register_emoji in plugin code, but notes caching issues remain unresolved. cpradio offers to add Steven as a contributor to the repo. Debugging reveals a NameError: uninitialized constant Plugin::Instance::Emojicpradio, which j.jaffeux resolves by wrapping register_emoji in an after_initialize block — a fix cpradio confirms works. sunjam asks whether to import all emojis directly or split into separate plugins; tom1984 questions if native custom emoji now support animation, noting they’ve worked well for 20+ years. Steven confirms some GIFs work, and tom1984 shares success using built-in custom emoji with CSS resizing for proper aspect ratios, citing meta.discourse.org.
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!
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 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.
PSA: Este complemento, en las últimas semanas, se ha roto con la última versión de Discourse, 2.5.0.beta2. Adiós, adiós, emoticonos de vbulletin. Fue un gusto conocerte.
El plugin puede actualizarse. El plugin está roto debido a una gran nueva función que permite la creación de nuevos grupos de emojis, pero aún podemos registrar nuevos emojis mediante el plugin.
Creo que solo necesitaremos agregar un elemento en el archivo plugin.rb, algo así:
Gracias, @Steven. Veo que @cpradio sigue activo visitando los foros aquí, hasta hace 3 días. Si no responde en una semana, ¿es aceptable que haga un fork de su plugin (con el debido crédito) usando la corrección que mencionas arriba?
@Steven, si quieres, puedo agregarte como colaborador al repositorio existente. Estoy más que feliz de compartir la responsabilidad. Lamentablemente, me tomará un tiempo configurar nuevamente un entorno de desarrollo para Discourse; desafortunadamente, no he tenido tiempo de trabajar en él, así que he descartado mis configuraciones por ahora.
Te envié una invitación. Si hay otras personas a las que quieras invitar, avísame. Logré volver a armar mi equipo anoche, pero eso es todo lo que hice: una instalación limpia de Discourse. Planeo volver a revisarlo esta noche (si el tiempo lo permite); en el peor de los casos, mañana por la noche.
Esto es extraño y podría no ser un problema del propio plugin. Cuando hago un rebuild en una instalación limpia de Discourse agregando mi plugin, obtengo el siguiente error