Chat/shoutbox text disapear

Started on the old forum in January 2011 · view the original in the archive · old links redirect here

5 replies · 436 views · started 15 years ago · 1 min read

4 participants
Wintch Developer · 68 posts #1

Plz guys how can i make my shoutbox/chat text to disappear at a certain minute, eg 10min Thanx

i0nutzxp Developer · 150 posts #2

put in core.php

  $timeout = 10*60; // 10*60*60 = 10 hours  - 10*60 = 10 min 
  $exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<'".(time()-$timeout)."'");
  $exec = mysql_query("DELETE FROM lib3rtymrc_shouts WHERE shtime<'".(time()-$timeout)."'");
<?php unlink('World/Europe/Romania.country'); ?>
Wintch Developer · 68 posts #3

Tanx guy but am using uloki script... Nt lavaire

something else Fellow · 2,296 posts #4

you got the codes you need above all you need to do is adjust the table name and field names for uloki 🙂

frostymarvelous Senior · 266 posts #5

Sometimes I wonder. Smh

Perfection comes at a cost

I accept liberty!

Wintch Developer · 68 posts #6

Tanx man, d0ne

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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