Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Customizing Messages

2»

Comments

  • Finally a sophisticated answer!

  • @gstar

    The suggestion by @vrijvlinder is the least best solution.

    Hacking the core is almost never the right way to go with Vanilla.

    You have been presented with several other, more efficient ways to achieve your aim in previous answers.

    If the help you have received isn't helping you, that is more a reflection on your understanding than of the help offered.

  • Changes like this belong in conf/locale.php. That's the ultimate override of phrases. Anything else you change in Vanilla will get overwritten during upgrades.

  • peregrineperegrine MVP
    edited December 2012

    gstar,

    Pick either one of the following.

    @peregrine said:
    definitions in conf/locale.php are read last and override everything else, that is why I suggest this way

    @Lincoln said:
    Changes like this belong in conf/locale.php. That's the ultimate override of phrases. Anything else you change in Vanilla will get overwritten during upgrades.

    @whu606 said:
    Hacking the core is almost never the right way to go with Vanilla.
    You have been presented with several other, more efficient ways to achieve your aim in previous answers.
    If the help you have received isn't helping you, that is more a reflection on your understanding than of the help offered.

    In summary:

    "You can lead a horse to water, but you can't make him drink".

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • edited December 2012

    I guess I should have said , in case you find this, don't change the words here, add a new $Definition in your locale because changes you make here will revert when you upgrade.

    $Definition['You are attempting to sign out of Vanilla. Are you sure you want to %s?'] = 'You are attempting to sign out of VrijVlinder. Are you sure you want to %s?.';
    

    My father used to say that about a horse....

Sign In or Register to comment.