Chat History Msg

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

13 replies · 1,136 views · started 18 years ago · 1 min read

6 participants
sweetangel Lead · 885 posts #1

I wont add this function to my wapdesire version.

I wont view 20 msg at page... and link 4 view the prev msg and next...

I wont reset msg to all rooms at 24.00 automatic...

any1 have idea to coded this ??? 😉

if like my post click:

External image (may be gone)

amylee Principal · 1,092 posts #2

🙄 just extend the amount of time messages from chatrooms get deleted from the database

inet Senior · 264 posts #4

🙄 just extend the amount of time messages from chatrooms get deleted from the database

😮=good idea

😮 just extend the amount of time messages from chatrooms

"or you can convert the shoutbox to a chatbox.. thats it.. "

😮 an idea from space

space dynamite my friend from other forum lol

Services

Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

Below is a list of services I offer:

Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

Rates

General consulting – My current hourly rate is $100 / hour. Custom Wapsite Community - My current rate is $500 / Wap Community Development.

ionutxp Developer · 137 posts #6
///////////////////////////////////////Add to chat

function addtochat($uid, $rid)
{
  $timeto = 350;
  $timenw = time();
  $timeout = $timenw - $timeto;
  $exec = mysql_query("DELETE FROM lib3rtymrc_chonline WHERE lton<'".$timeout."'");
  $res = mysql_query("INSERT INTO lib3rtymrc_chonline SET lton='".time()."', uid='".$uid."', rid='".$rid."'");
  if(!$res)
  {
    mysql_query("UPDATE lib3rtymrc_chonline SET lton='".time()."', rid='".$rid."' WHERE uid='".$uid."'");
  }
}

how i do to remain 24 h the chat message in chatbox ..

Hate romains that take codes from here and tell to all that they had made that External image (may be gone)

sweetangel Lead · 885 posts #7

but I edit this??

function addtochat($uid, $rid)
{
  $timeto = 120;
  $timenw = time();
  $timeout = $timenw - $timeto;
  $exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<'".$timeout."'");
  $res = mysql_query("INSERT INTO ibwf_chonline SET lton='".time()."', uid='".$uid."', rid='".$rid."'");
  if(!$res)
  {
    mysql_query("UPDATE ibwf_chonline SET lton='".time()."', rid='".$rid."' WHERE uid='".$uid."'");
  }
}

and how I setting time delete at 24.00 ????

if like my post click:

External image (may be gone)

amylee Principal · 1,092 posts #8

you want to keep the messages in the database at all times yet you are asking how to delete them at midnight everyday pfft... you make no sense

honkytonkman Senior · 252 posts #10

QUOTE (ionutxp @ Sep 15 2008, 04:39 PM) <{POST_SNAPBACK}>

:( plz help me

i'm gonna try this..but i'm not sure if messages in chat will remain 24 h.. CODEfunction addtochat($uid, $rid) { $timeto = 86400; $timenw = time(); $timeout = $timenw - $timeto; $exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<'".$timeout."'"); $res = mysql_query("INSERT INTO ibwf_chonline SET lton='".time()."', uid='".$uid."', rid='".$rid."'"); if(!$res) { mysql_query("UPDATE ibwf_chonline SET lton='".time()."', rid='".$rid."' WHERE uid='".$uid."'"); } }

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

honkytonkman Senior · 252 posts #11

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

i'm gonna try this..but i'm not sure if messages in chat will remain 24 h.. CODE function addtochat($uid, $rid) { $timeto = 86400; $timenw = time(); $timeout = $timenw - $timeto; $exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<'".$timeout."'"); $res = mysql_query("INSERT INTO ibwf_chonline SET lton='".time()."', uid='".$uid."', rid='".$rid."'"); if(!$res) { mysql_query("UPDATE ibwf_chonline SET lton='".time()."', rid='".$rid."' WHERE uid='".$uid."'"); } }

yess... 🙄 ..like i supposed..it don't save messages.. as nver said..sorry.. 😎

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

inet Senior · 264 posts #12

QUOTE (honkytonkman @ Nov 12 2008, 09:49 AM) <{POST_SNAPBACK}>

yess... 🙄 ..like i supposed..it don't save messages.. as nver said..sorry.. 😎

compare chat.php and core.php see the deletion time for the chat msg??? you see... at the core delete the chat msg in how many seconds? same as in the chat.php hehhehehehe just extend the time of deletion...

sorry for bad english i'm more expressive in Filipino tagalog ehehehehehe

Services

Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

Below is a list of services I offer:

Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

Rates

General consulting – My current hourly rate is $100 / hour. Custom Wapsite Community - My current rate is $500 / Wap Community Development.

honkytonkman Senior · 252 posts #13

QUOTE (inet @ Nov 23 2008, 08:28 AM) <{POST_SNAPBACK}>

compare chat.php and core.php see the deletion time for the chat msg??? you see... at the core delete the chat msg in how many seconds? same as in the chat.php hehhehehehe just extend the time of deletion...

sorry for bad english i'm more expressive in Filipino tagalog ehehehehehe

true..now it works..and messages are saved for time i want..

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

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