Last 20 Messages To Chat Page

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

9 replies · 662 views · started 18 years ago · 1 min read

5 participants
amylee Principal · 1,092 posts #2

they allready get deleted from databse by the script automatically by default unless you messed with the coding

WhiteWarrior Principal · 1,419 posts #4

Oh well, i think everybody is passed caring about what you want as all you do is ASK ASK ASK... why dont you publish your "modded by everyone" wapdesire script?.. then maybe we might just help you.

metulj Super moderator Principal · 1,726 posts #6

my last version modded is italian coding... External image (may be gone) and I not have finish...

so post your italian moded version External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

sweetangel Lead · 885 posts #7

I have coded this:

addtochat($uid, $rid); 
$timeto = 300;           
$timenw = time();           
$timeout = $timenw-$timeto; 
$tot_records = mysql_query("SELECT COUNT(*) AS totale FROM ibwf_chat") or die(mysql_error());
$row = mysql_fetch_assoc($tot_records);
if ($row['totale'] > 20) // if more 20message deleted 
{ 
    $deleted = mysql_query("DELETE FROM ibwf_chat WHERE timesent<".$timeout.""); 
}           
$rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id='".$rid."'"));           
$rname = $rooms[1];           
$nick = getnick_sid($sid);

if like my post click:

External image (may be gone)

inet Senior · 264 posts #8

hi firends...any1 say how I can not delete automatically last 20messages send to chat page at wapdesire script??? tnks a lot 4 help me External image (may be gone)

just extend the time.. see the time..

make time 100000000000000000000000000000000

that can help..

i just tried a while ago and it works..

usually the time in the chat script is 300

see

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.

metulj Super moderator Principal · 1,726 posts #10

my code not work...any1 say why???External image (may be gone)

you mind to stop wasting our time? thank you! closed

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

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