Re: [Add-on] AJAX Chat 2.0.0 Beta Styles

phpBB3 styling support, style coding, and style graphics assistance.
Forum rules
Style coding and style related questions only.

Re: [Add-on] AJAX Chat 2.0.0 Beta

Postby strahd1970 » 19 Jun 2008, 08:31

Sniper_E...

Again, thanks for the help!! I just noticed two problems after fixing the chat_body.php as you instructed. The first problem is after it refreshes, the usernames disappear and are replaced with one line that contains a bunch of numbers. The second problem is the "updating every 5 sconds line" now reads "updating every seconds". :confused:

Image

Somehow I cut the image a bit... You can see where I circled it and a couple of the numbers. Sorry!!

Thanks in advance for your help!!
strahd1970    
Cadet IV
Cadet IV
 
Posts: 53
Joined: 03 May 2008, 16:21
Location: Gaylord, MI
Gender: Male
phpBB Knowledge: 5


Re: [Add-on] AJAX Chat 2.0.0 Beta

Postby Sniper_E » 19 Jun 2008, 09:03

@ ezzzy.... The chat is normally in the index_body.html file. Can you post your code in that file, not the forumlist_body.html?
And the smilies for prosilver are here: viewtopic.php?p=64264#p64264

@ strahd1970.... That almost looks like a subsilver2 type of style but I'm sure it's a prosilver type.
For your Who's Online section, at the top of your chat_body.html page you should have this:
Code: Select all
      <!-- IF S_WHOISONLINE -->---
               <h4>{L_ONLINE_LIST}:</h4>
            <!-- 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 -->
And at the bottom of your page it should read like this:
Code: Select all
            <div class="users" id="whois_online">
               <h4>{L_ONLINE_LIST}:</h4>
               <!-- 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>
It looks like you were missing the top part. They should both be the same as above. See if that works.

The Seconds showing at the footer is missing the time amount. Is yours written like this?
Code: Select all
            <div id="author">{L_DETAILS}
               <img src="{T_IMAGESET_PATH}/act_indicator.gif" id="act_indicator" />
               <strong>â?¢ {L_UPDATES} <span id="update_seconds">{DELAY}</span> {L_UNIT}</strong>
            </div>
And it looks like you need a space after your chat. You should add a <br /> after the last </div> in that page.
Code: Select all
   </div>
<br />
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6979
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [Add-on] AJAX Chat 2.0.0 Beta

Postby ezzzy » 19 Jun 2008, 10:11

Okay Sniper_E

here is my chat_body and Index_body so what changes should be made in chat_body to get my colors the same as the original style also I want the Users name to the right of the chat. I will add the smileys once I get the chat up and running :D

http://www.bp-and-tus.net/forum/


Index_Body

Spoiler:
<!-- INCLUDE overall_header.html -->


<!-- IF U_MCP -->

<div id="pageheader">
<p class="linkmcp">



<A
HREF="{U_MCP}"
onMouseOver = "rollover('mod')"
onMouseOut = "rollout('mod')"
><IMG
SRC="{T_THEME_PATH}/images/buttons/mod1.png"
NAME="mod"
ALT="Home Page" BORDER=0
HEIGHT=45 WIDTH=188
></A>
<SCRIPT TYPE="text/javascript">
<!--
setrollover("{T_THEME_PATH}/images/buttons/mod2.png");
//-->
</SCRIPT>


</p>
</div>

<br clear="all" /><br />
<!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->


<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->




<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

<td><img src="{T_THEME_PATH}/images/box_01.png" width="41" height="48" alt=""></td>

<td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

<td background="{T_THEME_PATH}/images/cu.png" width="300" height="48"><h4 align="center">Board Statistics</h4></td>

<td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

<td><img src="{T_THEME_PATH}/images/box_04.png" width="41" height="48" alt=""></td>
</table>
</tr>

<tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

<td background="{T_THEME_PATH}/images/box_08.png" width="41" height="100%"></td>
<td>
















<!-- INCLUDE chat_body.html -->
<!-- IF S_DISPLAY_ONLINE_LIST -->

<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td>
</tr>
<tr>
<!-- IF LEGEND -->
<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online.png" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ELSE -->
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ENDIF -->
<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td> </tr>
<!-- IF LEGEND -->
<tr>
<td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
</tr>
<!-- ENDIF -->
</table>
<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST -->

<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><h4>{L_BIRTHDAYS}</h4></td>
</tr>
<tr>
<td class="row1" width="38" align="left" valign="middle"><img src="{T_THEME_PATH}/images/birthday.png" width="38" height="38" alt=""></td>
<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
</tr>
</table>
<!-- ENDIF -->


<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td>
</tr>
<tr>
<td class="row1"><img src="{T_THEME_PATH}/images/stats.png" alt="{L_STATISTICS}" /></td>
<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
</tr>
</table>



</td>
<td background="{T_THEME_PATH}/images/box_09.png" width="41" height="100%"></td>
</table>
</tr>
<tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

<td><img src="{T_THEME_PATH}/images/box_10.png" width="41" height="46" alt=""></td>
<td background="{T_THEME_PATH}/images/box_11.png" width="100%" height="46"></td>
<td><img src="{T_THEME_PATH}/images/box_13.png" width="41" height="46" alt=""></td>
</table>
</tr>
</table>




<br clear="all" />


<!-- IF not S_USER_LOGGED_IN -->
<br clear="all" />

<form method="post" action="{S_LOGIN_ACTION}">

<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

<td><img src="{T_THEME_PATH}/images/box_01.png" width="41" height="48" alt=""></td>
<td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

<td background="{T_THEME_PATH}/images/cu.png" width="350" height="48">

<h4 align="center"><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>


<td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

<td><img src="{T_THEME_PATH}/images/box_04.png" width="41" height="48" alt=""></td>
</table>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

</tr>
<tr>
<td background="{T_THEME_PATH}/images/box_08.png" width="41" height="100%"></td>
<td>
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
<td background="{T_THEME_PATH}/images/box_09.png" width="41" height="100%"></td>
</tr>
<tr>
<td><img src="{T_THEME_PATH}/images/box_10.png" width="41" height="46" alt=""></td>
<td background="{T_THEME_PATH}/images/box_11.png" width="100%" height="46"></td>
<td><img src="{T_THEME_PATH}/images/box_13.png" width="41" height="46" alt=""></td>
</tr>
</table>
{S_FORM_TOKEN}
</form>
<!-- ENDIF -->

<br clear="all" />

<table class="legend">
<tr>
<td width="20" align="center">{FORUM_NEW_IMG}</td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center">{FORUM_IMG}</td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>

<!-- INCLUDE overall_footer.html -->



Chat_Body

Spoiler:
<!-- IF S_GET_CHAT -->
<!-- IF S_READ or S_ADD -->
<!-- BEGIN chatrow -->
<div id="p{chatrow.MESSAGE_ID}" class="post bg{chatrow.CLASS}">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody">
<p class="author">{chatrow.TIME} </p>

<div class="content">{chatrow.MESSAGE}</div>
</div>
<dl class="postprofile" id="profile{postrow.POST_ID}">
<dt>{chatrow.USERNAME_FULL}</dt>
</dl>
<!-- IF U_ACP or U_MCP -->
<ul class="profile-icons postprofile">
<li class="delete-icon">
<a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')"><span>{L_DELETE_POST}</span></a>
</li>
</ul>
<!-- ENDIF -->
<span class="corners-bottom"><span></span></span>
</div>
</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 {
width: 85%;
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>
<!-- IF S_USER_LOGGED_IN -->
<div class="forabg">
<div class="inner">
<span class="corners-top"><span></span></span>
<div class="chatform" align="center">
<form name="text" id="text" method="post" action="javascript:void(0);" onsubmit="handle_send('add', this)" autocomplete="off">
<strong style="color: white;">{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>
</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
<!-- ENDIF -->
<div class="forabg" align="left">
<div class="inner">
<span class="corners-top"><span></span></span>
<div class="shouts">
<div id="chat">
<!-- BEGIN chatrow -->
<div id="p{chatrow.MESSAGE_ID}" class="post bg{chatrow.CLASS}">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody">
<p class="author">{chatrow.TIME} </p>

<div class="content">{chatrow.MESSAGE}</div>
</div>
<dl class="postprofile" id="profile{postrow.POST_ID}">
<dt>{chatrow.USERNAME_FULL}</dt>
</dl>
<!-- IF U_ACP or U_MCP -->
<ul class="profile-icons postprofile">
<li class="delete-icon">
<a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')"><span>{L_DELETE_POST}</span></a>
</li>
</ul>
<!-- ENDIF -->
<span class="corners-bottom"><span></span></span>
</div>
</div>
<!-- END chatrow -->
</div>
</div>
<div class="onlinelist bg1">
<div class="users" 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>
</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
<div class="forabg" align="center">
<div class="inner">
<span class="corners-top"><span></span></span>
<div class="post">
<div id="author">{L_DETAILS}
<img src="{T_IMAGESET_PATH}/act_indicator.gif" id="act_indicator" />
<strong>â?¢ {L_UPDATES} <span id="update_seconds">{DELAY}</span> {L_UNIT}</strong>
</div>
</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
<!-- IF S_CHAT -->
<!-- INCLUDE overall_footer.html -->
<!-- ENDIF -->
<!-- ENDIF -->




Thanks for all your help :good:
EzZZY
ezzzy
Ensign
Ensign
 
Posts: 71
Joined: 14 Jun 2008, 17:58
Gender: Female

Re: [Add-on] AJAX Chat 2.0.0 Beta

Postby Sniper_E » 19 Jun 2008, 10:30

OK ezzzy, that is written wrong in the index_body.html file. Do you have the original index_body.html file that you can post.
Show me that and I'll hook you up with a fine looking chat page. Because I can see that style is going to look Great for the chat.

Or where can I download that style from?
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6979
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [Add-on] AJAX Chat 2.0.0 Beta

Postby ezzzy » 19 Jun 2008, 11:37

Sniper_E wrote:OK ezzzy, that is written wrong in the index_body.html file. Do you have the original index_body.html file that you can post.
Show me that and I'll hook you up with a fine looking chat page. Because I can see that style is going to look Great for the chat.

Or where can I download that style from?



This is the original Index_body html

Spoiler:
<!-- INCLUDE overall_header.html -->


<!-- IF U_MCP -->

<div id="pageheader">
<p class="linkmcp">



<A
HREF="{U_MCP}"
onMouseOver = "rollover('mod')"
onMouseOut = "rollout('mod')"
><IMG
SRC="{T_THEME_PATH}/images/buttons/mod1.png"
NAME="mod"
ALT="Home Page" BORDER=0
HEIGHT=45 WIDTH=188
></A>
<SCRIPT TYPE="text/javascript">
<!--
setrollover("{T_THEME_PATH}/images/buttons/mod2.png");
//-->
</SCRIPT>


</p>
</div>

<br clear="all" /><br />
<!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->


<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->




<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

<td><img src="{T_THEME_PATH}/images/box_01.png" width="41" height="48" alt=""></td>

<td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

<td background="{T_THEME_PATH}/images/cu.png" width="300" height="48"><h4 align="center">Board Statistics</h4></td>

<td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

<td><img src="{T_THEME_PATH}/images/box_04.png" width="41" height="48" alt=""></td>
</table>
</tr>

<tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

<td background="{T_THEME_PATH}/images/box_08.png" width="41" height="100%"></td>
<td>


















<!-- IF S_DISPLAY_ONLINE_LIST -->

<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td>
</tr>
<tr>
<!-- IF LEGEND -->
<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online.png" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ELSE -->
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ENDIF -->
<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td> </tr>
<!-- IF LEGEND -->
<tr>
<td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
</tr>
<!-- ENDIF -->
</table>
<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST -->

<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><h4>{L_BIRTHDAYS}</h4></td>
</tr>
<tr>
<td class="row1" width="38" align="left" valign="middle"><img src="{T_THEME_PATH}/images/birthday.png" width="38" height="38" alt=""></td>
<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
</tr>
</table>
<!-- ENDIF -->


<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td>
</tr>
<tr>
<td class="row1"><img src="{T_THEME_PATH}/images/stats.png" alt="{L_STATISTICS}" /></td>
<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
</tr>
</table>



</td>
<td background="{T_THEME_PATH}/images/box_09.png" width="41" height="100%"></td>
</table>
</tr>
<tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

<td><img src="{T_THEME_PATH}/images/box_10.png" width="41" height="46" alt=""></td>
<td background="{T_THEME_PATH}/images/box_11.png" width="100%" height="46"></td>
<td><img src="{T_THEME_PATH}/images/box_13.png" width="41" height="46" alt=""></td>
</table>
</tr>
</table>




<br clear="all" />


<!-- IF not S_USER_LOGGED_IN -->
<br clear="all" />

<form method="post" action="{S_LOGIN_ACTION}">

<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

<td><img src="{T_THEME_PATH}/images/box_01.png" width="41" height="48" alt=""></td>
<td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

<td background="{T_THEME_PATH}/images/cu.png" width="350" height="48">

<h4 align="center"><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>


<td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

<td><img src="{T_THEME_PATH}/images/box_04.png" width="41" height="48" alt=""></td>
</table>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

</tr>
<tr>
<td background="{T_THEME_PATH}/images/box_08.png" width="41" height="100%"></td>
<td>
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
<td background="{T_THEME_PATH}/images/box_09.png" width="41" height="100%"></td>
</tr>
<tr>
<td><img src="{T_THEME_PATH}/images/box_10.png" width="41" height="46" alt=""></td>
<td background="{T_THEME_PATH}/images/box_11.png" width="100%" height="46"></td>
<td><img src="{T_THEME_PATH}/images/box_13.png" width="41" height="46" alt=""></td>
</tr>
</table>
{S_FORM_TOKEN}
</form>
<!-- ENDIF -->

<br clear="all" />

<table class="legend">
<tr>
<td width="20" align="center">{FORUM_NEW_IMG}</td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center">{FORUM_IMG}</td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>

<!-- INCLUDE overall_footer.html -->



Here is the download link : http://demo.phpbb3styles.net/X-Treme


You are so helpful Sniper_E
Thanks for all your help!!!
ezzzy
Ensign
Ensign
 
Posts: 71
Joined: 14 Jun 2008, 17:58
Gender: Female

Re: [Add-on] AJAX Chat 2.0.0 Beta

Postby Sniper_E » 19 Jun 2008, 13:11

The one you posted before looked strange. I thought you had it messed up, but the original one even looks strange.
I'll have to look at this later, something has come up. Why all of those spaces? I'll be back later....

Oh man, this chat is going to look awesome in that style. I can see it already.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6979
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [Add-on] AJAX Chat 2.0.0 Beta

Postby strahd1970 » 19 Jun 2008, 13:19

Sniper_E.. It's problack.. A prosilver variant.. You sure know your styles!! :good:

I'll take a look at the changes you posted when I get back to the house.... Gotta head to Soccer Practice!!

Thanks for all your help!! It's a good feelingto know that if you have a problem, that you guys are more than willing to help!! Kudos!

EDIT:

I tried what you said in the last post, and still couldn't get it to work right. The refresh was just like you had posted. Here is a copy of my chat_body.html for you to look at.

Spoiler:
Code: Select all
<!-- IF S_GET_CHAT -->
   <!-- IF S_READ or S_ADD -->
               <!-- BEGIN chatrow -->
                  <div id="p{chatrow.MESSAGE_ID}" class="post bg{chatrow.CLASS}">
                     <div class="inner"><span class="corners-top"><span></span></span>
                        <div class="postbody">
                           <!-- IF U_ACP or U_MCP -->
                              <ul class="profile-icons">
                                 <li class="delete-icon">
                                    <a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onClick="delete_post('{chatrow.MESSAGE_ID}')"><span>{L_DELETE_POST}</span></a>
                                 </li>
                              </ul>
                           <!-- ENDIF -->
                           <div class="content">{chatrow.MESSAGE}</div>
                        </div>
                        <dl class="postprofile" id="profile{postrow.POST_ID}">
                           <dt>{chatrow.USERNAME_FULL}<br />{chatrow.TIME}</dt>

                        </dl>
                        <span class="corners-bottom"><span></span></span>
                     </div>
                  </div>
               <!-- END chatrow -->
      <!-- IF S_WHOISONLINE -->---
               <h4>{L_ONLINE_LIST}:</h4>
            <!-- 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">
   // <![CDATA[
         var form_name = 'postform';
         var text_name = 'message';
      // ]]>
   <!--
   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.postform.message.value != '')
         {
            type = 'send';
            for(var i = 0; i < f.elements.length; i++)
            {
               elem = f.elements[i];
               param += '&' + elem.name + '=' + encodeURIComponent(elem.value);
            }
            document.postform.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.';
      }
   }
   function addText(instext)
   {
          var mess = document.getElementById('message');
        //IE support
              if (document.selection)
      {
                    mess.focus();
                     sel = document.selection.createRange();
                     sel.text = instext;
                     document.message.focus();
              }
      //MOZILLA/NETSCAPE support
      else if (mess.selectionStart || mess.selectionStart == "0")
      {
         var startPos = mess.selectionStart;
         var endPos = mess.selectionEnd;
         var chaine = mess.value;
                     mess.value = chaine.substring(0, startPos) + instext + chaine.substring(endPos, chaine.length);
                     mess.selectionStart = startPos + instext.length;
                     mess.selectionEnd = endPos + instext.length;
                     mess.focus();
      }
      else
      {
         mess.value += instext;
                     mess.focus();
      }
   }
   -->
   </script>
   <style type="text/css">
   <!--
      #act_indicator {
         visibility:hidden;
      }
      .shouts {
         width: 85%;
         height:200px;
         overflow:auto;
         float:left;
      }
      #chat {
         width: 100%;
         text-align:left;
      }   
      #chat * {
         margin:0px;
         padding:0px;
         min-height:0px;
      
         
      }
      .postprofile {
         min-height: 5px !important;
      }
      .chatform {
         width: 90%;
         text-align:center;
      }
      .onlinelist {
         width: 14.5%;
         overflow:auto;
         height:200px;
      }
      .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:right;
      }
   -->
   </style>
   <!-- IF S_USER_LOGGED_IN -->
      <div class="forabg">
         <div class="inner">
            <span class="corners-top"><span></span></span>
            <div class="chatform" align="center">   
<!-- INCLUDE posting_buttons.html -->

<!-- IF S_SMILIES_ALLOWED and .smiley -->               
               <!-- 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 -->
            <!-- ENDIF -->               
                                                 
               <form name="postform" id="postform" method="post" action="javascript:void(0);" onsubmit="handle_send('add', this)" autocomplete="off">
                  <strong style="color: white;">{L_MESSAGE}:<!--*Feel free to join the chat.*--></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 />
                         </div>
            <span class="corners-bottom"><span></span></span>
         </div>
      </div>
        </form>
   <!-- ENDIF -->
   <div class="forabg" align="left">
      <div class="inner">
         <span class="corners-top"><span></span></span>
         <div class="shouts">
            <div id="chat">
               <!-- BEGIN chatrow -->
                  <div id="Div1" class="post bg{chatrow.CLASS}">
                     <div class="inner"><span class="corners-top"><span></span></span>
                        <div class="postbody">
                           <!-- IF U_ACP or U_MCP -->
                              <ul class="profile-icons">
                                 <li class="delete-icon">
                                    <a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onClick="delete_post('{chatrow.MESSAGE_ID}')"><span>{L_DELETE_POST}</span></a>
                                 </li>
                              </ul>
                           <!-- ENDIF -->
                           <div class="content">{chatrow.MESSAGE}</div><br/>
                        </div>
                        <dl class="postprofile" id="Dl1">
                           <dt>{chatrow.USERNAME_FULL}<br />{chatrow.TIME}</dt>

                        </dl>
                        <span class="corners-bottom"><span></span></span>
                     </div>
                  </div>
                <!-- END chatrow -->
            </div>
         </div>
            <div class="users" id="whois_online">
               <h4>{L_ONLINE_LIST}:</h4>
               <!-- 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>
         <span class="corners-bottom"><span></span></span>
      </div>
   </div>
   <div class="forabg" align="center">
      <div class="inner">
         <span class="corners-top"><span></span></span>
         <div class="post">
            <div id="author">{L_DETAILS}
               <img src="{T_IMAGESET_PATH}/act_indicator.gif" id="act_indicator" />
               <strong>â?¢ {L_UPDATES} <span id="update_seconds">{DELAY}</span> {L_UNIT}</strong>
            </div>
         </div>
         <span class="corners-bottom"><span></span></span>
      </div>
   </div>
   
   <!-- IF S_CHAT -->
      <!-- INCLUDE overall_footer.html -->
   <!-- ENDIF -->
<!-- ENDIF -->



I wasn't sure where you were talking about putting the <br/> so I put it here, near the end of the chat_body.html
Code: Select all
<div class="content">{chatrow.MESSAGE}</div><br />


Any thoughts?
strahd1970    
Cadet IV
Cadet IV
 
Posts: 53
Joined: 03 May 2008, 16:21
Location: Gaylord, MI
Gender: Male
phpBB Knowledge: 5

Moving Shoutbox to other spots

Postby imtheonlyone » 19 Jun 2008, 16:24

Alright I'm using AJAX Chat 2.0.0 Beta and I was wondering how to move it above my "Forum" on my forums page the "Forum" is where my topics are put and I want it moved up above

Account: Tester
Pass: Tester
Forum Link http://divinedc.wsnw.net/forum/

If anyone could help It would be greatly appreciated.

Been awhile since I coded php btw... lol
imtheonlyone
Crewman
Crewman
 
Posts: 1
Joined: 19 Jun 2008, 12:42
Gender: Male
phpBB Knowledge: 4

Re: [Add-on] AJAX Chat 2.0.0 Beta

Postby Sniper_E » 19 Jun 2008, 19:47

Man, that is some style jimaniac has there. See if this will work for you....

ezzzy, you need to add the chat higher in the page.... look in the index_body.html
Me wrote:FIND
Code: Select all
<!-- INCLUDE breadcrumbs.html -->
AFTER ADD
Code: Select all
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<!-- INCLUDE chat_body.html -->
<!-- ENDIF -->
SAVE


Try this chat_body.html for the X-Treme style....
Spoiler:
Code: Select all
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_GET_CHAT -->
   <!-- IF S_READ or S_ADD -->
      <!-- BEGIN chatrow -->
         <div id="p{chatrow.MESSAGE_ID}">
            <table class="tablebg" style="text-align:left; border-width: 1px 1px 0 1px; border-style: solid; border-color: #00417F;" cellpadding="6" cellspacing="0" width="100%">
            <tr class="<!-- IF chatrow.CLASS is even -->row2<!-- ELSEIF chatrow.CLASS is odd -->row1<!-- ENDIF -->">
               <td width="100%" align="left"><!-- 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_LANG_PATH}/icon_post_delete.gif" /></a> <!-- ENDIF --> <b>{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><img src="{T_IMAGESET_PATH}/{whoisrow.USER_STATUS}.png" class="online_img" /> {whoisrow.USERNAME_FULL}</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">
   <!--
      .box
      {
         width: 100%;
         margin-left: auto;
         margin-right: auto;
      }
      .shouts {
         width: 100%;
         height:300px;
         overflow:auto;
      }
      #chat {
         width: 100%;
         text-align:left;
      }
      #message {
         width: 65%;
      }
      #whois_online{
         vertical-align:text-top;
         text-align:left;
      }
      .online_img {
         vertical-align:middle;
      }
      #act_indicator {
         visibility:hidden;
      }
   -->
   </style>
   <div class="box">
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">
   <tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

      <td><img src="{T_THEME_PATH}/images/box_01.png" width="41" height="48" alt=""></td>

      <td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

      <td background="{T_THEME_PATH}/images/cu.png" width="450" height="48"><h4 align="center">{SITENAME} {L_CHAT_EXPLAIN}</h4></td>

      <td background="{T_THEME_PATH}/images/box_02.png" width="50%" height="48"></td>

      <td><img src="{T_THEME_PATH}/images/box_04.png" width="41" height="48" alt=""></td>
</table>
</tr>

<tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

      <td background="{T_THEME_PATH}/images/box_08.png" width="41" height="100%"></td>
<td>
      <table class="tablebg" cellspacing="1" width="100%">
      <tr>
         <th width="15%" nowrap="nowrap">
         {L_ONLINE_LIST}
         </th>
         <th align="center" width="100%">
      <!-- IF S_USER_LOGGED_IN -->
         <form name="text" id="text" method="post" action="javascript:void(0);" onSubmit="handle_send('add', this)" autocomplete="off">{L_MESSAGE}:
         <input type="text" tabindex="1" name="message" id="message" class="inputbox" size="28" />
         <input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" />
         </form>
      <!-- ENDIF -->
         </th>
      </tr>
      <tr>
         <td class="row1" width="15%" nowrap="nowrap">
            <div class="shouts">
               <div id="whois_online">
               <!-- BEGIN whoisrow -->
                  <div>
                     <img src="{T_IMAGESET_PATH}/{whoisrow.USER_STATUS}.png" class="online_img" /> {whoisrow.USERNAME_FULL}
                  </div>
               <!-- END whoisrow -->
               </div>
            </div>
         </td>
         <td class="row3" style="text-align:left;" height="220">
            <div class="shouts">
               <div id="chat">
               <!-- BEGIN chatrow -->
         <div id="p{chatrow.MESSAGE_ID}">
            <table class="tablebg" style="text-align:left; border-width: 1px 1px 0 1px; border-style: solid; border-color: #00417F;" cellpadding="6" cellspacing="0" width="100%">
                  <!-- IF chatrow.CLASS is even --><tr class="row2"><!-- ELSE --><tr class="row1"><!-- ENDIF -->
                        <td align="left">
                     <!-- 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_LANG_PATH}/icon_post_delete.gif" /></a>
                     <!-- ENDIF -->
                        <b>{chatrow.USERNAME_FULL}</b> « {chatrow.TIME} » &nbsp; <span class="postbody">{chatrow.MESSAGE}</span>
                        </td>
                     </tr>
                     </table>
                  </div>
               <!-- END chatrow -->
               </div>
            </div>
         </td>
      </tr>
      </table>
</td>
      <td background="{T_THEME_PATH}/images/box_09.png" width="41" height="100%"></td>
</table>
   </tr>
   <tr>
<table id="bx" width="100%" border="0" cellpadding="0" cellspacing="0">

      <td><img src="{T_THEME_PATH}/images/box_10.png" width="41" height="46" alt=""></td>
      <td background="{T_THEME_PATH}/images/box_11.png" width="100%" height="46"><div style="float: left;">&nbsp;<img src="{T_THEME_PATH}/images/icon_mini_chat.png"> <a href="http://startrekguide.com/community/viewtopic.php?p=16364#p16364"><strong>AJAX Chat</strong></a>&nbsp;&copy; 2007 <strong style="color: #7B95B2;">StarTrek</strong><strong style="color: #D98303;">Guide</strong></div><div style="float: right;"><img src="{T_IMAGESET_PATH}/act_indicator.gif" id="act_indicator" />&nbsp;&nbsp;<strong>{L_UPDATES} <span id="update_seconds"> {DELAY} </span> {L_UNIT}</strong> &nbsp;&nbsp;</div></td>
      <td><img src="{T_THEME_PATH}/images/box_13.png" width="41" height="46" alt=""></td>
</table>
   </div>
<!-- IF S_CHAT -->
<!-- INCLUDE overall_footer.html -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->
Then Refresh your templates.



strahd1970, that is a prosilver template. Use it, take that <br /> out you added and put that <br /> after the last </div> like this....
Code: Select all
         </div>
         <span class="corners-bottom"><span></span></span>
      </div>
   </div>
   <br />
   
   <!-- IF S_CHAT -->
      <!-- INCLUDE overall_footer.html -->
   <!-- ENDIF -->
<!-- ENDIF -->
It's at the bottom of the page. If it's not working like you say, show a screen shot or something.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6979
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [Add-on] AJAX Chat 2.0.0 Beta

Postby NMI » 19 Jun 2008, 20:17

Does Ajax chat require the same changes to Borg-Invasion as it does for Glacier?
Image
Image
Image
Image
The price of freedom is eternal vigilance. - Thomas Jefferson
User avatar
NMI    
Supporter
Supporter
 
Posts: 110
Joined: 19 Oct 2007, 14:15
Location: Illinois
Favorite Team: Chicago Bears
Gender: Male
phpBB Knowledge: 5

PreviousNext

Return to phpBB3 Styling Assistance

Who is online

Users browsing this forum: No registered users and 4 guests