AJAX Chat 2.0 Beta bbcodes and smilies

Misc MOD Downloads for phpBB3 -- Any MOD that does not fit into any other category
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby IBurn36360 » 17 Jan 2011, 19:59

Anytime.

Alright, it looks like your .php file isn't grabbing the smileys, so...

open: /chat.php

FIND:
Code: Select all
   case 'delete':
      $get = true;
      $chat_id = request_var('chat_id', 0);

      if (!$chat_id)
      {
         break;
      }

      if (!$auth->acl_get('a_') && !$auth->acl_get('m_'))
      {
         break;
      }
      $sql = 'DELETE FROM ' . CHAT_TABLE . " WHERE message_id = $chat_id";
      $db->sql_query($sql);

   break;
}




AFTER ADD:
Code: Select all
   // Generate smiley listing
   generate_smilies('inline', 0);




EDIT: If that one doesn't wok, I'll give you mine. It phrases bbcode, smileys, and sounds should you wish.
Leader of Alls Requiem web development.

Capability, is humanities greatest strength, and it greatest flaw. We are capable of such good, and such evil. And yet it is in the run for the both of them, that evil is indeed winning. It grows and festers, and it holds the lives of many in its grotesque grip. The few who stay from it will eventually be tainted by its filth, but try as it might, a few will never turn.
-IBurn36360
User avatar
IBurn36360    
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 167
Joined: 09 Aug 2010, 12:35
Favorite Team: AReq Game Battles Te
Gender: Male
phpBB Knowledge: 7


Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby duesmandella » 17 Jan 2011, 20:09

yeah that didnt work :(
duesmandella    
Supporter
Supporter
 
Posts: 97
Joined: 27 Sep 2009, 11:22
Gender: Male
phpBB Knowledge: 2

Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby IBurn36360 » 17 Jan 2011, 20:10

Here:

chat.php:
Spoiler:
Code: Select all
<?php
/**
*
* @package phpBB3
* @version $Id: chat.php 52 2007-11-04 05:56:17Z Handyman $
* @copyright (c) 2007 StarTrekGuide
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);


// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('chat');
$user->add_lang('posting');

define('CHAT_TABLE', $table_prefix . 'chat');
define('CHAT_SESSIONS_TABLE', $table_prefix . 'chat_sessions');

/******************************************/
/* EDIT these for custom online settings */
/****************************************/
$session_time = 300;
$default_delay = 15;
//set status
$times = array(
   'online'   => 0,
   'idle'      => 300,
   'offline'   => 1800,
);
//set delay for each status
$delay = array(
   'online'   => 5,
   'idle'      => 60,
   'offline'   => 300,
);
/*****************************************/
/* DO NOT EDIT ANYTHING BELOW THIS LINE */
/***************************************/
$mode = request_var('mode', '');
$last_id = request_var('last_id', 0);
$last_post = request_var('last_post', 0);
$last_time = request_var('last_time', 0);
$get = $init = false;
$count = 0;

switch ($mode)
{
   default:
      $sql = 'SELECT * FROM ' . CHAT_TABLE . ' ORDER BY message_id DESC';
      $result = $db->sql_query_limit($sql, 25);
      $rows = $db->sql_fetchrowset($result);

      foreach ($rows as $row)
      {
         if ($count++ == 0)
         {
            $last_id = $row['message_id'];
         }
         $template->assign_block_vars('chatrow', array(
            'MESSAGE_ID'   => $row['message_id'],
            'USERNAME_FULL'   => clean_username(get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], $user->lang['GUEST'])),
            'MESSAGE'      => generate_text_for_display($row['message'], $row['bbcode_uid'], $row['bbcode_bitfield'], $row['bbcode_options']),
            'TIME'         => $user->format_date($row['time']),
            'CLASS'         => ($row['message_id'] % 2) ? 1 : 2,
         ));
      }
      $db->sql_freeresult($result);

      if ($user->data['user_type'] == USER_FOUNDER || $user->data['user_type'] == USER_NORMAL)
      {
         $sql = 'SELECT * FROM ' . CHAT_SESSIONS_TABLE . " WHERE user_id = {$user->data['user_id']}";
         $result = $db->sql_query($sql);
         $row = $db->sql_fetchrow($result);
         $db->sql_freeresult($result);
         if ($row['user_id'] != $user->data['user_id'])
         {
            $sql_ary = array(
               'user_id'         => $user->data['user_id'],
               'username'         => $user->data['username'],
               'user_colour'      => $user->data['user_colour'],
               'user_login'      => time(),
               'user_lastupdate'   => time(),
            );
            $sql = 'INSERT INTO ' . CHAT_SESSIONS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary);
            $db->sql_query($sql);
         }
         else
         {
            $sql_ary = array(
               'username'         => $user->data['username'],
               'user_colour'      => $user->data['user_colour'],
               'user_login'      => time(),
               'user_lastupdate'   => time(),
            );
            $sql = 'UPDATE ' . CHAT_SESSIONS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . " WHERE user_id = {$user->data['user_id']}";
            $db->sql_query($sql);
         }
      }
      whois_online();
      $template->assign_vars(array(
         'TIME'   => time(),
         'DELAY'   => $default_delay,
      ));
   break;
   case 'read':
      $sql = 'SELECT * FROM ' . CHAT_TABLE . " WHERE message_id > $last_id ORDER BY message_id DESC";
      $result = $db->sql_query_limit($sql, 25);
      $rows = $db->sql_fetchrowset($result);

      if (!sizeof($rows) && ((time() - 60) < $last_time))
      {
         exit;
      }
      foreach ($rows as $row)
      {
         if ($count++ == 0)
         {
            $last_id = $row['message_id'];
                $template->assign_block_vars('soundrow', array(
                'SOUND'   => '<div style="visibility: hidden; position: absolute;"><object data="sound.swf" type="application/x-shockwave-flash"><param name="movie" value="sound.swf" /></object></div>',
                ));
             }
         $template->assign_block_vars('chatrow', array(
            'MESSAGE_ID'   => $row['message_id'],
            'USERNAME_FULL'   => clean_username(get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], $user->lang['GUEST'])),
            'MESSAGE'      => generate_text_for_display($row['message'], $row['bbcode_uid'], $row['bbcode_bitfield'], $row['bbcode_options']),
            'TIME'         => $user->format_date($row['time']),
            'CLASS'         => ($row['message_id'] % 2) ? 1 : 2,
         ));
      }
      $db->sql_freeresult($result);
      if ((time() - 60) > $last_time)
      {
         whois_online();
         $sql_ary = array(
            'username'         => $user->data['username'],
            'user_colour'      => $user->data['user_colour'],
            'user_lastupdate'   => time(),
         );
         $sql = 'UPDATE ' . CHAT_SESSIONS_TABLE . '
            SET ' . $db->sql_build_array('UPDATE', $sql_ary) . "
            WHERE user_id = {$user->data['user_id']}";
         $result = $db->sql_query($sql);
      }
      $get = true;
   break;
   case 'add':
      if (!$user->data['is_registered'] || $user->data['user_type'] == USER_INACTIVE || $user->data['user_type'] == USER_IGNORE)
      {
         redirect(append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'));
      }

      $get = true;
      $read_interval = request_var('read_interval', 0);
      $message = utf8_normalize_nfc(request_var('message', '', true));

      if (!$message)
      {
         break;
      }
      clean_message($message);
      $uid = $bitfield = $options = '';
      $allow_bbcode = $allow_urls = $allow_smilies = true;
      generate_text_for_storage($message, $uid, $bitfield, $options, $allow_bbcode, $allow_urls, $allow_smilies);

      $sql_ary = array(
         'chat_id'         => 1,
         'user_id'         => $user->data['user_id'],
         'username'         => $user->data['username'],
         'user_colour'      => $user->data['user_colour'],
         'message'         => $message,
         'bbcode_bitfield'   => $bitfield,
         'bbcode_uid'      => $uid,
         'bbcode_options'   => $options,
         'time'            => time(),
      );
      $sql = 'INSERT INTO ' . CHAT_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary);
      $db->sql_query($sql);

      $sql_ary = array(
         'username'         => $user->data['username'],
         'user_colour'      => $user->data['user_colour'],
         'user_lastpost'      => time(),
         'user_lastupdate'   => time(),
      );
      $sql = 'UPDATE ' . CHAT_SESSIONS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . " WHERE user_id = {$user->data['user_id']}";
      $result = $db->sql_query($sql);

      $sql = 'SELECT * FROM ' . CHAT_TABLE . " WHERE message_id > $last_id ORDER BY message_id DESC";
      $result = $db->sql_query_limit($sql, 25);
      $rows = $db->sql_fetchrowset($result);

      if (!sizeof($rows) && ((time() - 60) < $last_time))
      {
         exit;
      }
      foreach ($rows as $row)
      {
         if ($count++ == 0)
         {
                $template->assign_block_vars('soundrow', array(
                'SOUND'   => '<div style="visibility: hidden; position: absolute;"><object data="soundout.swf" type="application/x-shockwave-flash"><param name="movie" value="soundout.swf" /></object></div>',
                ));
             $last_id = $row['message_id'];
             }
         $template->assign_block_vars('chatrow', array(
            'MESSAGE_ID'   => $row['message_id'],
            'USERNAME_FULL'   => clean_username(get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], $user->lang['GUEST'])),
            'MESSAGE'      => generate_text_for_display($row['message'], $row['bbcode_uid'], $row['bbcode_bitfield'], $row['bbcode_options']),
            'TIME'         => $user->format_date($row['time']),
            'CLASS'         => ($row['message_id'] % 2) ? 1 : 2,
         ));
      }
      $db->sql_freeresult($result);

      if ($read_interval != $delay['online'])
      {
         whois_online();
      }
   break;
   case 'delete':
      $get = true;
      $chat_id = request_var('chat_id', 0);

      if (!$chat_id)
      {
         break;
      }

      if (!$auth->acl_get('a_') && !$auth->acl_get('m_'))
      {
         break;
      }
      $sql = 'DELETE FROM ' . CHAT_TABLE . " WHERE message_id = $chat_id";
      $db->sql_query($sql);

   break;
}


   //Get the status of the following features
   $bbcode_status   = ($config['allow_bbcode'] && $config['auth_bbcode_pm'] && $auth->acl_get('u_pm_bbcode')) ? true : false;
   $smilies_status   = ($config['allow_smilies'] && $config['auth_smilies_pm'] && $auth->acl_get('u_pm_smilies')) ? true : false;
   $img_status      = ($config['auth_img_pm'] && $auth->acl_get('u_pm_img')) ? true : false;
   $flash_status   = ($config['auth_flash_pm'] && $auth->acl_get('u_pm_flash')) ? true : false;
   $url_status      = ($config['allow_post_links']) ? true : false;

   // Generate smiley listing
   generate_smilies('inline', 0);

   //Assign the features template variable
   $template->assign_vars(array(
      'BBCODE_STATUS'         => ($bbcode_status) ? sprintf($user->lang['BBCODE_IS_ON'], '<a href="' . append_sid("{$phpbb_root_path}faq.$phpEx", 'mode=bbcode') . '">', '</a>') : sprintf($user->lang['BBCODE_IS_OFF'], '<a href="' . append_sid("{$phpbb_root_path}faq.$phpEx", 'mode=bbcode') . '">', '</a>'),
      'IMG_STATUS'         => ($img_status) ? $user->lang['IMAGES_ARE_ON'] : $user->lang['IMAGES_ARE_OFF'],
      'FLASH_STATUS'         => ($flash_status) ? $user->lang['FLASH_IS_ON'] : $user->lang['FLASH_IS_OFF'],
      'SMILIES_STATUS'      => ($smilies_status) ? $user->lang['SMILIES_ARE_ON'] : $user->lang['SMILIES_ARE_OFF'],
      'URL_STATUS'         => ($url_status) ? $user->lang['URL_IS_ON'] : $user->lang['URL_IS_OFF'],            
      'S_COMPOSE_PM'         => true,
      'S_BBCODE_ALLOWED'      => $bbcode_status,
      'S_SMILIES_ALLOWED'      => $smilies_status,
      'S_BBCODE_IMG'         => $img_status,
      'S_BBCODE_FLASH'      => $flash_status,
      'S_BBCODE_QUOTE'      => false,
      'S_BBCODE_URL'         => $url_status,
   ));

   // Build custom bbcodes array
   display_custom_bbcodes();


$mode = strtoupper($mode);
$template->assign_vars(array(
   'FILENAME'      => append_sid("{$phpbb_root_path}chat.$phpEx"),
   'LAST_ID'      => $last_id,
   'S_CHAT'      => (!$get) ? true : false,
   'S_GET_CHAT'   => ($get) ? true : false,
   'S_' . $mode   => true,
  'ARCH_TITLE'  => $user->lang['ARCH_TITLE'],
  'ARCH_LABEL'  => $user->lang['ARCH_LABEL'],
));
page_header($user->lang['PAGE_TITLE']);

$template->set_filenames(array(
   'body' => 'chat_body.html')
);

page_footer();

function whois_online()
{
   global $db, $template, $user;
   global $delay, $last_post, $session_time;

   $check_time = time() - $session_time;

   $sql_ary = array(
      'username'         => $user->data['username'],
      'user_colour'      => $user->data['user_colour'],
      'user_lastupdate'   => time(),
   );
   $sql = 'UPDATE ' . CHAT_SESSIONS_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . " WHERE user_id = {$user->data['user_id']}";
   $db->sql_query($sql);

   $sql = 'DELETE FROM ' . CHAT_SESSIONS_TABLE . " WHERE user_lastupdate < $check_time";
   $db->sql_query($sql);

   $sql = 'SELECT *
      FROM ' . CHAT_SESSIONS_TABLE . "
      WHERE user_lastupdate > $check_time
      ORDER BY username ASC";
   $result = $db->sql_query($sql);

   $status_time = time();
   while ($row = $db->sql_fetchrow($result))
   {
      if ($row['user_id'] == $user->data['user_id'])
      {
         $last_post = $row['user_lastpost'];
         $login_time = $row['user_login'];
         $status_time = ($last_post > $login_time) ? $last_post : $login_time;
      }
      $status = get_status($row['user_lastpost']);
      $template->assign_block_vars('whoisrow', array(
         'USERNAME_FULL'   => clean_username(get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], $user->lang['GUEST'])),
         'USER_STATUS'   => $status,
      ));
   }
   $db->sql_freeresult($result);

   $template->assign_vars(array(
      'DELAY'         => ($status_time) ? $delay[get_status($status_time)] : $delay['idle'],
      'LAST_TIME'      => time(),
      'S_WHOISONLINE'   => true,
   ));
   return false;
}
function get_status($last)
{
   global $times;

   $status = 'online';
   if ($last < (time() - $times['offline']))
   {
      $status = 'offline';
   }
   else if ($last < (time() - $times['idle']))
   {
      $status = 'idle';
   }
   return $status;
}
function clean_message(&$message)
{
   if (strpos($message, '---') !== false)
   {
      $message = str_replace('---', '–––', $message);
      clean_message($message);
   }
}
function clean_username($user)
{
   if (strpos($user, '---') !== false)
   {
      $user = str_replace('---', '–––', $user);
      clean_username($user);
   }
   return $user;
}
?>
Leader of Alls Requiem web development.

Capability, is humanities greatest strength, and it greatest flaw. We are capable of such good, and such evil. And yet it is in the run for the both of them, that evil is indeed winning. It grows and festers, and it holds the lives of many in its grotesque grip. The few who stay from it will eventually be tainted by its filth, but try as it might, a few will never turn.
-IBurn36360
User avatar
IBurn36360    
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 167
Joined: 09 Aug 2010, 12:35
Favorite Team: AReq Game Battles Te
Gender: Male
phpBB Knowledge: 7

Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby duesmandella » 17 Jan 2011, 20:31

still nothing i dont get it
duesmandella    
Supporter
Supporter
 
Posts: 97
Joined: 27 Sep 2009, 11:22
Gender: Male
phpBB Knowledge: 2

Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby IBurn36360 » 17 Jan 2011, 20:34

Try removing the conditional:

Remove:
Code: Select all
<!-- IF S_SMILIES_ALLOWED and .smiley -->

and The VERY NEXT
Code: Select all
<!-- ENDIF -->
Leader of Alls Requiem web development.

Capability, is humanities greatest strength, and it greatest flaw. We are capable of such good, and such evil. And yet it is in the run for the both of them, that evil is indeed winning. It grows and festers, and it holds the lives of many in its grotesque grip. The few who stay from it will eventually be tainted by its filth, but try as it might, a few will never turn.
-IBurn36360
User avatar
IBurn36360    
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 167
Joined: 09 Aug 2010, 12:35
Favorite Team: AReq Game Battles Te
Gender: Male
phpBB Knowledge: 7

Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby duesmandella » 17 Jan 2011, 20:42

nothing lol
duesmandella    
Supporter
Supporter
 
Posts: 97
Joined: 27 Sep 2009, 11:22
Gender: Male
phpBB Knowledge: 2

Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby duesmandella » 17 Jan 2011, 20:43

what i got so far
Spoiler:
<!-- IF S_GET_CHAT -->
<!-- IF S_READ or S_ADD -->
<!-- BEGIN chatrow -->
<div id="p{chatrow.MESSAGE_ID}">
<table cellspacing="0" width="100%">
<tr>
<td class="row1">
<!-- IF U_ACP or U_MCP --><a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')"><img src="{T_IMAGESET_PATH}/icon_post_delete_chat.gif" /></a> <!-- ENDIF -->
<b class="postauthor">{chatrow.USERNAME_FULL}</b> � {chatrow.TIME} � &nbsp; <span class="postbody">{chatrow.MESSAGE}</span>
</td>
</tr>
</table>
</div>
<!-- END chatrow -->---{LAST_ID}
<!-- IF S_WHOISONLINE -->---
<!-- BEGIN whoisrow -->
<div>
<div class="inner">
<div class="user"><img src="{T_IMAGESET_PATH}/{whoisrow.USER_STATUS}.png" class="online_img" /> : {whoisrow.USERNAME_FULL}</div>
</div>
</div>
<!-- END whoisrow -->---{LAST_TIME}---{DELAY}---{LAST_POST}
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ELSE -->
<!-- IF S_CHAT -->
<!-- INCLUDE overall_header.html -->
<!-- ENDIF -->
<script type="text/javascript">
<!--
var fieldname = 'chat';
var last_time = 0;
var xmlHttp = http_object();
var last_id = {LAST_ID};
var type = 'receive';
var post_time = {TIME};
var read_interval = 15000;
var interval = setInterval('handle_send("read", last_id);', read_interval);

function handle_send(mode, f)
{
if (xmlHttp.readyState == 4 || xmlHttp.readyState == 0)
{
indicator_switch('on');
type = 'receive';
param = 'mode=' + mode;
param += '&last_id=' + last_id;
param += '&last_time=' + last_time;
param += '&last_post=' + post_time;
param += '&read_interval=' + read_interval;

if (mode == 'add' && document.text.message.value != '')
{
type = 'send';
for(var i = 0; i < f.elements.length; i++)
{
elem = f.elements[i];
param += '&' + elem.name + '=' + encodeURIComponent(elem.value);
}
document.text.message.value = '';
}
else if (mode == 'delete')
{
type = 'delete';
param += '&chat_id=' + f;
}
xmlHttp.open("POST", '{FILENAME}', true);
xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlHttp.onreadystatechange = handle_return;
xmlHttp.send(param);
}
}

function handle_return()
{
if (xmlHttp.readyState == 4)
{
if (type != 'delete')
{
results = xmlHttp.responseText.split('---');
if (results[1])
{
if (last_id == 0)
{
document.getElementById(fieldname).innerHTML = results[0];
}
else
{
document.getElementById(fieldname).innerHTML = results[0] + document.getElementById(fieldname).innerHTML;
}
last_id = results[1];
if (results[2])
{
document.getElementById('whois_online').innerHTML = results[2];
last_time = results[3];
if (results[4] != read_interval * 1000)
{
window.clearInterval(interval);
read_interval = results[4] * 1000;
interval = setInterval('handle_send("read", last_id);', read_interval);
document.getElementById('update_seconds').innerHTML = results[4];
}
post_time = results[5];
}
}
}
indicator_switch('off');
}
}

function delete_post(chatid)
{
document.getElementById('p' + chatid).style.display = 'none';
handle_send('delete', chatid);
}

function indicator_switch(mode)
{
if(document.getElementById("act_indicator"))
{
var img = document.getElementById("act_indicator");
if(img.style.visibility == "hidden" && mode == 'on')
{
img.style.visibility = "visible";
}
else if (mode == 'off')
{
img.style.visibility = "hidden"
}
}
}

function http_object()
{
if (window.XMLHttpRequest)
{
return new XMLHttpRequest();
}
else if(window.ActiveXObject)
{
return new ActiveXObject("Microsoft.XMLHTTP");
}
else
{
document.getElementById('p_status').innerHTML = 'Status: Cound not create XmlHttpRequest Object. Consider upgrading your browser.';
}
}
-->
</script>
<style type="text/css">
<!--
#act_indicator {
visibility:hidden;
}
.shouts {
height:300px;
overflow:auto;
float:left;
}
#chat {
width: 100%;
text-align:left;
}
.postprofile {
min-height: 5px !important;
}
.chatform {
width: 90%;
text-align:center;
}
.onlinelist {
width: 15%;
overflow:auto;
height:300px;
}
.users {
width: 90%;
text-align: left;
text-indent: 5px;
margin-left:auto;
margin-right:auto;
}
.user {
width: 95%;
font-size: 1.1em;
font-family:Verdana, Arial, Helvetica, sans-serif;
line-height: 1.4em;
}
#act_indicator {
visibility: hidden;
}
.chatinput {width: 80% !important;}
.online_img {
vertical-align:middle;
}
-->
</style>
<div class="forumbg forumbg-table">
{$CA_BLOCK_START}
<table class="table1" cellspacing="0" width="100%">
<!-- IF S_USER_LOGGED_IN -->
<tr>
<td colspan="2" class="row1" align="center">
<!-- BEGIN smiley -->
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
<!-- END smiley -->
<form name="text" id="text" method="post" action="javascript:void(0);" onsubmit="handle_send('add', this)" autocomplete="off">
<strong>{L_MESSAGE}:</strong> <input type="text" tabindex="1" name="message" id="message" class="inputbox chatinput" />
<input type="submit" class="button1" value="{L_SUBMIT}" name="submit" tabindex="6" accesskey="s"/><br />
</form>
</td>
</tr>
<!-- ENDIF -->
<tr>
<td style="padding: 0; border-width: 0;" valign="top">
<div id="chat" class="shouts">
<!-- BEGIN chatrow -->
<div id="p{chatrow.MESSAGE_ID}">
<table cellspacing="0" width="100%">
<tr>
<td class="row1">
<!-- IF U_ACP or U_MCP -->
<a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')">
<img src="{T_IMAGESET_PATH}/icon_post_delete_chat.gif" />
</a>
<!-- ENDIF -->
<b class="postauthor">{chatrow.USERNAME_FULL}</b> � {chatrow.TIME} � &nbsp; <span class="postbody">{chatrow.MESSAGE}</span>
</td>
</tr>

</table>
</div>
<!-- END chatrow -->
</div>
</td>
<td class="row1" valign="top">
<div id="whois_online">
<!-- BEGIN whoisrow -->
<div>
<div class="inner">
<div class="user"><img src="{T_IMAGESET_PATH}/{whoisrow.USER_STATUS}.png" class="online_img" /> {whoisrow.USERNAME_FULL}</div>
</div>
</div>
<!-- END whoisrow -->
</div>
</td>
</tr>
<tr>
<td class="row1" colspan="2">
<div id="author">{L_DETAILS}
<img src="{T_IMAGESET_PATH}/act_indicator.gif" id="act_indicator" alt="" /> <strong>� {L_UPDATES} <span id="update_seconds">{DELAY}</span> {L_UNIT}</strong>
</td>
</tr>
</table>

{$CA_BLOCK_END}
</div>
<!-- IF S_CHAT -->
<!-- INCLUDE overall_footer.html -->
<!-- ENDIF -->
<!-- ENDIF -->
duesmandella    
Supporter
Supporter
 
Posts: 97
Joined: 27 Sep 2009, 11:22
Gender: Male
phpBB Knowledge: 2

Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby IBurn36360 » 17 Jan 2011, 20:47

I'm stumped, there isn't any reason that your smileys shouldn't work, unless your style re-named the smiley template =/.
Leader of Alls Requiem web development.

Capability, is humanities greatest strength, and it greatest flaw. We are capable of such good, and such evil. And yet it is in the run for the both of them, that evil is indeed winning. It grows and festers, and it holds the lives of many in its grotesque grip. The few who stay from it will eventually be tainted by its filth, but try as it might, a few will never turn.
-IBurn36360
User avatar
IBurn36360    
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 167
Joined: 09 Aug 2010, 12:35
Favorite Team: AReq Game Battles Te
Gender: Male
phpBB Knowledge: 7

Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby duesmandella » 17 Jan 2011, 20:50

just to check whats the smiley template name supposed to be. I dont think i have ever changed it
duesmandella    
Supporter
Supporter
 
Posts: 97
Joined: 27 Sep 2009, 11:22
Gender: Male
phpBB Knowledge: 2

Re: AJAX Chat 2.0 Beta bbcodes and smilies

Postby IBurn36360 » 17 Jan 2011, 20:53

Then I don't know...I'm sorry, but I dont know whats going on.
Leader of Alls Requiem web development.

Capability, is humanities greatest strength, and it greatest flaw. We are capable of such good, and such evil. And yet it is in the run for the both of them, that evil is indeed winning. It grows and festers, and it holds the lives of many in its grotesque grip. The few who stay from it will eventually be tainted by its filth, but try as it might, a few will never turn.
-IBurn36360
User avatar
IBurn36360    
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 167
Joined: 09 Aug 2010, 12:35
Favorite Team: AReq Game Battles Te
Gender: Male
phpBB Knowledge: 7

PreviousNext

Return to Miscellaneous MODs, Hacks and Downloads

Who is online

Users browsing this forum: No registered users and 7 guests