View Single Post
  #6  
Old 04-20-2015, 12:54 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,243
Kyttias is on a distinguished road
Default

I'm not in the best position to test this, but for v1.3.4, open up view/registerview.php, and find:

PHP Code:
if($mysidia->input->post("submit")){
    
$document->setTitle($this->lang->success_title);
    
$document->addLangvar($this->lang->success.$mysidia->input->post("username").$this->lang->success2);    
    return;

and replace it with:

PHP Code:
if($mysidia->input->post("submit")){
    
$document->setTitle($this->lang->success_title);
    
$document->addLangvar($this->lang->success.$mysidia->input->post("username").$this->lang->success2);

    
$pm = new PrivateMessage(); // Send them a welcoming message
    
$pm->setsender('YourUsernameHere');
    
$pm->setrecipient(htmlentities(addslashes(trim($mysidia->input->post("username")))));
    
$pm->setmessage("the message title""put your welcoming message here");
    
$pm->post();  
    
    return;

Could someone test this?
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote