Help For Xhtml_wml_chat_script2

Started on the old forum in November 2008 · view the original in the archive · old links redirect here

16 replies · 1,282 views · started 18 years ago · 1 min read

6 participants
honkytonkman Senior · 252 posts #1

i need help to change some things on wapdesire xhtml_wml_chat_script2..

on index.php i'd like to make appear on echo "Most Users Online: $mols[1] Members on $mols[0] ";

date ,for exemple,as : 10-04-2008

instead that english days words: saturday 21,etc.

on chatroooms is it possible to keep inside chat text for long time? ..it disappear when nodody is there

the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com

rukiya Lead · 569 posts #2
  1. Most uesrs online is in the script already.find it

QUOTE

date ,for exemple,as : 10-04-2008

Thats a basic

<?php
echo date("l d")."
";
echo date("d-m-Y");
?>

Yes , it is posible , it does not dissappear when no chatter is in the chatroom it dissappears after 5 mins of the texts appearing. But I wont say how to prevent the text disappearing because its just a basic.

djdevil89 Senior · 287 posts #3

Find this in chat.php and change it how u want it

$timeto = 300;
foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}
djdevil89 Senior · 287 posts #8
if (trim($message) != "strtotime()")
foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}
honkytonkman Senior · 252 posts #9

i done some changes to keep open users chatrooms for 48 hours..changin' values in chat.php and core.php . the changes work , and rooms stand there..but text messages disappears the same when anyone goes out.. 😀

on xhtml_wml_chat script2 i see a bad function on inbox messages..sometimes the advice appears but no new inbox are on it..and it's impossible to wipe the inbox alert in rooms and topics..this bug is known?

i put also if (trim($message) != "strtotime()") but no date appears close the nick/message ..but now at avery page refresh the nick /message is duplicated!!.. i'm a bad one but wml_xhtml_script2 ..lavalair or wapdesire,call it as ya want, IS A BUGS CONVENTION..

the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com

djdevil89 Senior · 287 posts #10

QUOTE (honkytonkman @ Nov 12 2008, 02:05 PM) <{POST_SNAPBACK}>

i done some changes to keep open users chatrooms for 48 hours..changin' values in chat.php and core.php . the changes work , and rooms stand there..but text messages disappears the same when anyone goes out.. 😀

on xhtml_wml_chat script2 i see a bad function on inbox messages..sometimes the advice appears but no new inbox are on it..and it's impossible to wipe the inbox alert in rooms and topics..this bug is known?

i put also if (trim($message) != "strtotime()") but no date appears close the nick/message ..but now at avery page refresh the nick /message is duplicated!!.. i'm a bad one but wml_xhtml_script2 ..lavalair or wapdesire,call it as ya want, IS A BUGS CONVENTION..

Well i am gonna finish my version of lavalair soon if you want u can get this script then and it has no bugs

foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}
honkytonkman Senior · 252 posts #11

well. i hope so.. meanwhile i have fixed the problem for to keep chat messages in the rooms..simply changin' a value in the core.php page.. i've been lucky i thought !.. now ,putting on it numbers in seconds i can keep messages inside the rooms created by owner as i want..24 ,48 hours etc.

the great bug on this version is the "ghost" inbox alert that appears on rooms and topics ,without no new inbox .. impossible to wipe the alert..only way to do it is to delate anything in privates ibf on sql database. i see that this ghost inbox alert appears when you make a post in forums.. another change i've done by myself is a automatic logout (after 9 seconds) in logout.php . now i'm still fighting for the data close nickname in chatrooms.. 🙄

the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com

djdevil89 Senior · 287 posts #12

QUOTE (honkytonkman @ Nov 14 2008, 05:37 PM) <{POST_SNAPBACK}>

well. i hope so.. meanwhile i have fixed the problem for to keep chat messages in the rooms..simply changin' a value in the core.php page.. i've been lucky i thought !.. now ,putting on it numbers in seconds i can keep messages inside the rooms created by owner as i want..24 ,48 hours etc.

the great bug on this version is the "ghost" inbox alert that appears on rooms and topics ,without no new inbox .. impossible to wipe the alert..only way to do it is to delate anything in privates ibf on sql database. i see that this ghost inbox alert appears when you make a post in forums.. another change i've done by myself is a automatic logout (after 9 seconds) in logout.php . now i'm still fighting for the data close nickname in chatrooms.. 🙄

go to cpanel and turn auto pm off then evrything should be fine

foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}
honkytonkman Senior · 252 posts #13

QUOTE (drwap @ Nov 14 2008, 05:49 PM) <{POST_SNAPBACK}>

go to cpanel and turn auto pm off then evrything should be fine

..i will try it..maybe it must be the solution..why i did'nt think me? ..thanks a lot.. one thing..in your updated version it would be a original idea to put advise messages when users enter and exit from chat rooms:

johndoe enters in (chatroomname) at 11.12

also original thing would be a symbol to end of the staff nicknames.. if johndoe is owner:

johndoe_@

if he's mod

johndoe_(M)

in my italian version i have done a random gif image that shows close the inbox alert. it likes pretty.. i am not a real good in php scripts but some little thing i can do..

the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com

Leviathan73 Senior · 260 posts #14

Honky what would be the value that you changed the file core.php? to remain the messages in chat?

Ponick Developer · 216 posts #15

drwap wrote: Find this in chat.php and change it how u want it

$timeto = 300;

i have changed it to $timeto = 9999999999999999999999999999999999999999; but its still not working ! Plz help me

/* I don't know everything hehe */

Find me on facebook

Ponick Developer · 216 posts #16

honkytonkman wrote: QUOTE (drwap @ Nov 14 2008, 05:49 PM) <{POST_SNAPBACK}> ..i will try it..maybe it must be the solution..why i did'nt think me? ..thanks a lot.. one thing..in your updated version it would be a original idea to put advise messages when users enter and exit from chat rooms: johndoe enters in (chatroomname) at 11.12 also original thing would be a symbol to end of the staff nicknames.. if johndoe is owner: johndoe_@ if he's mod johndoe_(M) in my italian version i have done a random gif image that shows close the inbox alert. it likes pretty.. i am not a real good in php scripts but some little thing i can do..

please give me the function code what u have added in ur chat ro0m script . I trayed to add thiz function in my script many times but i can . . Plz help me

/* I don't know everything hehe */

Find me on facebook

kiLLeR-eyEd_14 Senior · 382 posts #17

honkytonkman wrote: i need help to change some things on wapdesire xhtml_wml_chat_script2..

on index.php i'd like to make appear on echo "Most Users Online: $mols[1] Members on $mols[0] ";

date ,for exemple,as : 10-04-2008

instead that english days words: saturday 21,etc.

on chatroooms is it possible to keep inside chat text for long time? ..it disappear when nodody is there

find function cleardata() at core.php..remove the codes of deleting chat msgs..Also in chat.php there's a timeout there..just look for it..Analyze

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close