Howdy Stranger and bottom description location!

I saw someone asking where is located the Howdy Stranger title ?
The Howdy Stranger title is located in APPLICATIONS/DASHBOARD/VIEWS/MODULES/GUEST.PHP LINE 3
And the bottom howdy stranger description is located in APPLICATIONS/DASHBOARD/MODULES/CLASS.GUESTMODULE.PHP LINE 17
Hope i helped you.

Comments

You should use locale definitions rather than modifying core files. In this example, placing the following in your /conf/locale.php file will override the guest module text:

$Definition['Howdy, Stranger!'] = 'Welcome to the community!';
$Definition['GuestModule.Message'] = "I don't think I have seen you before. If you want to join in on the conversation, click one of these buttons!";

@AlbinJakupi said:
I saw someone asking where is located the Howdy Stranger title ?
The Howdy Stranger title is located in APPLICATIONS/DASHBOARD/VIEWS/MODULES/GUEST.PHP LINE 3
And the bottom howdy stranger description is located in APPLICATIONS/DASHBOARD/MODULES/CLASS.GUESTMODULE.PHP LINE 17
Hope i helped you.

If the one who asked the question wanted to look at the source code in order to study it, your answer is the better one.
If he wanted to translate something, he would be thankful for @hgtonight s answer on the long run.

I always dislike it when someone asks"How can I change this?" and the answer is something like "Why do you want to do this? Do that!" So I think your answer is okay, but it is not complete. Adding @hgtonight s advice makes it more helpful.

@AlbinJakupi said:
Yes , it's sure the hgtonight 's answer is good but i shared another method i said anyone who want just translate it can use hgtonigt method but and my method is good and simple too.

Sorry you are plain wrong. You not edit core file except if you wish to maintain a fork, and then you can publish documentation for it and host support forum for that rather then on vanillaforums.org

What you can do is copy views to you theme to change, though only if it is really necessary as this has some pitfalls too.

hgtonight provided the correct way to do it, you way is not the correct way as it will be wiped with updates.

@hgtonight said:
You should use locale definitions rather than modifying core files. In this example, placing the following in your /conf/locale.php file will override the guest module text:

$Definition['Howdy, Stranger!'] = 'Welcome to the community!';
$Definition['GuestModule.Message'] = "I don't think I have seen you before. If you want to join in on the conversation, click one of these buttons!";

This is the preferred method for modifying translatable text.

This is great and works if you just want to change the text, but what if you want to remove it all together? I tired setting the values to null, but that still left behind the HTML wrappers, like <h4></h4>.

You could also just add those buttons as a module and not display the guest module.If you are using 2.1 , you can disable the Guest module in config.php and then

The main style is hiding the me box sign in and register links

.MeBox-SignIn {
display: none!important;
}

Add to your custom.css this, if it does not work you will need to change that in the main stye in the applications/dashboard/design/style.css ,by removing the !important from it. Then the links will show.

@AlbinJakupi said:
I saw someone asking where is located the Howdy Stranger title ?
The Howdy Stranger title is located in APPLICATIONS/DASHBOARD/VIEWS/MODULES/GUEST.PHP LINE 3
And the bottom howdy stranger description is located in APPLICATIONS/DASHBOARD/MODULES/CLASS.GUESTMODULE.PHP LINE 17
Hope i helped you.

So simple and easy. Thanks

How to change 'Announcement' to some other texts like 'Featured'. Your method is best for beginners like me.

@hgtonight said:
You should use locale definitions rather than modifying core files. In this example, placing the following in your /conf/locale.php file will override the guest module text:

$Definition['Howdy, Stranger!'] = 'Welcome to the community!';
$Definition['GuestModule.Message'] = "I don't think I have seen you before. If you want to join in on the conversation, click one of these buttons!";

This is the preferred method for modifying translatable text.

Vanilla 2.5 does not accept this method. No localephp in conf. Created one and definitions showed at top of page. Had to change with guestphp. Sure would have liked to change it your way. Next update will have to re-edit the files.

<?php
$Definition['Howdy, Stranger!'] = 'Welcome to the community!';
$Definition['GuestModule.Message'] = "I don't think I have seen you before. If you want to join in on the conversation, click one of these buttons!";

@hgtonight said:
You should use locale definitions rather than modifying core files. In this example, placing the following in your /conf/locale.php file will override the guest module text:

$Definition['Howdy, Stranger!'] = 'Welcome to the community!';
$Definition['GuestModule.Message'] = "I don't think I have seen you before. If you want to join in on the conversation, click one of these buttons!";

This is the preferred method for modifying translatable text.

Vanilla 2.5 does not accept this method. No localephp in conf. Created one and definitions showed at top of page. Had to change with guestphp. Sure would have liked to change it your way. Next update will have to re-edit the files.