Fixes plus chat code
Please enter the commit message for your changes. Lines starting
chat reg php files