| Index
» Projekty
» phpMyEdit
» Fórum
» Integrating Windows Live (MSN) on PME |
 |
franciscohm
Založený: 08.05.2008
Príspevky: 33
Zaslal: 2008-12-07 04:09
Návrat hore
Odpovedať s citátom
|
If you have a field which contains a MSN username, you may want to personalize it with the following code:
| Kód: |
$opts['fdd']['msn_ep'] = array(
'default' => '',
'input' => '',
'maxlen' => 165,
'name' => 'Windows Live (MSN)',
'help|V' => 'Es necesario tener instalado <a target="_blank" href="http://www.live.com">Windows Live</a> y usar Windows Internet Explorer.',
'options' => 'ACPVDX',
'select' => 'T',
'size|ACP' => 40,
'escape' => false,
'sql|V' => 'IF(msn_ep="","",CONCAT(msn_ep , " <a href=\"msnim:video?contact=",msn_ep,"\"><img src=\"images/video_msn.png\" style=\"border: none;\" title=\"Lanzar Videoconferencia con Windows Live\" /></a> <a href=\"msnim:voice?contact=",msn_ep,"\"><img src=\"images/call_msn.png\" style=\"border: none;\" title=\"Llamar con Windows Live\" /></a> <a href=\"msnim:chat?contact=",msn_ep,"\"><img src=\"images/chat_msn.png\" style=\"border: none;\" title=\"Iniciar Chat con Windows Live\" /></a> <a href=\"mailto:",msn_ep,"\"><img src=\"images/email_msn.png\" style=\"border: none;\" title=\"Enviar Email\" /></a> <a href=\"msnim:add?contact=",msn_ep,"\"><img src=\"images/add_msn.png\" style=\"border: none;\" title=\"Agregar a lista de contactos de Windows Live\" /></a>"))',
'sqlw' => 'TRIM("$val_as")',
'sort' => true
);
|
It creates buttons for starting a videoconference, for starting a call, for starting a chat, for sending an email, and for adding a contact.
Comments:
It only works with MS IE
Screenshot:
Note: Contact details are mine. :-)
Icons:
Hope it is useful for somebody! :-)
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|