Multiaccount support (pads) for Tkabber

Hi,

I really like Tkabber much, but I HAVE TO use many accounts at one time. How about nice multiaccount support? There could be configuration file with account(s) data only, with all needed info about all accounts. In Tkabber there could be pads with each account, so switching between them will be easy. I could switch from PSI to Tkabber but I really need EASY multiaccount support.

Cobra@jabber.atman.pl,
http://forum.jabberpl.org admin,
PSI translator

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

You may do the following step

You may do the following steps:

1) Put the following line to your ~/.tkabber/config.tcl

source ~/.tkabber/accounts.tcl

2) Edit file ~/.tkabber/accounts.tcl. It might look like this (note that you may add more than two accounts):

# Login profiles setup
set loginconf1(profile)  "user1@server1"
set loginconf1(user)     user1
set loginconf1(password) password1
set loginconf1(usedigest) 1
set loginconf1(server)   server1
set loginconf1(port)     5222
set loginconf1(resource) tkabber
set loginconf1(usealtserver) 0
set loginconf1(altserver) ""
set loginconf1(usessl)   0
set loginconf1(sslport)  5223
set loginconf1(useproxy) 0

set loginconf2(profile)  "user2@server2"
set loginconf2(user)     user2
set loginconf2(password) password2
set loginconf2(usedigest) 1
set loginconf2(server)   server2
set loginconf2(port)     5222
set loginconf2(resource) tkabber
set loginconf2(usealtserver) 0
set loginconf2(altserver) ""
set loginconf2(sslport) 5223
set loginconf2(usessl) 0
set loginconf2(useproxy) 0

# Set default profile
array set loginconf [array get loginconf1]

(Full option list you could find in "Login" section of "Customize" window.)

After that new "Profiles" menubutton should appear in your login window and you may choose any login profile.

Are you sure?

Are you sure that I can be connected to all my accouts AT THE SAME TIME (using one Tkabber of course) ?

set loginconf(replace_opened) to 0

Yes, it's possible. You only need to set to 0 the option ::::loginconf(replace_opened). You can set it on Customize->Login or in your $HOME/.tkabber/config.tcl:

set ::loginconf(replace_opened) 0

Also, take note that there is no need to specify all the options for all the accounts in config.tcl, only those that change between accounts. My config.tcl looks like this:

hook::add finload_hook {

    # Default options
    set ::loginconf(resource)      Tka/home
    set ::loginconf(usessl)        1

    # First account
    set ::loginconf1(user)         badlop
    set ::loginconf1(server)       jabber.org
    set ::loginconf1(password)     "XXXXXXXX"

    # Second account
    set ::loginconf2(user)         badlop
    set ::loginconf2(server)       jabber.com
    set ::loginconf2(password)     "XXXXXXXXXX"

    # Third account
    set ::loginconf3(user)         badlop
    set ::loginconf3(server)       cocococ.com
    set ::loginconf3(password)     "XXXXXXXX"

    # All the accounts you want...

    # Set default profile
    array set loginconf [array get loginconf1]

    set ::loginconf(replace_opened) 0
}

Then start Tkabber, login with the first one. Press Ctrl+L, Ctrl+2, Enter and it'll login to the second one without login out from the first. Ctrl+L, Ctrl+3, Enter will login on the third, etc.

WOW

Nice, thanks. But... how to configure Tkabber in orer to login to all predefined accounts on startup ? I just run Tkabber, it logins to all accounts w/o asking for anything... it would be nice !

/Cobra

N/A

And another thing: i`m logged in into e.g. 5 accounts. I click on PLUS button, it adds new contact. How to add to SELECTED ACCOUNT, not first on the list?

And second question: how to add someone to roster w/o asking for authorisation?

And probably last one: which are lowest requrements (hardware) for Tkabber? Will it work on Win95 OSR2?

----------
Cobra

>How to add to SELECTED ACCOU

>How to add to SELECTED ACCOUNT, not first on the list?
Unfortunately, currently it's not possible to select account...

>how to add someone to roster w/o asking for authorisation?
It's a Jabber privacy policy not to permit adding to roster without authorisation. (Or you want just to add someone to roster without possibility to see his/her presence? Then you can do it via RawXML window sending appropriate XML stanza.)

> It's a Jabber privacy polic

> It's a Jabber privacy policy not to permit adding to roster without > authorisation.

Well, PSI allows that. Sometimes I want to make a single talk woth someone who have many ppl in roster. Such person will not give me authorisation. So I don`t even ask for this...

And TKabber should support multiaccount better (TODO?): EVERY cammand should be available for one or more selected accounts, not for ALL (always)... Maybe rightclick on account name and popup window is good solution?

Well, PSI allows that. Someti

Well, PSI allows that. Sometimes I want to make a single talk woth someone who have many ppl in roster. Such person will not give me authorisation. So I don`t even ask for this...

So, actually you want an additional item in menu "Open chat with...", don't you? Why add to roster?

And TKabber should support multiaccount better (TODO?): EVERY cammand should be available for one or more selected accounts, not for ALL (always)... Maybe rightclick on account name and popup window is good solution?

It's in TODO list, but with the lowest priority. Multiaccount support is being improved only in spare time.

Syndicate content