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.
Change "Howdy, Stranger!" to something more professional (i.e. more boring).
apbarratt
New
Oh how I feel like such a square posting this.
Vanilla is designed to be fun and enjoyable, unfortunately for the company I'm working for, what is seen by Vanilla to be fun and enjoyable is seen as unprofessional. So I'm looking for a general pointer to where I can go be a kill joy by changing phrases like "Howdy Stranger!" to something more professional sounding. Perhaps a folder/file name?
Vanilla is designed to be fun and enjoyable, unfortunately for the company I'm working for, what is seen by Vanilla to be fun and enjoyable is seen as unprofessional. So I'm looking for a general pointer to where I can go be a kill joy by changing phrases like "Howdy Stranger!" to something more professional sounding. Perhaps a folder/file name?
Tagged:
0
Best Answers
-
ojjuan NewAgreed, and I modified it by changing the default message in the class.guestmodule.php file located in /applications/dashboard/modules.
In my version of Vanilla, I changed line 17 ($MessageDefault value). Not sure if this is the best way to customize as it'll probably get overwritten if/when I upgrade.0
Answers
In my version of Vanilla, I changed line 17 ($MessageDefault value). Not sure if this is the best way to customize as it'll probably get overwritten if/when I upgrade.
In mine, I've ended up changing the greeting as well as the paragraph underneath at /applications/dashboard/modules as well as /applications/dashboard/views/modules.
Now to look into this "Bonk - Something funky happened" error message, don't want that turning up :S
public $MessageCode = 'GuestModule.Message';
public $MessageDefault = "It looks like you're new here. If you want to get involved, click one of these buttons!";
deleted
public $MessageCode = 'GuestModule.Message';
and changed
public $MessageDefault = "It looks like you're new here. If you want to get involved, click one of these buttons!";
but the "Howdy Stranger" message is still there. Must be pulling from another place
btw, what's the tag for this discussion?
I had thought of using locales to translate it like @Mark suggests, but felt it too hacky. I think editing the actual modules like we have above feels more like a fix to our problem.
However, it does mean you have to keep a backup and if there should be any upgrades to the modules you change, you'd likely loose your changes along with them.
Perhaps we should work to add to the next version, an option to have two types of vanilla, Classic Vanilla and Vanilla Professional. Which simply comes up as an option during setup and on the dashboard and just chooses the messages that apear accross the site.
p.s. it's amazing how much I'm craving ice cream right now.
p.p.s. @Mark, if you're hiring ;]
p.p.p.s. ...and paying for flights.
example Can be done in this format
How would I use this code?
cheers
add the line
$Definition['Some text'] = 'Translation goes here.';
e.g you want to change text "Apply for Membership" to something else then you can do something like :
$Definition['Apply for Membership'] = 'Get Involved.';
There was an error rendering this rich post.
hi sahotataran
Tried to translate "Accepted Answer" in post to something else using /conf/locale.php and it doesn't work... Is this changed by this method or another way?
Same method, should work. Instead of /conf/local.php go to /locale/skeleton/ duplicate it change the folder name to whatever you want to call your locale, and then add
$Definition['Accepted Answer'] = 'Agreed Upon Solution.';
or whatever tickles your fancy.
Then in dashboard go to locale and change it to to locale you just made.
I use @clethrill 's. method.
There was an error rendering this rich post.
I've never heard anyone say "Howdy Stranger" outside of the movies. It might be a regional expression common to the area where the original developers live.
Given that even the developers admit that this is one of the most common questions asked, wouldn't it be reasonable to make a change to using more neutral language in the default locale?
http://vanillaforums.com/blog/developers/howdy-stranger/
http://vanillaforums.org/discussion/18841/how-to-change-words-howdy-stranger-in-invite-form
http://vanillaforums.org/discussion/10614/where-is-the-language-file-for-howdy-stranger
http://vanillaforums.org/discussion/18882/i-cant-change-howdy-stranger-to-gday
Oh how funny, I also changed that part !! The Howdy is kind of from the south lol
I just Put Welcome, Please Register to Post and the apply for membership to Register.
pretty cool to be able to customize everything !! That's why I love Vanilla
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I thought the developers are from Canada? Maybe it is used there too.