This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
Edit registration flash message
« on: March 24, 2018, 09:58:35 AM »
Hello. I need to edit the flash message after user registration. Since the email goes to spam box, I'll need to let's users know that if they don't find it in mail box, they should check spam box.

If you have a suggestion for reason my mails end up in spam and how to resolve it. Please let me know
Thanks

*

MB Themes

Re: Edit registration flash message
« Reply #1 on: March 24, 2018, 12:43:07 PM »
Best way is to update text in flash message via translation file.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Edit registration flash message
« Reply #2 on: March 24, 2018, 08:32:49 PM »
Best way is to update text in flash message via translation file.
Which file do I need to edit please. Can you come a little below to my understanding. Thanks

Marked as best answer by engr.victor on March 24, 2018, 09:43:55 PM
Re: Edit registration flash message
« Reply #3 on: March 24, 2018, 09:36:20 PM »
Best way is to update text in flash message via translation file.
public_html/oc-includes/osclass/controller 

In the above folder, I found register.php has it
Code: [Select]
if($success==1) {
                                            osc_add_flash_ok_message( _m('The user has been created. An activation email has been sent'));
                                            $this->redirectTo(osc_base_url());
                                        } else if($success==2) {
                                            osc_add_flash_ok_message( _m('Your account has been created successfully'));
                                            Params::setParam('action', 'login_post');
                                            Params::setParam('email', Params::getParam('s_email'));
                                            Params::setParam('password', Params::getParam('s_password', false, false));
                                            require_once(osc_lib_path() . 'osclass/controller/login.php');
                                            $do = new CWebLogin();
                                            $do->doModel();
                                        } else {
                                            osc_add_flash_error_message($success);
                                            $this->redirectTo(osc_register_account_url());
                                        }

Re: Edit registration flash message
« Reply #4 on: March 25, 2018, 06:21:26 PM »
Use Poedit to edit flash messages. flash messages file is core.po

Re: Edit registration flash message
« Reply #5 on: March 25, 2018, 06:33:18 PM »
Use Poedit to edit flash messages. flash messages file is core.po
Bro but after I edited the file above i solved it. If you think I'm wrong please tell me exactly how. I know powedit but i dont know how to use it
« Last Edit: March 25, 2018, 06:44:47 PM by Engr Ogba Victor »