Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Update for critical security issue in PHPMailer included in release Vanilla 2.3.1
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

How to disable smileys?

This discussion is related to the NBBC addon.
edited December 2011 in Vanilla 2.0 - 2.2

I've installed this plugin for BBcode tags support, but got a thing I despise: smileys. Had I wanted to enable them, I'd install another plugin already in repository. @Todd, how can I turn them off? Thanks.

Best Answer


  • Accepted Answer

    just delete them from the nbbc.php in plugins/NBBC/nbbc/ they should start in line 394.

  • edited December 2011

    Thanks, found it. Still, Emotify plugin is in the core - why override it?

  • yeah that makes sense, i dont get it either... bbcodes should include the smileys at all since its something else.

  • ToddTodd Chief Product Officer Vanilla Staff

    NBBC includes smiley support as a core feature. There's no reason to code around it.

  • @Todd, why it is in NBBC, when there is other plugin in core, Emotify, that does exactly the same?

  • ToddTodd Chief Product Officer Vanilla Staff

    @Zverik. This is a really frustrating type question to get asked. Here is a generic answer as to why things are the way they are.

    1. We programmed a feature to work for our purposes.
    2. It is our hope that if it doesn't work for someone else then they will do that programming and contribute it back to the project. This is the fundamental goal of the GPL.
    3. If someone doesn't know how to program then they should either pay someone to make the change or use the feature as is. If you think making a feature request is beneficial to the project then you should at the very least put in the effort to write more than one broken sentence reasoning as to why a feature is beneficial and worth us spending our time on.

    Sometimes I get snippy with people that ask these questions and they are left completely confused as to why I am this way. Well, it's because about 90% of the community thinks that it is our responsibility to code Vanilla exactly as they want for free. And every feature request is usually not even thought out for five minutes.

  • Is there a way I can disable the smiley functionality in its entirety?
    My problem is this:
    When I enable the addon, I get this in all the posts where smileys are located:

    This only happens when I have NBBC enabled. All other smiley options are disabled.

    Are you planning on releasing a version where smileys are not included in the code?

    I recently merged from phpBB3 and have tons of posts with smileys in them, naturally.
    But I needed this addon because BB-code was heavily used in all previous posts. This addon nicely makes photos appear in posts again, but this is the last thing I have to fix before I go live with my shiny new Vanilla Forums install...

  • @unixhero said:
    My problem is this:
    When I enable the addon, I get this in all the posts where smileys are located:

    I had the same problem, because index.php?p=/ was automatically being inserted into the URL. I just went into the NBBC/nbbc folder and edited the class.nbbc.plugin.php to have the full URL as the smiley locations, rather than just /plugins/NBBC/design/smileys. After doing this, it works fine! :) I'm sure there are probably better ways of doing it, but it worked fine and I don't intend on changing the smileys locations at any time!

Sign In or Register to comment.