Advertisement:

Author Topic: [ Solved ] User public profile and contact form  (Read 5448 times)

Optimus

  • Jr. Member
  • **
  • Posts: 90
[ Solved ] User public profile and contact form
« on: November 22, 2012, 03:08:27 pm »
Hello, when I send an email from the contact form on the user public profle page, the email is correctly sent but there is no confirmation message "your email has been sent" how can I make that happen ? Thanks.
« Last Edit: November 25, 2012, 09:18:50 pm by jimwinny »

Optimus

  • Jr. Member
  • **
  • Posts: 90
Re: User public profile and contact form
« Reply #1 on: November 25, 2012, 05:59:57 pm »
For the one interested, here is the solution :

in user-non-secure.php, after line :

osc_run_hook('hook_email_contact_user', Params::getParam('id'), Params::getParam('yourEmail'), Params::getParam('yourName'), Params::getParam('phoneNumber'), Params::getParam('message'));

add the line

osc_add_flash_ok_message( _m("We've just sent an e-mail to the seller") ) ;