== How to connect to StudiVZ - MeinVZ - SchuelerVZ XMPP (Jabber) Services via !BitlBee ==
StudiVZ decided to release experimental support for XMPP connections from
outside clients. 
==== Server ====
 * jabber.vz.net (studiVZ - meinVZ)
 * jabber.schuelervz.net (SchuelerVZ)
  * Port: 5222 
  * Port: 5223 - SSL support
==== Login ====
 StudiVZ uses E-Mail Adresses as Login. Using bitlbee with SchuelerVZ requires <
>
 a slightly modified E-Mail in order to work properly. <
><
>
 The @ in your Mail is to be substituted for a \\40.  <
>
 So frank@gmx.net => frank\\40gmx.net 
'''SchuelerVZ'''
{{{ 
frank\\40gmx.net@schuelervz.net 
}}}  (The @ in your E-Mail address will be substituted with an \40)
'''StudiVZ/MeinVZ''' 
{{{ 
frank\\40gmx.net@studivz.net 
}}} (The @ in your E-Mail address will be substituted with an \40)
----
Here are some Tweaks for creating a nicer overview: * [[HowtoStudiVZ#Tweaks|Tweaks]]
----
|| Adding the account: ||
In the following example we are using the login credentials:
Username/E-Mail: frank@gmx.net 
Password: password 
----
{{{#!irc
00:44:31 <@dynamite> account add jabber frank\\40gmx.net@vz.net password
00:44:31 <@root> Account successfully added
00:44:32 <@dynamite> account list
00:44:32 <@root>  0 (jabber): jabber, frank\40gmx.net@vz.net
00:44:32 <@root> End of account list
00:44:51 <@dynamite> account 0 set server jabber.vz.net
00:44:51 <@root> server = `jabber.vz.net'
}}}
{{{#!irc
00:51:43 <@dynamite> account 0 on
00:51:43 <@root> jabber - Logging in: Connecting
00:51:43 <@root> jabber - Logging in: Connected to server, logging in
00:51:43 <@root> jabber - Logging in: Converting stream to TLS
00:51:43 <@root> jabber - Logging in: Connected to server, logging in
00:51:43 <@root> jabber - Logging in: Authentication finished
00:51:43 <@root> jabber - Logging in: Authenticated, requesting buddy list
00:51:43 <@root> jabber - Logging in: Logged in
00:51:43 -!- _6ffa2f97a209391b [6ffa2f97a209391b@vz.net] has joined &bitlbee
00:51:43 -!- ServerMode/&bitlbee [+v _6ffa2f97a209391b] by im.openroot.de
}}}
<
>
|| The nickname problem: ||
Like facebook onsite chat StudiVZ also uses different usernames (alphanumeric), when first connecting.
This is also to be fixed by setting the nick_source account setting to %full_name.
{{{
account X set nick_source %full_name
}}}
 Where X is the ID of your connection.
You will have to reconnect this account afterwards.
{{{#!irc
00:53:43 <@dynamite> account 0 set nick_source %full_name
00:53:43 <@root> nick_source = `%full_name'
00:53:48 <@dynamite> account 0 off
00:53:48 <@root> jabber - Signing off..
00:53:51 -!- Netsplit im.openroot.de <-> vz.net quits: +_6ffa2f97a209391b
00:53:51 <@dynamite> account 0 on
00:53:51 <@root> jabber - Logging in: Connecting
00:53:51 <@root> jabber - Logging in: Connected to server, logging in
00:53:51 <@root> jabber - Logging in: Authenticated, requesting buddy list
00:53:51 <@root> jabber - Logging in: Logged in
00:53:51 -!- PeterParker [6ffa2f97a209391b@vz.net] has joined &bitlbee
00:53:51 -!- ServerMode/&bitlbee [+v PeterParker] by im.openroot.de
}}}
Wohoooo! We have proper nicknames! :)
<
>
|| Tweaks: ||
<>
Adding a Suffix/Prefix to the usernames lets you keep track of users on different connections:
{{{
account X set nick_format %full_name[VZ]
}}}
{{{#!irc
01:34:47 -!- PeterParker[VZ] [6ffa2f97a209391b@vz.net] has joined &bitlbee
01:34:47 -!- ServerMode/&bitlbee [+v PeterParker[VZ]] by im.openroot.de
}}}
Now all our StudiVZ accounts can be recognized by a trailing [VZ]
-----
Thanks,
dynamite   (Questions? -> patrick@openroot.de)