Welcome, Guest. Please Login or Register.
November 17, 2024, 08:16:36 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Deleting IMs? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Deleting IMs?  (Read 433 times)
^Maudit^
Noobie
*
Posts: 11


I'm a llama!

Deleting IMs?
« on: April 11, 2003, 08:30:58 AM »
Reply with quote

Is there any way to occasionally delete ALL the old Istant Messages of users? I noticed that users usally don't delete them.
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Deleting IMs?
« Reply #1 on: April 11, 2003, 02:45:22 PM »
Reply with quote

Not without using phpMyAdmin, no.
Logged

groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:Deleting IMs?
« Reply #2 on: April 12, 2003, 04:53:05 AM »
Reply with quote

run this query.. "truncate {db_prefix}instant_messages;"

replace {db_prefix} with your actualy prefix.
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Deleting IMs?
« Reply #3 on: April 12, 2003, 05:26:09 AM »
Reply with quote

Quote from: groundup on April 12, 2003, 04:53:05 AM
run this query.. "truncate {db_prefix}instant_messages;"

replace {db_prefix} with your actualy prefix.

Note that this will delete ALL the instant messages.

You may want this:

DELETE FROM yabbse_instant_messages
WHERE msgtime < UNIX_TIMESTAMP('YYYY-MM-DD');

Where YYYY-MM-DD is the date you want to be 'old'.

-[Unknown]
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:Deleting IMs?
« Reply #4 on: April 12, 2003, 05:48:55 AM »
Reply with quote

woops, I briefly read that post and completely missed the part about "old". Sorry.
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Deleting IMs? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.070 seconds with 20 queries.