Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - Deleta All PM"s | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Xeolord

- B l u e s -
Power Metal > All
Level: 81

Posts: 144/3418
EXP: 4884196
For next: 108653

Since: 03-15-04
From: Yeah

Since last post: 15 hours
Last activity: 15 hours
Posted on 03-16-04 08:31 AM Link | Quote
I've seen this at some boards, but just never attempted to figure it out ..

Simply, how would I come about in making a Delete All PM's action in a users PM box?
FreeDOS

Lava Lotus
Wannabe-Mod :<
Level: 59

Posts: 75/1657
EXP: 1648646
For next: 24482

Since: 03-15-04
From: Seattle

Since last post: 6 hours
Last activity: 4 hours
Posted on 03-16-04 08:52 AM Link | Quote
I'm doing this all here in this post box... so I won't guarentee anything...

Put this into some file, do it in sendprivate.php, where the existing delete function is...make sure you've set up the link and stuff...
  if($action=="deleteall" and $msg[userto]==$loguserid){
mysql_query("DELETE FROM privatemsg WHERE userto = $loguserid");
print "
$tccell1 Thank you, ".$users[$loguserid][name].", for deleting the message.

".redirect("private.php","return to the private message box",0).$tblend;
}
Xeolord

- B l u e s -
Power Metal > All
Level: 81

Posts: 156/3418
EXP: 4884196
For next: 108653

Since: 03-15-04
From: Yeah

Since last post: 15 hours
Last activity: 15 hours
Posted on 03-16-04 09:19 AM Link | Quote
Originally posted by Mike
I'm doing this all here in this post box... so I won't guarentee anything...

Put this into some file, do it in sendprivate.php, where the existing delete function is...make sure you've set up the link and stuff...
  if($action=="deleteall" and $msg[userto]==$loguserid){
mysql_query("DELETE FROM privatemsg WHERE userto = $loguserid");
print "
$tccell1 Thank you, ".$users[$loguserid][name].", for deleting the message.

".redirect("private.php","return to the private message box",0).$tblend;
}



That is the exact code for the regular delete button.
FreeDOS

Lava Lotus
Wannabe-Mod :<
Level: 59

Posts: 77/1657
EXP: 1648646
For next: 24482

Since: 03-15-04
From: Seattle

Since last post: 6 hours
Last activity: 4 hours
Posted on 03-16-04 09:33 AM Link | Quote
It's changed to delete all PMs for the user...
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - Deleta All PM"s | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.009 seconds.