Discutii despre tot ce nu se incadreaza in celelalte categorii.
Moderators: Moderatori ajutatori, Moderatori
-
YANKEE
- Membru, skill +1
- Posts: 478
- Joined: 15 Dec 2007, 15:16
- Detinator Steam: Da
- SteamID: pm si til dau
- Reputatie: Fost detinator GG.eXtreamCS.com
Membru Club eXtreamCS (11 mar)
Fost Moderator
Nume anterior : yankee
- Has thanked: 141 times
- Been thanked: 25 times
22 Jun 2013, 13:00
Cum adaug avatar in ajax chat?
-
Haddaway
- Membru, skill +1
- Posts: 279
- Joined: 04 Nov 2012, 23:28
- Detinator Steam: Da
- CS Status: cs.capytala.ro
- Detinator server CS: cs.capytala.ro
- SteamID: drunxstefan
- Has thanked: 3 times
- Been thanked: 13 times
-
Contact:
22 Jun 2013, 13:09
e greu.. trebuie sa folosesti functions_display in ajax chat.. e mai grelut.. vezi un chat care are deja instalat.
***************************************************************************************
********************************* Gazduire web Profesionala **********************************
********************************* http://www.dynamicspace.ro ************************************
***************************************************************************************
-
ZuZu @
- Membru, skill +1
- Posts: 102
- Joined: 20 Jun 2013, 22:29
- Detinator Steam: Da
- CS Status: ONLINE
- Detinator server CS: WAR.INDUNGI.RO
- SteamID: PM
- Location: Tenerife
- Been thanked: 18 times
-
Contact:
22 Jun 2013, 15:16
Cât dai dacă te ajut eu ?
-
YANKEE
- Membru, skill +1
- Posts: 478
- Joined: 15 Dec 2007, 15:16
- Detinator Steam: Da
- SteamID: pm si til dau
- Reputatie: Fost detinator GG.eXtreamCS.com
Membru Club eXtreamCS (11 mar)
Fost Moderator
Nume anterior : yankee
- Has thanked: 141 times
- Been thanked: 25 times
-
Mădălin
- Administrator
- Posts: 5295
- Joined: 06 Mar 2013, 21:40
- Detinator Steam: Nu
- Reputatie: Administrator
Fost manager cs.extream.ro
Web designer
Administratorul anului 2023
- Has thanked: 45 times
- Been thanked: 310 times
-
Contact:
22 Jun 2013, 19:19
ZuZu @ wrote:Cât dai dacă te ajut eu ?
Cat da? Gratis nu poti? Infine,... romanii.
Te ajutam eu daca mai aveai rabdare pana deseara.. ca acum plec.
-
YANKEE
- Membru, skill +1
- Posts: 478
- Joined: 15 Dec 2007, 15:16
- Detinator Steam: Da
- SteamID: pm si til dau
- Reputatie: Fost detinator GG.eXtreamCS.com
Membru Club eXtreamCS (11 mar)
Fost Moderator
Nume anterior : yankee
- Has thanked: 141 times
- Been thanked: 25 times
22 Jun 2013, 20:17
dreamsy wrote:ZuZu @ wrote:Cât dai dacă te ajut eu ?
Cat da? Gratis nu poti? Infine,... romanii.
Te ajutam eu daca mai aveai rabdare pana deseara.. ca acum plec.
Ok.
-
Kryme
- Membru, skill +4
- Posts: 1922
- Joined: 31 Dec 2008, 12:45
- Detinator Steam: Da
- SteamID: PM si il dau.
- Reputatie: Ban 1 luna
Ban 2 luni
- Location: Zalău
- Has thanked: 132 times
- Been thanked: 69 times
24 Jun 2013, 15:14
Instaleaza mChat,e mult mai bun decat ajax chat,si e cu AVATAR pus + ai permisiuni daca vrei poti pune ca cineva sa nu poata scrie..etc,ai multe optiuni.
-
YANKEE
- Membru, skill +1
- Posts: 478
- Joined: 15 Dec 2007, 15:16
- Detinator Steam: Da
- SteamID: pm si til dau
- Reputatie: Fost detinator GG.eXtreamCS.com
Membru Club eXtreamCS (11 mar)
Fost Moderator
Nume anterior : yankee
- Has thanked: 141 times
- Been thanked: 25 times
-
pisoi.
- Fost moderator
- Posts: 961
- Joined: 29 Jul 2012, 02:29
- Detinator Steam: Da
- Detinator server CS: cs.lafraguri.ro
- SteamID: pisoi-ucs
- Reputatie: Fost moderator
Nume anterior : pisoino1
- Location: Targoviste.
- Has thanked: 93 times
- Been thanked: 31 times
-
Contact:
28 Jun 2013, 16:11
Poftim
- | Afiseaza codul
[code]<!-- IF S_GET_CHAT -->
<!-- IF S_READ or S_ADD -->
<!-- BEGIN chatrow -->
<div id="p{chatrow.MESSAGE_ID}">
<table class="tablebg" cellpadding="6" cellspacing="0" width="100%">
<tr class="row{chatrow.CLASS}">
<td width="25px">
<!-- IF chatrow.USER_AVATAR -->{chatrow.USER_AVATAR}<!-- ENDIF -->
</td>
<td>
<!-- IF U_ACP or U_MCP --><a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')"> [x] </a> <!-- ENDIF -->
<b class="postauthor">{chatrow.USERNAME_FULL}</b> « {chatrow.TIME} » <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;
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 class="tablebg" cellspacing="1" width="100%">
<tr>
<th align="center" colspan="2">{SITENAME} CHAT !</th>
</tr>
<!-- IF S_USER_LOGGED_IN -->
<tr>
<td align="center" class="cat nav" width="85%">
<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="button1" type="submit" name="submit" value="{L_SUBMIT}" />
</form>
</td>
<td align="center" class="cat nav" width="15%">{L_ONLINE_LIST}</td>
<!-- ENDIF -->
<tr>
<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" cellpadding="6" cellspacing="0" width="100%">
<tr class="row{chatrow.CLASS}">
<td width="25px">
<!-- IF chatrow.USER_AVATAR -->{chatrow.USER_AVATAR}<!-- ENDIF -->
</td>
<td>
<!-- IF U_ACP or U_MCP -->
<a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')">
[x]
</a>
<!-- ENDIF -->
<b class="postauthor">{chatrow.USERNAME_FULL}</b> « {chatrow.TIME} » <span class="postbody">{chatrow.MESSAGE}</span>
</td>
</tr>
</table>
</div>
<!-- END chatrow -->
</div>
</div>
</td>
<td class="row1" 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>
</tr>
<tr>
<td class="cat" colspan="2" align="center">
{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>
</td>
</tr>
</table>
</div>
<!-- IF S_CHAT -->
<!-- INCLUDE overall_footer.html -->
<!-- ENDIF -->
<!-- ENDIF -->[/code]
-
YANKEE
- Membru, skill +1
- Posts: 478
- Joined: 15 Dec 2007, 15:16
- Detinator Steam: Da
- SteamID: pm si til dau
- Reputatie: Fost detinator GG.eXtreamCS.com
Membru Club eXtreamCS (11 mar)
Fost Moderator
Nume anterior : yankee
- Has thanked: 141 times
- Been thanked: 25 times
28 Jun 2013, 19:07
Ce fac cu asta unde o pun?
-
pisoi.
- Fost moderator
- Posts: 961
- Joined: 29 Jul 2012, 02:29
- Detinator Steam: Da
- Detinator server CS: cs.lafraguri.ro
- SteamID: pisoi-ucs
- Reputatie: Fost moderator
Nume anterior : pisoino1
- Location: Targoviste.
- Has thanked: 93 times
- Been thanked: 31 times
-
Contact:
28 Jun 2013, 20:21
YANKEE wrote:Ce fac cu asta unde o pun?
chat_body.html
-
Mădălin
- Administrator
- Posts: 5295
- Joined: 06 Mar 2013, 21:40
- Detinator Steam: Nu
- Reputatie: Administrator
Fost manager cs.extream.ro
Web designer
Administratorul anului 2023
- Has thanked: 45 times
- Been thanked: 310 times
-
Contact:
29 Jun 2013, 00:49
Omule, ce i-ai dat tu acolo e doar o parte. Mai trebuie sa editezi si chat.php & shout.php ..
Am sa iti fac maine un tutorial.