Skip to content

toksta* chat plugin for BuddyPress

The toksta* chat plugin for BuddyPress makes it easy to add toksta* chat and webcam to your BuddyPress site.


The plugin doesn’t working any more. A new version will be released soon.

Features:

  1. Chat widget, click on an online user to invite to a chat.
  2. Chatbar, shows friends online, number of users online, set online status (online/offline) etc.
  3. Localized plugin , makes it easy to translate.
  4. Site admin control panel.

Prerequisite:

  1. BuddyPress (doh!)
  2. toksta* account (it’s free)

Tested: Using my Mac, the plugin has been tested with

  • IE 6.x on Windows XP
  • IE 7.x on Windows Vista
  • FireFox 3.x and Safari 3.2.1 on Mac OS X 10.5.6

Version history (change log):

0.93 (Mars 2 2009) ps_bp_toksta-093.zip (6.2 KiB, 1,629 downloads) NOTE, does not support BuddyPress r1303+, a version supporting r1303+ will be released soon

  • Bugfix, fixed bug in ps_bp_toksta_my_friends.php (thanks Miguael)

0.92 (Mars 1 2009) ps_bp_toksta-092.zip (6.0 KiB, 500 downloads)

  • Bugfix, max members to show in chat widget
  • Moved “max members to show in chat widget” to  Site Admin->toksta* configuration
  • Updated ps_bp_toksta.po

0.91 (February 27 2009) ps_bp_toksta-091.zip (6.6 KiB, 480 downloads)

  • Updated  the ps_bp_toksta.po file (previous version was empty, thank you Dan for pointing out this)

0.9 (February 26 2009) ps_bp_toksta-0.9.zip (5.8 KiB, 485 downloads)

  • First public release

Installation:

  1. Download the latest zip file and extract the files
  2. Copy ps_bp_toksta.php to wp-content/mu-plugins
  3. Copy ps_bp_toksta.po to wp-content/languages
  4. Copy ps_bp_toksta_my_friends.php to your WordPress MU root folder

Configuration:

  1. In the BuddyPress dashboard, open Site Admin -> toksta* configuration
    1. Enter your Application ID and Application Password. You’ll find this in your control panel at toksta* (toksta* chat plugin for BuddyPress will not work until you’ve added the application id and application password).
    2. Choose Show Site Admin if you want do show  site admin in Chat
  2. In the BuddyPress dashboard, open Apperance -> Widgets (the Chat widget control is only available to the site admin)
    1. Add the Chat widget to your BuddyPress theme.
    2. Select Edit and set Maximum number of members to show Moved to Site Admin -> toksta* configuration
  3. Go to toksta* and configure the chat and chatbar. If you want to display a friends list in the chatbar, on the settings page, select import friends and add http://example.org/ps_bp_toksta_my_friends.php?my_user_id=%userid% (example.org is your BuddyPress site).
    Security tips: rename ps_bp_toksta_my_friends.php to “my secret filename”.php
  4. If you need to translate the plugin, in wp-content/languages:
    1. Copy ps_bp_toksta.po to ps_bp_toksta-countrycode_LANGUAGECODE.po e.g: ps_bp_toksta-no_NB.po
    2. Edit the file using poedit or its like, and save the .mo file

If you are using the plugin, it would be nice if you posted the url to your site in a comment to this post.

btw, the music in the video is by Ugress playing Redrum

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

26 Comments

  1. vida

    This is really well done. Thank you.

    Posted on 27-Feb-09 at 5:17 | Permalink
  2. miguael

    WOW – thanks! This seems very cool! Could it be that the friend import doesn’t work yet? Or am I missiong something? This would mean, that my BP-Friends would be imported to the chat – right?!

    Posted on 27-Feb-09 at 12:20 | Permalink
  3. PerS

    Miguael, you can test this by opening the url http://example.org/ps_bp_toksta_my_friends.php?my_user_id=%userid% (example.org is your buddyress site), when testing, replace %userid% with a user id you know have friends.

    Posted on 27-Feb-09 at 15:40 | Permalink
  4. tekanji

    4. Copy ps_bp_toksta_my_friends.php to your blog root

    I suggest changing “blog root” to “WordPress MU root folder” in order to avoid confusion. I thought the “blog root” was the individual blog root directory, not the WPMU directory.

    Posted on 01-Mar-09 at 5:59 | Permalink
  5. PerS

    Thank you tekanji, I’ve changed it to “WordPress MU root folder”

    Posted on 01-Mar-09 at 10:43 | Permalink
  6. Everything looks great but the chat widget is HUGE. It’s taking up a majority of the sidebar. Any clues on fixing this?

    Posted on 02-Mar-09 at 18:31 | Permalink
  7. PerS

    Jeff, not sure what you mean. do you have a screen shot ? (http://www.jingproject.com/ is nice for sharing screen shots)

    Posted on 02-Mar-09 at 19:07 | Permalink
  8. miguael

    Thanks for the tipps – but I think I have installed it correctly. But when I call your link (in my case http://example.org/ps_bp_toksta_my_friends.php?my_user_id=2) it shows me just a blank page…
    Any other ideas?
    Thanks!

    Posted on 02-Mar-09 at 19:23 | Permalink
  9. miguael

    Perfekt – it works :-) now…

    Posted on 03-Mar-09 at 10:37 | Permalink
  10. Jeff

    PerS,

    Thanks for the response, I realized that it wasn’t working in the main body of the page but when it’s placed in the sidebar, it works just fine.

    Thanks!

    Jeff

    Posted on 04-Mar-09 at 1:20 | Permalink
  11. works great, it’s very much like facebook kind of chat, but not exactly, I have some issues with accept/deny buttons in internet explorer they just expand to the widest possible button.

    Posted on 14-Mar-09 at 20:40 | Permalink
  12. great job. Thanks a lot for this.

    Posted on 15-Mar-09 at 19:15 | Permalink
  13. Alberto

    hi.
    Thanks a lot for toksta* chat

    Posted on 17-Mar-09 at 15:14 | Permalink
  14. Looks good so far. I’ll be interested to see it in action when there’s more users… configuration was easy

    Posted on 28-Mar-09 at 3:37 | Permalink
  15. Hello,

    how can I visit the chat or invite someone to chat?

    Posted on 29-Mar-09 at 18:28 | Permalink
  16. PerS

    If a user has a lot of friends, displaying the friends list in the chatbar can slow down loading the toksta javascript.

    Posted on 29-Mar-09 at 23:05 | Permalink
  17. Can you add this to the WP plugin repo so it shows up on the BuddyPress.org site?

    Thanks.

    http://wordpress.org/extend/plugins/add

    Posted on 30-Mar-09 at 11:27 | Permalink
  18. PerS

    Will do it as soon my request is approved (@ http://wordpress.org/extend/plugins/add/)

    Posted on 01-Apr-09 at 1:07 | Permalink
  19. bebop

    on the new trac release of buddypress
    all the files from buddypress are in a different folder so that your plugin seems not to find bd-core.php

    i think you should have a look to fix this in advance

    Posted on 05-Apr-09 at 0:53 | Permalink
  20. PerS

    I know, caught me with surprise (did a svn up). I’m working on next release, will be a wpmu 2.7.1 and up version. The current one will be the only one supporting wpmu 2.7.0

    Posted on 05-Apr-09 at 1:06 | Permalink
  21. I’m getting “An error occured. This Chat-Session is invalid”
    I’m sorry, I’m not familiar how to understand the versions so I’m on BP RC1 and WPMU 2.7 using 0.93

    Are they incompatible or should they work?

    Thanks

    Posted on 11-Apr-09 at 4:06 | Permalink
  22. Ed

    Hi, How to uninstall it. I remove all the files but there are tabs in the left bottom corner of the site. Please advise.

    Posted on 13-Apr-09 at 8:23 | Permalink
  23. Thanks for your great plugin, this is an amazing feature!
    I’m building (hopefully) an academic group site for Game Studies, and I know the profs will love this.

    One question- the users are integrated very well, and I’ve tested chat, but adding a friend in buddypress doesn’t add a user to your friend menu in the chat bar at the bottom. Is this normal?

    Thanks!~

    Posted on 13-Apr-09 at 19:41 | Permalink
  24. PerS

    @paul, if you are running pre BuddyPress r1303, there shouldn’t be any problems. From the error you get, check if your toksta* Application ID and Application Password is correct (without leading/trailing space).

    @Ed, flush the browser cache. toksta is written in javascript, så there might be “remains” even though you’ve removed the plugin files.

    @Aaron, try to open the url to your ps_bp_toksta_my_friends.php?my_user_id=X, where X is a userid with friends. It should return a XML page

    Posted on 13-Apr-09 at 22:52 | Permalink
  25. hmm, frustrating, those are not the problems causing the error. At all possible that it is related to Toksta’s release of premium tiers? I see that the free version no longer support friend syncronization; would that break the capability here?

    Posted on 15-Apr-09 at 16:09 | Permalink
  26. PerS

    @paul .. Got an email today from toksta about their new pricing model and feature change. I have no problem understanding their need for money, and we still get webcam chat for free. I will during the next days rewrite my toksta plugin to fit the new features.

    Posted on 15-Apr-09 at 21:49 | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

@soderlind on Twitter:

Powered by Twitter Tools

Rodney's 404 Handler Plugin plugged in.