Skype doesn't work?
taite11 - November 28, 2008 - 20:12
| Project: | IM Control |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
When I enter my "Skype name" and click "Submit" it says "Slype name is invalid!" in a red box up top. I used my Skype ID, not my "full name".

#1
oh hi sorry for the late reply...
this is probably due to the validity check, u might have to remove the validation check from the code cos it only allows names without spaces at the moment, I will have this fixed in the next release, thanks
#2
The same issue:
Skype name is invalidMy login name is with underscore.
Added _ in imcontrol.edit.inc file:
if (!empty($form_state['values']['account']['others']['skype']) && preg_match('/[^A-Za-z0-9]/', $form_state['values']['account']['others']['skype'])) {Now is:
if (!empty($form_state['values']['account']['others']['skype']) && preg_match('/[^A-Za-z0-9_]/', $form_state['values']['account']['others']['skype'])) {And in imcontrol.page.inc file:
if (!empty($form_state['values']['messenger']['skype']) && preg_match('/[^A-Za-z0-9]/', $form_state['values']['messenger']['skype'])) {to:
if (!empty($form_state['values']['messenger']['skype']) && preg_match('/[^A-Za-z0-9_]/', $form_state['values']['messenger']['skype'])) {