PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#26 2006-10-09 19:31:24

Infektid
Member
Registered: 2006-10-07
Posts: 30

Re: PBB ChatBox 2.0

still didn't work tubby it didn't give me an error but the color doesn't work ;o


I can mod anything with punbb very good i just dont know what to make so if you have a request add ruinedscape@gmail.com n i'll surely finish your request within 3 days depending the mod your requesting.

Offline

 

#27 2006-10-10 02:00:48

xxtubbyxx
Member
Registered: 2005-12-15
Posts: 168

Re: PBB ChatBox 2.0

then your doing something wrong because that is exactly how to do it and  ive sat there and stared down the code it has no errors and it works for me.


Coming to you soon: FatalGamers

Offline

 

#28 2007-01-17 08:34:49

trongha
Member
Registered: 2006-05-26
Posts: 42

Re: PBB ChatBox 2.0

Thanks for you! but i want Chatbox in index. please help me.

http://yeucoi.tk/rum/chatbox.php
and where in my chatbox change font => utf-8?

Last edited by trongha (2007-01-17 08:37:15)


I'm sorry! I speak english very bad.

Offline

 

#29 2007-01-17 19:14:17

Buffedelic
Member
Registered: 2007-01-13
Posts: 42

Re: PBB ChatBox 2.0

Swedish translation:

Code:

<?php

// Language definitions used in chatbox.php
$lang_chatbox = array(

'Page_title'            =>    'Buffedelic Chat',
'Chatbox'            =>    'Buffedelic Chat',
'Posts'                =>    ' Chatbox Meddelanden',
'Sending'            =>    'Skickar...',

'No Read Permission'        =>    'Du får inte se chatten.',
'No Post Permission'        =>    'Du får inte skriva i chatten.',
'No Message'            =>    'Chatten tom.',

'Message'            =>    'Meddelande',
'Btn Send'            =>    'Skicka',
'Autoscroll'            =>    'Auto scroll',

'Error Title'            =>    'Fel',
'Error No message'        =>    'Du måste skriva ett meddelande.',
'Error Too long message'    =>    'Ditt meddelande är för långt.',

);

Last edited by Buffedelic (2007-01-17 21:48:24)


My forum: http://www.buffedelic.se (only in swedish)

Offline

 

#30 2007-01-18 04:40:32

trongha
Member
Registered: 2006-05-26
Posts: 42

Re: PBB ChatBox 2.0

i want it show in my index. please.


I'm sorry! I speak english very bad.

Offline

 

#31 2007-02-21 03:24:52

crusader
Member
From: Canada
Registered: 2006-10-26
Posts: 219
Website

Re: PBB ChatBox 2.0

Can I ask a really dumb question? How do you delete the messages in the chatbox? I can't find anthing that would allow me to delete them.

Thanks
Crusader

Offline

 

#32 2007-02-22 17:42:06

crusader
Member
From: Canada
Registered: 2006-10-26
Posts: 219
Website

Re: PBB ChatBox 2.0

Can anyone answer my post?

Thanks

Offline

 

#33 2007-03-01 19:07:35

photocritic
New member
Registered: 2007-03-01
Posts: 1

Re: PBB ChatBox 2.0

MOD fine!
How I can see users who is in chat now?
On the rigth side the chat form may be...

Offline

 

#34 2007-03-04 03:54:43

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: PBB ChatBox 2.0

ok for anyone who wants to put chat box on the front page...
download,install

create a file named cb.php put this file in the include/user folder
then next place the tag in the main.tpl where you want it to show up!
in my case i have it above the main tag.
im working on it as we speak to add some more stuff to is...
this is a test and anyone can see it in action at
http://modelcrowd.com


Q

here is the code for this.

Code:

<script type="text/javascript" src="include/lib/js/prototype.js"></script>
<script type="text/javascript" src="include/lib/js/chatbox.js"></script>
<div class="block">
   <h2>
    <span>
        <span class="conr" ><img style="display:none;" id="loading" name="loading" src="img/chatbox/loading.gif" /></span>
    <?php echo $lang_chatbox['Chatbox'] ?> <span style="font-size:7px;vertical-align:super;">&copy; PBB ChatBox <?php if ($pun_config['o_show_version'] == '1') echo ' '.$pun_config['cb_pbb_version']; ?></span>
    </span>
  </h2>
    <div class="box">
        <div id="chatbox" class="inbox" style="overflow:auto;height:<?php echo $pun_config['cb_height'] ?>px;">
<?php

$cur_msg_txt = '';
$last_msg_time = '';
$count_id = array();

$result = $db->query('SELECT u.id, u.group_id, u.num_posts_chatbox, m.id AS m_id, m.poster_id, m.poster, m.poster_ip, m.poster_email, m.message, m.posted, g.g_id, g.g_title_chatbox FROM '.$db->prefix.'chatbox_msg AS m INNER JOIN '.$db->prefix.'users AS u ON u.id=m.poster_id INNER JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id ORDER BY m.posted DESC LIMIT '.$pun_config['cb_max_msg']) or error('Unable to fetch messages', __FILE__, __LINE__, $db->error());

$new_msg_time = false;
while ($cur_msg = $db->fetch_assoc($result)) {
    
    // Get newest timestamp
    if ($new_msg_time == false) {
        $last_msg_time = $cur_msg['posted'];
        $new_msg_time = true;
    }
    $cur_msg_txt = $pun_config['cb_space'].$cur_msg['g_title_chatbox'].$pun_config['cb_disposition'].$cur_msg_txt;
    
    if ($cur_msg['g_id'] != PUN_GUEST)
        $cur_msg_txt = str_replace('<pun_username>', '<a href="profile.php?id='.$cur_msg['id'].'">'.pun_htmlspecialchars($cur_msg['poster']).'</a>', $cur_msg_txt);
    else
        $cur_msg_txt = str_replace('<pun_username>', pun_htmlspecialchars($cur_msg['poster']), $cur_msg_txt);
    
    $cur_msg_txt = str_replace('<pun_date>', format_time($cur_msg['posted']), $cur_msg_txt);
    
    if ($cur_msg['g_id'] != PUN_GUEST)
        $cur_msg_txt = str_replace('<pun_nbpost>', $cur_msg['num_posts_chatbox'], $cur_msg_txt);
    else {
        if (!isset($count_id[$cur_msg['poster']])) {
            $like_command = ($db_type == 'pgsql') ? 'ILIKE' : 'LIKE';
        
            $count = $db->query('SELECT COUNT(id) FROM '.$db->prefix.'chatbox_msg WHERE poster '.$like_command.' \''.$db->escape(str_replace('*', '%', $cur_msg['poster'])).'\'') or error('Unable to fetch user chatbox post count', __FILE__, __LINE__, $db->error());
            $num_post = $db->result($count);
            $count_id[$cur_msg['poster']] = $num_post;
        }
        else
            $num_post = $count_id[$cur_msg['poster']];
        
        $cur_msg_txt = str_replace('<pun_nbpost>', $num_post, $cur_msg_txt);
    }
    
    $cur_msg_txt = str_replace('<pun_nbpost_txt>', $lang_chatbox['Posts'], $cur_msg_txt);
    
    if ($pun_user['g_id'] < PUN_GUEST) {
        $cur_msg_admin = ' [ <a href="chatbox.php?get_host='.$cur_msg['m_id'].'">'.$cur_msg['poster_ip'].'</a>';
        if ($cur_msg['poster_email'])
            $cur_msg_admin .= ' | <a href="mailto:'.$cur_msg['poster_email'].'">'.$lang_common['E-mail'].'</a> ]';
        else
            $cur_msg_admin .= ' ] ';
    }
    else
        $cur_msg_admin = '';
    
    $cur_msg_txt = str_replace('<pun_admin>', $cur_msg_admin, $cur_msg_txt);
    $cur_msg_txt = str_replace('<pun_message>', parse_message($cur_msg['message'], 0), $cur_msg_txt);
}

if (!$cur_msg_txt)
    echo $lang_chatbox['No Message'];
else
    echo "\t\t\t".$cur_msg_txt."\n";
?>
        </div>
    </div>
  <h2>
    <span>
    <script language="javascript">
    <!--
    // This checkbox is utterly useless, unless we have javascript enabled. As such, we won't display it until then.
    document.write('<span class="conr" style="width:150px;" ><?php echo $lang_chatbox['Autoscroll'] ?>: <input type="checkbox" id="autoscroll" value="" checked  tabindex="<?php echo $cur_index++ ?>" /></span>');

    // -->
    </script>
<?php
if ($pun_user['g_post_chatbox'] == '1') {
    $cur_index = 1;
?>
      <form id="post" method="post" name="formulaire" action="chatbox.php" onsubmit="send_message(); return false;">
         <input type="hidden" name="form_sent" value="1" />
         <input type="hidden" name="form_user" id="form_user" value="<?php echo (!$pun_user['is_guest']) ? pun_htmlspecialchars($pun_user['username']) : 'Guest'; ?>" />
<?php
    if ($pun_user['is_guest']) {
        $email_label = ($pun_config['p_force_guest_email'] == '1') ? '<strong>'.$lang_common['E-mail'].':</strong>' : $lang_common['E-mail'];
        $email_form_name = ($pun_config['p_force_guest_email'] == '1') ? 'req_email' : 'email';
        
        if($email_form_name = 'req_email')
            echo "\t".'<input type="hidden" name="email" id="email" value="" />'."\n";
        else
            echo "\t".'<input type="hidden" name="req_email" id="req_email" value="" />'."\n";
?>
          <strong><?php echo $lang_post['Guest name'] ?>:</strong> <input type="text" name="req_username" id="req_username" value="<?php if (isset($_POST['req_username'])) echo pun_htmlspecialchars($username); ?>" size="15" maxlength="25" tabindex="<?php echo $cur_index++ ?>" /> 
          <?php echo $email_label ?> <input type="text" name="<?php echo $email_form_name ?>" id="<?php echo $email_form_name ?>" value="<?php if (isset($_POST[$email_form_name])) echo pun_htmlspecialchars($email); ?>" size="15" maxlength="50" tabindex="<?php echo $cur_index++ ?>" /> 
<?php
    }
    else {
?>
          <input type="hidden" name="req_username" id="req_username" value="" /> 
          <input type="hidden" name="email" id="email" value="" /> 
          <input type="hidden" name="req_email" id="req_email" value="" /> 
<?php
    }
?>
         <strong><?php echo $lang_chatbox['Message'] ?>:</strong> <input type="text" name="req_message"  id="req_message" value="<?php if (isset($_POST['req_message'])) echo pun_htmlspecialchars($message); ?>" size="35" maxlength="<?php echo $pun_config['cb_msg_maxlength'] ?>"  tabindex="<?php echo $cur_index++ ?>" /> 
         <input type="submit" name="submit" value="<?php echo $lang_chatbox['Btn Send'] ?>" accesskey="s" tabindex="<?php echo $cur_index++ ?>" />
    <script language="javascript">
    <!--
    document.formulaire.req_message.focus();
    // -->
    </script>
    </form>
<?php
}
else
    echo $lang_chatbox['No Post Permission'];
?>
    </span>
  </h2>
</div>
<script language="javascript">
    // Begin getting messages
    var LastMsg = '<?php echo $last_msg_time; ?>';
    $('autoscroll').value = 'true';
    get_messages();
    checker = new PeriodicalExecuter(get_messages, <?php echo $pun_config['cb_ajax_refresh']; ?>);
</script>

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#35 2007-03-04 04:10:00

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: PBB ChatBox 2.0

ok i cleaned it up better....
how do i remove the display in bold?
[Admin] - scott - Today 22:01:16 - [ 20 ChatBox Posts ] [ xxx.xxx.xxx.xxx ]
also how do i show a image link to the user avatar? next to the username?
say a 25x25px version of the user avatar?

Code:

<?php
if ($pun_user['g_read_board'] == '0')
    message($lang_common['No view']);
    // Flood protection
    
        if (!$pun_user['is_guest'] && $pun_user['last_post_chatbox'] != '' && (time() - $pun_user['last_post_chatbox']) < $pun_user['g_post_flood_chatbox'])
            error_ajax(parse_message($lang_post['Flood start'].' '.$pun_user['g_post_flood_chatbox'].' '.$lang_post['flood end'], 0), false, false, false);
            
// Load the chatbox.php and post.php language file
require PUN_ROOT.'lang/'.$pun_user['language'].'/chatbox.php';
require PUN_ROOT.'lang/'.$pun_user['language'].'/post.php';
?>
<script type="text/javascript" src="include/lib/js/prototype.js"></script>
<script type="text/javascript" src="include/lib/js/chatbox.js"></script>
<div class="block">
   <h2>
    <span>
        <span class="conr" ><img style="display:none;" id="loading" name="loading" src="img/chatbox/loading.gif" /></span>
    <?php echo $lang_chatbox['Chatbox'] ?> <span style="font-size:7px;vertical-align:super;">&copy; PBB ChatBox <?php if ($pun_config['o_show_version'] == '1') echo ' '.$pun_config['cb_pbb_version']; ?></span>
    </span>
  </h2>
    <div class="box">
        <div id="chatbox" class="inbox" style="overflow:auto;height:<?php echo $pun_config['cb_height'] ?>px;">
<?php

$cur_msg_txt = '';
$last_msg_time = '';
$count_id = array();

$result = $db->query('SELECT u.id, u.group_id, u.num_posts_chatbox, m.id AS m_id, m.poster_id, m.poster, m.poster_ip, m.poster_email, m.message, m.posted, g.g_id, g.g_title_chatbox FROM '.$db->prefix.'chatbox_msg AS m INNER JOIN '.$db->prefix.'users AS u ON u.id=m.poster_id INNER JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id ORDER BY m.posted DESC LIMIT '.$pun_config['cb_max_msg']) or error('Unable to fetch messages', __FILE__, __LINE__, $db->error());

$new_msg_time = false;
while ($cur_msg = $db->fetch_assoc($result)) {
    
    // Get newest timestamp
    if ($new_msg_time == false) {
        $last_msg_time = $cur_msg['posted'];
        $new_msg_time = true;
    }
    $cur_msg_txt = $pun_config['cb_space'].$cur_msg['g_title_chatbox'].$pun_config['cb_disposition'].$cur_msg_txt;
    
    if ($cur_msg['g_id'] != PUN_GUEST)
        $cur_msg_txt = str_replace('<pun_username>', '<a href="profile.php?id='.$cur_msg['id'].'">'.pun_htmlspecialchars($cur_msg['poster']).'</a>', $cur_msg_txt);
    else
        $cur_msg_txt = str_replace('<pun_username>', pun_htmlspecialchars($cur_msg['poster']), $cur_msg_txt);
    
    $cur_msg_txt = str_replace('<pun_date>', format_time($cur_msg['posted']), $cur_msg_txt);
    
    if ($cur_msg['g_id'] != PUN_GUEST)
        $cur_msg_txt = str_replace('<pun_nbpost>', $cur_msg['num_posts_chatbox'], $cur_msg_txt);
    else {
        if (!isset($count_id[$cur_msg['poster']])) {
            $like_command = ($db_type == 'pgsql') ? 'ILIKE' : 'LIKE';
        
            $count = $db->query('SELECT COUNT(id) FROM '.$db->prefix.'chatbox_msg WHERE poster '.$like_command.' \''.$db->escape(str_replace('*', '%', $cur_msg['poster'])).'\'') or error('Unable to fetch user chatbox post count', __FILE__, __LINE__, $db->error());
            $num_post = $db->result($count);
            $count_id[$cur_msg['poster']] = $num_post;
        }
        else
            $num_post = $count_id[$cur_msg['poster']];
        
        $cur_msg_txt = str_replace('<pun_nbpost>', $num_post, $cur_msg_txt);
    }
    
    $cur_msg_txt = str_replace('<pun_nbpost_txt>', $lang_chatbox['Posts'], $cur_msg_txt);
    
    if ($pun_user['g_id'] < PUN_GUEST) {
        $cur_msg_admin = ' [ <a href="chatbox.php?get_host='.$cur_msg['m_id'].'">'.$cur_msg['poster_ip'].'</a>';
        if ($cur_msg['poster_email'])
            $cur_msg_admin .= ' | <a href="mailto:'.$cur_msg['poster_email'].'">'.$lang_common['E-mail'].'</a> ]';
        else
            $cur_msg_admin .= ' ] ';
    }
    else
        $cur_msg_admin = '';
    
    $cur_msg_txt = str_replace('<pun_admin>', $cur_msg_admin, $cur_msg_txt);
    $cur_msg_txt = str_replace('<pun_message>', parse_message($cur_msg['message'], 0), $cur_msg_txt);
}

if (!$cur_msg_txt)
    echo $lang_chatbox['No Message'];
else
    echo "\t\t\t".$cur_msg_txt."\n";
?>
        </div>
    </div>
  <h2>
    <span>
    <script language="javascript">
    <!--
    // This checkbox is utterly useless, unless we have javascript enabled. As such, we won't display it until then.
    document.write('<span class="conr" style="width:150px;" ><?php echo $lang_chatbox['Autoscroll'] ?>: <input type="checkbox" id="autoscroll" value="" checked  tabindex="<?php echo $cur_index++ ?>" /></span>');

    // -->
    </script>
<?php
if ($pun_user['g_post_chatbox'] == '1') {
    $cur_index = 1;
?>
      <form id="post" method="post" name="formulaire" action="chatbox.php" onsubmit="send_message(); return false;">
         <input type="hidden" name="form_sent" value="1" />
         <input type="hidden" name="form_user" id="form_user" value="<?php echo (!$pun_user['is_guest']) ? pun_htmlspecialchars($pun_user['username']) : 'Guest'; ?>" />
<?php
    if ($pun_user['is_guest']) {
        $email_label = ($pun_config['p_force_guest_email'] == '1') ? '<strong>'.$lang_common['E-mail'].':</strong>' : $lang_common['E-mail'];
        $email_form_name = ($pun_config['p_force_guest_email'] == '1') ? 'req_email' : 'email';
        
        if($email_form_name = 'req_email')
            echo "\t".'<input type="hidden" name="email" id="email" value="" />'."\n";
        else
            echo "\t".'<input type="hidden" name="req_email" id="req_email" value="" />'."\n";
?>
          <strong><?php echo $lang_post['Guest name'] ?>:</strong> <input type="text" name="req_username" id="req_username" value="<?php if (isset($_POST['req_username'])) echo pun_htmlspecialchars($username); ?>" size="15" maxlength="25" tabindex="<?php echo $cur_index++ ?>" /> 
          <?php echo $email_label ?> <input type="text" name="<?php echo $email_form_name ?>" id="<?php echo $email_form_name ?>" value="<?php if (isset($_POST[$email_form_name])) echo pun_htmlspecialchars($email); ?>" size="15" maxlength="50" tabindex="<?php echo $cur_index++ ?>" /> 
<?php
    }
    else {
?>
          <input type="hidden" name="req_username" id="req_username" value="" /> 
          <input type="hidden" name="email" id="email" value="" /> 
          <input type="hidden" name="req_email" id="req_email" value="" /> 
<?php
    }
?>
         <strong><?php echo $lang_chatbox['Message'] ?>:</strong> <input type="text" name="req_message"  id="req_message" value="<?php if (isset($_POST['req_message'])) echo pun_htmlspecialchars($message); ?>" size="35" maxlength="<?php echo $pun_config['cb_msg_maxlength'] ?>"  tabindex="<?php echo $cur_index++ ?>" /> 
         <input type="submit" name="submit" value="<?php echo $lang_chatbox['Btn Send'] ?>" accesskey="s" tabindex="<?php echo $cur_index++ ?>" />
    <script language="javascript">
    <!--
    document.formulaire.req_message.focus();
    // -->
    </script>
    </form>
<?php
}
else
    echo $lang_chatbox['No Post Permission'];
?>
    </span>
  </h2>
</div>
<script language="javascript">
    // Begin getting messages
    var LastMsg = '<?php echo $last_msg_time; ?>';
    $('autoscroll').value = 'true';
    get_messages();
    checker = new PeriodicalExecuter(get_messages, <?php echo $pun_config['cb_ajax_refresh']; ?>);
</script>

Last edited by quaker (2007-03-04 04:11:33)


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#36 2007-03-04 04:27:23

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: PBB ChatBox 2.0

ok now how about in the ap mod a button to clear all chat? hahaha.....
i think that would be good since i had to do some testing and this looks silly

adfga
dfagad
123412
jsjsj

lol..

Q


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#37 2007-03-08 17:58:44

p0Wer
Member
Registered: 2006-09-23
Posts: 87

Re: PBB ChatBox 2.0

I always get an error!

People shout something, and then an error pops up in the chatbox "A fatal server error"

hmm

Offline

 

#38 2007-03-08 18:30:47

p0Wer
Member
Registered: 2006-09-23
Posts: 87

Re: PBB ChatBox 2.0

This is the error I get:

HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at www.psp-downgrades.com Port 80

Offline

 

#39 2007-03-08 21:18:06

Mark
Moderator
From: North West England
Registered: 2005-06-06
Posts: 1165

Re: PBB ChatBox 2.0

try chmoding the file to 777?
and please don't report things because you need them done quick, someone will answer when they know stuff.
Next time you report somethin you post, we'll just delete it.


Cant find something you want? try searching
Also try the wiki

Offline

 

#40 2007-03-08 21:21:22

p0Wer
Member
Registered: 2006-09-23
Posts: 87

Re: PBB ChatBox 2.0

Ok, thanks,

So I'll CHmod the chatbox.php file to 777?

I did the chmod but still the same error hmm

Last edited by p0Wer (2007-03-08 21:22:54)

Offline

 

#41 2007-03-08 21:27:11

Mark
Moderator
From: North West England
Registered: 2005-06-06
Posts: 1165

Re: PBB ChatBox 2.0

wait for someone else to come and have a look then.
my guess is that its somethin to do with your server, not the script.


Cant find something you want? try searching
Also try the wiki

Offline

 

#42 2007-03-08 21:42:19

p0Wer
Member
Registered: 2006-09-23
Posts: 87

Re: PBB ChatBox 2.0

Damn, yeah it must be the server,

If it is the server, what can I do about it?

Offline

 

#43 2007-03-08 22:02:18

FBI
Member
Registered: 2007-02-28
Posts: 17

Re: PBB ChatBox 2.0

Have you try to re-edit whole things (this mod) from beginning? smile


PunBB, Simplicity has been easier than before
Smart is Simple. Fast is Smart. Think Fast, You'll be Smart..

PunBB & SMF Fans

Offline

 

#44 2007-03-08 22:44:43

p0Wer
Member
Registered: 2006-09-23
Posts: 87

Re: PBB ChatBox 2.0

FBI wrote:

Have you try to re-edit whole things (this mod) from beginning? smile

There was no editing needed...

The chatbox was first installed on smartys free forum hosting, and I had the forum backed up... It saved all the posts in the chatbox... Could it be anything to do with that?

Thanks smile

Offline

 

#45 2007-03-09 16:25:03

p0Wer
Member
Registered: 2006-09-23
Posts: 87

Re: PBB ChatBox 2.0

Anyone help? hmm

Offline

 

#46 2007-03-14 00:19:02

p0Wer
Member
Registered: 2006-09-23
Posts: 87

Re: PBB ChatBox 2.0

Can anyone please help :'(

Offline

 

#47 2007-03-20 06:31:40

nifty-stuff.com
Member
Registered: 2006-12-09
Posts: 59
Website

Re: PBB ChatBox 2.0

I've been holding off on installing this, but I wish I hadn't waited so long... this is a beautiful script, really easy to install, and no modifications to any pages!  What a dream!

I don't think pokemon_jojo is around any more, but I send over my kudos to him.

One item I can't figure out is why all the message text is on a new line below the username.  Is it just my install or is it always like this?  I've changed the "message parsing" and  "Message separation" but I can't get the message to show on the same line. 

For example, this: <pun_username> - <pun_message> should show: admin - this is my message

Instead it shows:

admin -
message

Any ideas on how to fix this?

Offline

 

#48 2007-03-20 11:34:04

Dralex
New member
Registered: 2007-03-20
Posts: 1

Re: PBB ChatBox 2.0

Hi nifty-stuff.com, i have the same problem as you
I try everything, to make evry message on one line but it always do 2 lines...

Anyone can help us ? big_smile


And by the way i have on other problem, i integrated color group in chat box, it works good, but whene i'm writting new post on the chatbox, color are not update, i have to refresh the page to see the group color on username.
Anyone have a solution ?

Thank's by advance, and sorry for my bad english smile

Last edited by Dralex (2007-03-20 11:35:10)

Offline

 

#49 2007-04-07 17:10:30

nifty-stuff.com
Member
Registered: 2006-12-09
Posts: 59
Website

Re: PBB ChatBox 2.0

A quick follow up on my post above.   How can we get the chat message on the same line as the username?  Right now the message is put on a new line under the post which makes users a bit frustrated.

Thanks to anyone who can figure it out!!

Offline

 

#50 2007-04-07 17:21:17

olive230
Member
Registered: 2007-04-07
Posts: 18

Re: PBB ChatBox 2.0

hi,
thx for this great chat!!

i have a problem:
in my chat i see that:

Code:

An error was encountered
Error: Unable to connect to MySQL server. MySQL reported: Lost connection to MySQL server at 'reading authorization packet', system error: 0.

any idea?

thx by advance to help me

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.