﻿﻿<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.1" -->
<rss version="2.0">
    <channel>
        <title>JBother Community News</title>
        <description></description>
        <link>/forum</link>
        <lastBuildDate>Tue, 25 Oct 2005 06:38:23 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.1</generator>
        <item>
            <title>http? (Topic: Add jbother nightly source code in Download Section of jbother.org)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=33#222</link>
            <description><![CDATA[I can't connect to the SVN repository either because of our company's firewall. I'm still new to SVN, but I've seen some repositories that are accessible through port 80 instead of the svn port. I tried connecting to <a href="../usr/local/svn/JBother.html">/usr/local/svn/JBother</a> using TortoiseSVN but was unsuccessful. <br />
<br />
Is it possible to get access to the JBother repository through port 80?<br />
<br />
Thanks]]></description>
            <author>rs_ts</author>
            <pubDate>Tue, 18 Oct 2005 21:27:02 +0100</pubDate>
            <guid>/forum/33#222</guid>
        </item>
        <item>
            <title>Re: JBother - Jive Messenger Asterisk</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=69#221</link>
            <description><![CDATA[Any progress on this integration?&nbsp; Would be great to have it in JBrother.]]></description>
            <author>muppetmaster</author>
            <pubDate>Tue, 11 Oct 2005 18:24:04 +0100</pubDate>
            <guid>/forum/69#221</guid>
        </item>
        <item>
            <title>Re: Kiosk mode</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=45&amp;amp;page=2#220</link>
            <description><![CDATA[Okay, I found a place in JBotherLoader.java which goofs the change to the base settings directory.&nbsp; Basically, in kiosk mode, the loader sets the base settings directory to &lt;HOME&gt;/.jbother_&lt;KIOSK NAME&gt; rather than &lt;HOME&gt;/.jbother .&nbsp; This is done to keep from overwriting the regular configuration when JBother is used outside of kiosk mode.&nbsp; I'll email the patch to Synic.<br />
<br />
I'm working on some better kiosk mode docs and implementation examples, will send them in when I get them right.]]></description>
            <author>VisualEcho</author>
            <pubDate>Mon, 10 Oct 2005 22:57:21 +0100</pubDate>
            <guid>/forum/45#220</guid>
        </item>
        <item>
            <title>Re: Starting a private chat</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=79#219</link>
            <description><![CDATA[I might be interested - IM me at the JID on the jbother.org contact page.]]></description>
            <author>synic</author>
            <pubDate>Sat, 08 Oct 2005 20:16:21 +0100</pubDate>
            <guid>/forum/79#219</guid>
        </item>
        <item>
            <title>Starting a private chat (Jbother parameters or custom development feature?)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=79#218</link>
            <description><![CDATA[My needs are simple.&nbsp; I want to start a one-on-one chat window to be shared by two users only.&nbsp; One user will invite another to chat, the chat window will open, and the other user can choose to join the chat.&nbsp; These two chatters will not see any other chatters or groups on the system.&nbsp; I have my own jabber server running and will authenticate the users for them by using their usernames and passwords from a database.&nbsp; If jbother is not capable of this using parameters, I would not mind paying someone to hack it to do this.&nbsp; I am a unix systems and CGI C and Perl kinda programmer, not Java.<br />
<br />
Todd Merriman]]></description>
            <author>toolz</author>
            <pubDate>Fri, 07 Oct 2005 00:36:35 +0100</pubDate>
            <guid>/forum/79#218</guid>
        </item>
        <item>
            <title>speaking of which... (Topic: Kiosk mode)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=45&amp;amp;page=2#217</link>
            <description><![CDATA[This looks very interesting, and very similar to something that I am working on.<br />
<br />
My overall situation is different, however: I'm looking to have the user download a JBother client that will automatically log in with the username/password supplied, but which creates a persistent account that the user will log in with every time.<br />
<br />
This might require a little bit of source modification, and the end result might not be useful for anyone other than me, but I'll post about it here.]]></description>
            <author>jaspax</author>
            <pubDate>Mon, 03 Oct 2005 23:14:43 +0100</pubDate>
            <guid>/forum/45#217</guid>
        </item>
        <item>
            <title>Okay... sorry... (Topic: Kiosk mode)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=45#216</link>
            <description><![CDATA[Sorry, I got distracted, the weather got warm and the women around here temporarily stopped wearing bulletproof parkas.&nbsp; I'll pull down a fresh copy of the source tree and send a new patch soon, with lots of docs.<br />
<br />
For the kiosk mode, you create a JNLP file with a few additional parameters, which include a username from another authentication system.&nbsp; I've got this working with phpBB bulletin boards, a system I'm familiar with, but could easily be incorporated into other mechanisms in a similar way.&nbsp; Here's a sample JNLP:<br />
<br />
[code]<br />
&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;jnlp spec="1.0+" codebase="http://www.vaultofmidnight.com/chat/" href="jnlp/vm_Visual+Echo_3_blahblahsecretstuff.jnlp"&gt;<br />
&nbsp; &lt;information&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;title&gt;Vault of Midnight Chat Room&lt;/title&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;vendor&gt;JBother Jabber Client&lt;/vendor&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;homepage href="../index.html"/&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;description&gt;JBother is a Jabber client written in Java&lt;/description&gt;<br />
&nbsp; &lt;/information&gt;<br />
&nbsp; &lt;security&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &lt;all-permissions/&gt;<br />
&nbsp; &lt;/security&gt;<br />
&nbsp; &lt;resources&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;j2se version="1.4+"/&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;jar href="JBother.jar"/&gt;<br />
&nbsp; &lt;/resources&gt;<br />
&nbsp; &lt;application-desc main-class="com.valhalla.jbother.JBother"&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &lt;argument&gt;webstart&lt;/argument&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;argument&gt;kiosk=blahblahblah&lt;/argument&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;argument&gt;kiosk_nick=Visual+Echo&lt;/argument&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;argument&gt;kiosk_user=vm_Visual+Echo_3&lt;/argument&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;argument&gt;kiosk_pass=we ir d oc te t se qu nc e&lt;/argument&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;argument&gt;kiosk_roompass=n0tTh3R341p455W3rd&lt;/argument&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;argument&gt;kiosk_roomservice=private.jabber.mdve.net&lt;/argument&gt;<br />
&nbsp; &lt;/application&gt;<br />
&lt;/jnlp&gt;<br />
[/code]<br />
<br />
The supporting script acquires the username of the authenticated user, inserts/updates the user into the jabber server MySQL database, deletes old JNLP files, writes the new JNLP file, and serves a location redirect to that file.&nbsp; Here is my example for phpBB:<br />
<br />
[code]<br />
&lt;?php<br />
<br />
$realm = 'jabber.mdve.net';<br />
$chat_service = 'private.jabber.mdve.net';<br />
$room_name = "blahblahblah";<br />
$room_password = "n0tTh3R341p455W3rd";<br />
<br />
$name_prefix = 'ZQ_';<br />
$jabber_dbhost = 'localhost';<br />
$jabber_dbname = 'jabberd2';<br />
$jabber_dbuser = 'jabberd2';<br />
$jabber_dbpasswd = '4n0th3R6adP455w0rD';<br />
<br />
define('IN_PHPBB', true);<br />
$phpbb_root_path = '../forum/';<br />
include($phpbb_root_path . 'extension.inc');<br />
include($phpbb_root_path . 'common.'.$phpEx);<br />
<br />
$userdata = session_pagestart($user_ip, PAGE_PROFILE);<br />
init_userprefs($userdata);<br />
<br />
// session id check<br />
if (!empty($HTTP_POST_VARS['sid']) || !empty($HTTP_GET_VARS['sid']))<br />
{<br />
&nbsp;&nbsp;&nbsp; $sid = (!empty($HTTP_POST_VARS['sid'])) ? $HTTP_POST_VARS['sid'] : $HTTP_GET_VARS['sid'];<br />
}<br />
else<br />
{<br />
&nbsp;&nbsp;&nbsp; $sid = '';<br />
}<br />
<br />
$script_name = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($board_config['script_path']));<br />
$script_name = ( $script_name != '' ) ? $script_name . '/profile.'.$phpEx : 'profile.'.$phpEx;<br />
$server_name = trim($board_config['server_name']);<br />
$server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://';<br />
$server_port = ( $board_config['server_port'] &lt;&gt; 80 ) ? ':' . trim($board_config['server_port']) . '/' : '/';<br />
<br />
$server_url = $server_protocol . $server_name . $server_port . $script_name;<br />
<br />
// -----------------------<br />
// Page specific functions<br />
//<br />
function gen_rand_string($hash)<br />
{<br />
&nbsp;&nbsp;&nbsp; $chars = array( 'a', 'A', 'b', 'B', 'c', 'C', 'd', 'D', 'e', 'E', 'f', 'F', 'g', 'G', 'h', 'H', 'i', 'I', 'j', 'J',&nbsp; 'k', 'K', 'l', 'L', 'm', 'M', 'n', 'N', 'o', 'O', 'p', 'P', 'q', 'Q', 'r', 'R', 's', 'S', 't', 'T',&nbsp; 'u', 'U', 'v', 'V', 'w', 'W', 'x', 'X', 'y', 'Y', 'z', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0');<br />
&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; $max_chars = count($chars) - 1;<br />
&nbsp;&nbsp;&nbsp; srand( (double) microtime()*1000000);<br />
&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; $rand_str = '';<br />
&nbsp;&nbsp;&nbsp; for($i = 0; $i &lt; 8; $i++)<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; $rand_str = ( $i == 0 ) ? $chars[rand(0, $max_chars)] : $rand_str . $chars[rand(0, $max_chars)];<br />
&nbsp;&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp;&nbsp; return ( $hash ) ? md5($rand_str) : $rand_str;<br />
}<br />
<br />
if (!function_exists('file_put_contents'))<br />
{<br />
&nbsp; function file_put_contents($filename, $data, $file_append = false)<br />
&nbsp; {<br />
&nbsp;&nbsp; $fp = fopen($filename, (!$file_append ? 'w+' : 'a+'));<br />
&nbsp;&nbsp; if(!$fp)<br />
&nbsp;&nbsp; {<br />
&nbsp;&nbsp; &nbsp; trigger_error('file_put_contents cannot write in file.', E_USER_ERROR);<br />
&nbsp;&nbsp; &nbsp; return;<br />
&nbsp;&nbsp; }<br />
&nbsp;&nbsp; fputs($fp, $data);<br />
&nbsp;&nbsp; fclose($fp);<br />
&nbsp; }<br />
}<br />
//<br />
// End page specific functions<br />
// ---------------------------<br />
<br />
if ( !$userdata['session_logged_in'] )<br />
{<br />
&nbsp;&nbsp;&nbsp; redirect(append_sid("login.$phpEx?redirect=../chat/index.$phpEx", true));<br />
}<br />
<br />
// *****************************************************************************************<br />
<br />
$pass_text = gen_rand_string(false);<br />
$pass_key = "JBother rules!";<br />
$pass_result = "";<br />
<br />
while (strlen($pass_key) &lt; strlen($pass_text))<br />
{<br />
&nbsp;&nbsp;&nbsp; $pass_key .= $pass_key;<br />
}<br />
<br />
$pass_key = substr( $pass_key, 0, strlen( $pass_text ));<br />
<br />
//&nbsp; &nbsp; &nbsp; &nbsp; byte[] t = text.getBytes();<br />
//&nbsp; &nbsp; &nbsp; &nbsp; byte[] k = key.getBytes();<br />
<br />
for ($i = 0; $i &lt; strlen($pass_text); $i++)<br />
{<br />
&nbsp;&nbsp;&nbsp; $e = ord(substr($pass_text, $i, 1)) ^ Ord(substr($pass_key, $i, 1));<br />
&nbsp;&nbsp;&nbsp; $pass_result .= " " . dechex($e); // sprintf("%02x", dechex($e));<br />
}<br />
$pass_result = substr($pass_result, 1);<br />
<br />
// Make the JABBER database connection.<br />
$jabdb = new sql_db($jabber_dbhost, $jabber_dbuser, $jabber_dbpasswd, $jabber_dbname, false);<br />
if(!$jabdb-&gt;db_connect_id)<br />
{<br />
&nbsp;&nbsp; message_die(CRITICAL_ERROR, "Could not connect to the jabber database");<br />
}<br />
<br />
$authuser = urlencode($userdata['username']);<br />
$jabuser = $name_prefix.$authuser.'_'.$userdata['user_id'];<br />
<br />
$sql = "select count(*) as z from `authreg` where `username` = '".$jabuser<br />
&nbsp;&nbsp;&nbsp; ."' and `realm` = '".$realm."'";<br />
if ( !($result = $jabdb-&gt;sql_query($sql)) )<br />
{<br />
&nbsp;&nbsp;&nbsp; message_die(GENERAL_ERROR, "Couldn't query if user account exists.", "", __LINE__, __FILE__, $sql);<br />
}<br />
$row = $jabdb-&gt;sql_fetchrow($result);<br />
<br />
if ($row['z'] == 0)<br />
{<br />
&nbsp;&nbsp;&nbsp; $sql = "INSERT INTO `active` ( `collection-owner`, `object-sequence` )<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; VALUES ( '".$jabuser."@".$realm."', 0);";<br />
<br />
&nbsp;&nbsp;&nbsp; if ( !($result = $jabdb-&gt;sql_query($sql)) )<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; message_die(GENERAL_ERROR, "Couldn't insert user/update password.", "", __LINE__, __FILE__, $sql);<br />
&nbsp;&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp;&nbsp; $sql = "INSERT INTO `authreg` ( `username`, `realm`, `password` )<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; VALUES ( '".$jabuser."', '".$realm<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; ."', aes_encrypt('".$pass_text."','".$jabber_dbpasswd."') );";<br />
}<br />
else<br />
{<br />
&nbsp;&nbsp;&nbsp; $sql = "UPDATE `authreg` SET `password` = aes_encrypt('".$pass_text<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; ."','".$jabber_dbpasswd."') WHERE `username` = '".$jabuser<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; ."' AND `realm` = '".$realm."'";<br />
}<br />
<br />
if ( !($result = $jabdb-&gt;sql_query($sql)) )<br />
{<br />
&nbsp;&nbsp;&nbsp; message_die(GENERAL_ERROR, "Couldn't insert user/update password.", "", __LINE__, __FILE__, $sql);<br />
}<br />
<br />
$jabdb-&gt;sql_close();<br />
<br />
foreach (glob("jnlp/".$jabuser."_*.jnlp") as $outfile)<br />
{<br />
&nbsp; if ((filemtime($outfile) + 900) &lt;= time())<br />
&nbsp; {<br />
&nbsp;&nbsp;&nbsp; unlink($outfile);<br />
&nbsp; }<br />
}<br />
<br />
$data = file_get_contents("template.jnlp") or ($data = "x0YgnRp");<br />
if ($data == "x0YgnRp")<br />
{<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; header("Content-type: text/html\n\n");<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; print "&lt;B&gt;Error reading template file: Sorry, I guess it's not available right now.&lt;/B&gt;&lt;BR&gt;";<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; exit(0);<br />
}<br />
else if ($data === false)<br />
{<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; header("Content-type: text/html\n\n");<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; print "&lt;B&gt;Error reading template file: Sorry, I guess it's not available right now.&lt;/B&gt;&lt;BR&gt;";<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; exit(0);<br />
}<br />
$data = str_replace('%roomname%', $room_name, $data);<br />
$data = str_replace('%nickname%', $authuser, $data);<br />
$data = str_replace('%username%', $jabuser, $data);<br />
$data = str_replace('%password%', $pass_result, $data);<br />
$data = str_replace('%roompass%', $room_password, $data);<br />
$data = str_replace('%roomservice%', $chat_service, $data);<br />
$jnlprand = gen_rand_string(false);<br />
$jnlpfile = "jnlp/".$jabuser."_".$jnlprand.".jnlp";<br />
$data = str_replace('%jnlpfile%', $jnlpfile, $data);<br />
file_put_contents($jnlpfile, $data);<br />
header("Location: ".$jnlpfile."\n\n");<br />
<br />
?&gt;<br />
[/code]<br />
<br />
(I didn't write all of this, I just know it works)<br />
<br />
I'm not sure if anything broke with the new versions, I'll check it out.&nbsp; When I left off, there were a couple of things still left to do... like remove the roster panel (not needed in kiosk mode, no other contacts are available other than the ones in the room already).&nbsp; I think the security I put in is sufficient as long as nobody filches the JNLP file or it's name from your machine... but I wouldn't mind more suggestions on what might improve that too.]]></description>
            <author>VisualEcho</author>
            <pubDate>Fri, 30 Sep 2005 16:13:46 +0100</pubDate>
            <guid>/forum/45#216</guid>
        </item>
        <item>
            <title>New JBother Gopher Server (gopher://gopher.jbother.org)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=78#215</link>
            <description><![CDATA[To complement JBother's website, now avaliable is Jbother's gopher-hole! You can find it at gopher://gopher.jbother.org]]></description>
            <author>newmanbe</author>
            <pubDate>Thu, 29 Sep 2005 02:52:55 +0100</pubDate>
            <guid>/forum/78#215</guid>
        </item>
        <item>
            <title>Forum upgrade oops! (Topic: Forum upgrade oops!)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=77#214</link>
            <description><![CDATA[I recently got a notice on the forum that there was a security update.... which I applied.&nbsp; This somehow wiped out all of our avatars... sorry about that.&nbsp; You'll probably want to re-upload them.<br />
<br />
Adam]]></description>
            <author>synic</author>
            <pubDate>Tue, 27 Sep 2005 11:23:00 +0100</pubDate>
            <guid>/forum/77#214</guid>
        </item>
        <item>
            <title>Class error with JAVA 1.4.2 0.8.8 (Topic: Class error with JAVA 1.4.2 0.8.8)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=76#213</link>
            <description><![CDATA[Okay, stamp dumb user on my forehead.&nbsp;&nbsp; It think the error is becuase 1.3 is also loaded and it is try to load using 1.3.&nbsp; So it seams like a path error.&nbsp; Thanks for your help!]]></description>
            <author>randyzapata</author>
            <pubDate>Sat, 24 Sep 2005 22:51:31 +0100</pubDate>
            <guid>/forum/76#213</guid>
        </item>
        <item>
            <title>Re: Class error with JAVA 1.4.2 0.8.8</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=76#212</link>
            <description><![CDATA[It sounds like WinXP has it associated wrong.&nbsp; It needs to run javaw -jar JBother.jar]]></description>
            <author>synic</author>
            <pubDate>Sat, 24 Sep 2005 16:02:11 +0100</pubDate>
            <guid>/forum/76#212</guid>
        </item>
        <item>
            <title>Class error with JAVA 1.4.2 0.8.8 (Topic: Class error with JAVA 1.4.2 0.8.8)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=76#211</link>
            <description><![CDATA[I am using JRE SE 1.4.2-03 on win XP<br />
<br />
the error is:<br />
<br />
Java Virtual Machine<br />
Could not find the main class.&nbsp; Program will Exit!<br />
<br />
Thanks for your help,<br />
*randall]]></description>
            <author>randyzapata</author>
            <pubDate>Sat, 24 Sep 2005 10:45:10 +0100</pubDate>
            <guid>/forum/76#211</guid>
        </item>
        <item>
            <title>Re: Class error with JAVA 1.4.2 0.8.8</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=76#210</link>
            <description><![CDATA[Could you post the error?]]></description>
            <author>synic</author>
            <pubDate>Fri, 23 Sep 2005 13:16:00 +0100</pubDate>
            <guid>/forum/76#210</guid>
        </item>
        <item>
            <title>Class error with JAVA 1.4.2 0.8.8 (Class error with JAVA 1.4.2 0.8.8)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=76#209</link>
            <description><![CDATA[I am getting a class error when I JBother 0.8.8 with JAVA 1.4.2 on my users computer, but I can get it to work JAVA 1.5 update 3 on my computer.<br />
<br />
V/R,<br />
*randall]]></description>
            <author>randyzapata</author>
            <pubDate>Wed, 21 Sep 2005 23:05:45 +0100</pubDate>
            <guid>/forum/76#209</guid>
        </item>
        <item>
            <title>Re: Processing Custom Packets</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=75#208</link>
            <description><![CDATA[You can - inside a plugin you have access to the XMPPConnection instance via BuddyList.getInstance().getConnection() - where you can add IQ packet listeners, etc.]]></description>
            <author>synic</author>
            <pubDate>Thu, 15 Sep 2005 12:43:52 +0100</pubDate>
            <guid>/forum/75#208</guid>
        </item>
        <item>
            <title>Processing Custom Packets</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=75#207</link>
            <description><![CDATA[Is it possible to write a JBother plugin that will handle custom IQ packets?<br />
<br />
I want to be able to send/receive custom data. I have prototype code available that successfully does this using the Smack API directly, registered a custom packet listener. <br />
<br />
Can I do this within a JBother plugin, or would I need to integrate this into the code itself?<br />
<br />
Are there any examples of this kind of usage already?<br />
<br />
Thanks for any help/pointers.]]></description>
            <author>ldodds</author>
            <pubDate>Thu, 15 Sep 2005 10:59:19 +0100</pubDate>
            <guid>/forum/75#207</guid>
        </item>
        <item>
            <title>Re: release 140 from svn won't compile</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=74#206</link>
            <description><![CDATA[They are fixed]]></description>
            <author>synic</author>
            <pubDate>Tue, 06 Sep 2005 17:36:11 +0100</pubDate>
            <guid>/forum/74#206</guid>
        </item>
        <item>
            <title>release 140 from svn won't compile</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=74#205</link>
            <description><![CDATA[here's what I'm getting:<br />
<br />
[quote]<br />
luke@poppy:~/work/jabber/JBother$ ant<br />
Buildfile: build.xml<br />
<br />
debug:<br />
<br />
init:<br />
<br />
compile:<br />
&nbsp;&nbsp;&nbsp; [javac] Compiling 144 source files to /home/luke/work/jabber/JBother/build<br />
&nbsp;&nbsp;&nbsp; [javac] /home/luke/work/jabber/JBother/src/com/valhalla/jbother/groupchat/GroupChatNickList.java:356: cannot resolve symbol<br />
&nbsp;&nbsp;&nbsp; [javac] symbol&nbsp; : method replaceAll (java.lang.String,java.lang.String)<br />
&nbsp;&nbsp;&nbsp; [javac] location: class java.lang.Object<br />
&nbsp;&nbsp;&nbsp; [javac]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; MUCBuddyStatus buddy = window.getBuddyStatus((String) list.getSelectedValue().replaceAll("^aa\\d{4} ", "" ));<br />
&nbsp;&nbsp;&nbsp; [javac]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^<br />
&nbsp;&nbsp;&nbsp; [javac] /home/luke/work/jabber/JBother/src/com/valhalla/jbother/groupchat/GroupChatNickList.java:373: cannot resolve symbol<br />
&nbsp;&nbsp;&nbsp; [javac] symbol&nbsp; : method replaceAll (java.lang.String,java.lang.String)<br />
&nbsp;&nbsp;&nbsp; [javac] location: class java.lang.Object<br />
&nbsp;&nbsp;&nbsp; [javac]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; String user = (String) list.getSelectedValue().replaceAll("^aa\\d{4} ", "" );<br />
&nbsp;&nbsp;&nbsp; [javac]&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; ^<br />
&nbsp;&nbsp;&nbsp; [javac] 2 errors<br />
<br />
BUILD FAILED<br />
/home/luke/work/jabber/JBother/build.xml:86: The following error occurred while executing this line:<br />
/home/luke/work/jabber/JBother/build.xml:17: Compile failed; see the compiler error output for details.<br />
<br />
Total time: 3 seconds<br />
luke@poppy:~/work/jabber/JBother$ <br />
[/quote]<br />
<br />
There were some parentheses missing in src/com/valhalla/jbother/groupchat/GroupChatNickList.java, I've corrected that.]]></description>
            <author>coquelicot</author>
            <pubDate>Tue, 06 Sep 2005 15:31:03 +0100</pubDate>
            <guid>/forum/74#205</guid>
        </item>
        <item>
            <title>Re: Google Talk</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=73#204</link>
            <description><![CDATA[Google talk is now supported <img src="bb_designs/_smile/unb/smile.png" title=":)" alt=":)" align="middle" class="smilie" />]]></description>
            <author>synic</author>
            <pubDate>Wed, 31 Aug 2005 12:10:38 +0100</pubDate>
            <guid>/forum/73#204</guid>
        </item>
        <item>
            <title>Re: Stand alone Chat</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=72#203</link>
            <description><![CDATA[Take a look at boolean setStatus() in com.valhalla.jbother.BuddyList - if you try to set a status that's not "offline", it connects you to the server.&nbsp; At the bottom of the method, you'll see it uses the singleton of ConnectorThread to connect to the server.]]></description>
            <author>synic</author>
            <pubDate>Fri, 26 Aug 2005 17:16:12 +0100</pubDate>
            <guid>/forum/72#203</guid>
        </item>
        <item>
            <title>Re: Stand alone Chat</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=72#202</link>
            <description><![CDATA[what do i have to do to connect to a server? the name of the server and the password is fixed and&nbsp; i will provide the username and the password via properties, so i don't need to ask for them.<br />
<br />
can you please help me with the code? i am really new to jbother and i don't understand all classes you use]]></description>
            <author>mope</author>
            <pubDate>Thu, 25 Aug 2005 20:15:38 +0100</pubDate>
            <guid>/forum/72#202</guid>
        </item>
        <item>
            <title>Re: Google Talk</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=73#201</link>
            <description><![CDATA[The smack team is working on this and has assured that it will be done in the next few days.]]></description>
            <author>synic</author>
            <pubDate>Thu, 25 Aug 2005 13:56:17 +0100</pubDate>
            <guid>/forum/73#201</guid>
        </item>
        <item>
            <title>Google Talk</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=73#200</link>
            <description><![CDATA[Seems JBother doesn't work with the Google Talk jabber server.<br />
<br />
Any ideas?<br />
<br />
Thanks!<br />
<br />
Regards,<br />
<br />
Ravin]]></description>
            <author>ravindimantha</author>
            <pubDate>Wed, 24 Aug 2005 17:54:40 +0100</pubDate>
            <guid>/forum/73#200</guid>
        </item>
        <item>
            <title>Re: Stand alone Chat</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=72#199</link>
            <description><![CDATA[You would have to connect to the server with a preset username and password first... and make it so the roster never shows.&nbsp; Possibly present a JOptionPane asking for their desired nickname as well.]]></description>
            <author>synic</author>
            <pubDate>Tue, 23 Aug 2005 22:57:01 +0100</pubDate>
            <guid>/forum/72#199</guid>
        </item>
        <item>
            <title>Stand alone Chat (Just start the Group Chat)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=72#198</link>
            <description><![CDATA[Hello,<br />
<br />
I am looking for a way to implement this feature:<br />
<br />
When the JAR File is opened I just want to join a group chat on a specific server with fixed values. I don't want to see the messaging window or something else and when I close the group chat window, the programme should also be closed.<br />
<br />
How can I do this?<br />
<br />
I have already tried to add this code in JBotherLoader.afterSplash:<br />
<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; ChatRoomPanel window = new ChatRoomPanel("chatroom" + "@"<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; + "server.com", "test", "test");<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; window.startChat();<br />
<br />
but it doesn't work. <br />
<br />
Can somebody please tell me the correct code or an other possibility to achieve this?]]></description>
            <author>mope</author>
            <pubDate>Tue, 23 Aug 2005 06:12:33 +0100</pubDate>
            <guid>/forum/72#198</guid>
        </item>
        <item>
            <title>Chat Only (Nur im Gruppen Chat)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=71#197</link>
            <description><![CDATA[Hallo,<br />
<br />
Ich möchte gerne folgende Funktionalität:<br />
<br />
Wenn ich auf die JAR - Datei klicke, soll sich nur das Gruppenchatfenster mit fixen Werten öffnen. Wenn ich das Fenster schließe, soll sich das gesamte Programm schließen.<br />
<br />
Das Hauptfenster oder andere, sollen gar nicht angezeigt werden.<br />
<br />
Wie erreiche ich das?<br />
<br />
Ich habe versucht, im Source Code in JBotherLoader --&gt; afterSplash diese Zeilen am Anfang einzufügen:<br />
<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; ChatRoomPanel window = new ChatRoomPanel("chatroom" + "@"<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; + "server.com", "test", "test");<br />
&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; window.startChat();<br />
<br />
nur leider funktioniert das überhaupt nicht so wie es soll, es hängt dann nämlich.<br />
<br />
Kann mir jemand den korrekten Code sagen, bzw. eine leichtere Möglichkeit, dies zu erreichen?]]></description>
            <author>mope</author>
            <pubDate>Mon, 22 Aug 2005 11:14:27 +0100</pubDate>
            <guid>/forum/71#197</guid>
        </item>
        <item>
            <title>Re: NotificationPopup from plugin</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=70#196</link>
            <description><![CDATA[I'm not quite sure I understand the question?]]></description>
            <author>synic</author>
            <pubDate>Fri, 19 Aug 2005 20:28:34 +0100</pubDate>
            <guid>/forum/70#196</guid>
        </item>
        <item>
            <title>Re: NotificationPopup from plugin</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=70#195</link>
            <description><![CDATA[Thanks!<br />
<br />
Another thing I would like to do is use a different icon from a plugin.&nbsp; The first thing i tried was to copy the class into my plugin and reference it instead... and change the name and path of the icon which is included in the plugin.&nbsp; While this compiled.. it did not display the popup.&nbsp; Any sugguestions would be appreciated.]]></description>
            <author>wrcgator</author>
            <pubDate>Fri, 19 Aug 2005 14:52:10 +0100</pubDate>
            <guid>/forum/70#195</guid>
        </item>
        <item>
            <title>Re: NotificationPopup from plugin</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=70#194</link>
            <description><![CDATA[Try:<br />
<br />
NotificationPopup.showSingleton( parent, "Message Received", "You have received a message", widgetToFocusWhenClicked );]]></description>
            <author>synic</author>
            <pubDate>Fri, 19 Aug 2005 13:19:04 +0100</pubDate>
            <guid>/forum/70#194</guid>
        </item>
        <item>
            <title>NotificationPopup from plugin (is it possible to use the NotificationPopup from a plugin)</title>
            <link>/forum/forum.php?req=thread&amp;amp;id=70#193</link>
            <description><![CDATA[Is it possible to use the NotificationPopup from a plugin?&nbsp; If so could you please provide a snipit of code to show how.&nbsp; The following does not work<br />
<br />
NotificationPopup popup = new NotificationPopup <br />
<br />
because the constructor for NotificationPopup is declared as private.]]></description>
            <author>wrcgator</author>
            <pubDate>Thu, 18 Aug 2005 03:33:02 +0100</pubDate>
            <guid>/forum/70#193</guid>
        </item>
    </channel>
</rss>