|
|
Re:[CONFIRMED] Registration emails [PASSWORD]
|
|
Date: 2007/11/06 21:09
|
By: king.lui
|
Status:
|
|
|
Karma: 10  
|
|
Senior Joomlapolitan  | Posts: 98 |   | |
|
same problem and i don't have installed joomcomment. I know, my english seems a little .. unusual .. but really, it's not bad, it's only a bavarian version
|
|
The administrator has disabled public write access. |
|
|
|
Re:[CONFIRMED] Registration emails [PASSWORD]
|
|
Date: 2007/11/06 21:21
|
By: king.lui
|
Status:
|
|
|
Karma: 10  
|
|
Senior Joomlapolitan  | Posts: 98 |   | |
|
Try this:
=> comprofiler.class.php => function _replaceVariables
after this line (4982): $msg = cbstr_ireplace("[CONFIRM]", $confirmLink, $msg );
put this (code from older cb-versions): $array = array(); $array=get_object_vars($row); foreach( $array AS $k=>$v) { if(!is_object($v)) { if (!(strtolower($k) == "password" && strlen($v) >= 32)) { $msg = cbstr_ireplace("[".$k."]", getLangDefinition($v), $msg ); } } } I know, my english seems a little .. unusual .. but really, it's not bad, it's only a bavarian version
|
|
The administrator has disabled public write access. |
|
|
|
Re:[CONFIRMED] Registration emails [PASSWORD]
|
|
Date: 2007/11/06 22:39
|
By: WebTrooper
|
Status: User
|
|
|
Karma: -3  
|
|
Fresh Joomlapolitan  | Posts: 15 |   | |
|
King Lui, you Bavarian God! Thanks a gazillion! 
Post edited by: WebTrooper, at: 2007/11/07 14:19
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:[CONFIRMED] Registration emails [PASSWORD]
|
|
Date: 2007/11/07 11:21
|
By: lucser
|
Status:
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 10 |   | |
|
i had on line 4992... tryied but not working... king.lui wrote: Try this:
=> comprofiler.class.php => function _replaceVariables
after this line (4982): $msg = cbstr_ireplace("[CONFIRM]", $confirmLink, $msg );
put this (code from older cb-versions): $array = array(); $array=get_object_vars($row); foreach( $array AS $k=>$v) { if(!is_object($v)) { if (!(strtolower($k) == "password" && strlen($v) >= 32)) { $msg = cbstr_ireplace("[".$k."]", getLangDefinition($v), $msg ); } } }
|
|
The administrator has disabled public write access. |
|
|
|
Re:[CONFIRMED] Registration emails [PASSWORD]
|
|
Date: 2007/11/07 21:16
|
By: cord
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 3 |   | |
|
Hi king.lui,
your workaround works partly for me:
the mail with the activation link now really does contain the password - that's the part that works and I do thank you for the hint!
But the welcome mail still does not resolve the variable but still contains [PASSWORD].
Is there some kind of solution for the welcome mail?
Cord
king.lui wrote: Try this:
=> comprofiler.class.php => function _replaceVariables
after this line (4982): $msg = cbstr_ireplace("[CONFIRM]", $confirmLink, $msg );
put this (code from older cb-versions): $array = array(); $array=get_object_vars($row); foreach( $array AS $k=>$v) { if(!is_object($v)) { if (!(strtolower($k) == "password" && strlen($v) >= 32)) { $msg = cbstr_ireplace("[".$k."]", getLangDefinition($v), $msg ); } } }
|
|
The administrator has disabled public write access. |
|
|
|
Re:[CONFIRMED] Registration emails [PASSWORD]
|
|
Date: 2007/11/07 23:28
|
By: beat
|
Status: Admin
|
|
|
Karma: 239  
|
|
Admin  | Posts: 3804 |   | |
|
@ king.lui : Thanks a lot for troubleshooting and providing the fix. 
cord wrote: Hi king.lui,
your workaround works partly for me:
the mail with the activation link now really does contain the password - that's the part that works and I do thank you for the hint!
But the welcome mail still does not resolve the variable but still contains [PASSWORD].
Is there some kind of solution for the welcome mail?
Cord
Cord,
This is absolutely normal behavior of CB.
CB can only send password in the email sent when pressing "register", as passwords are never stored in cleartext, but with one-way hashing, so they can be checked, but not reverted to cleartext. Beat - Developer on Community Builder core Team - If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now  - Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
|
|
The administrator has disabled public write access. |
|
|