FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Delete All messages by this user doesn't work
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Delete All messages by this user doesn't work [message #23905] Tue, 05 April 2005 05:05 Go to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Hi,

If you select "Delete All messages by this user" from the User Adminstration System, you always get 0 topics and 0 messages back. Changing "Topics with last post made" to a larger value doesn't help either.

You are about to delete 0 topics containing 0 messages, which were posted before posted by "naudefj"from all forums (what a strange message - looks like the time interval is missing!)

Best regards.

Frank
Re: Delete All messages by this user doesn't work [message #23906 is a reply to message #23905] Tue, 05 April 2005 10:54 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
More info - the above problem only occurs when a date earlier than 36 years ago is selected.

Also, the further you go back in time, the fewer messages are selected for deletion.

Best Regards.

Frank
Re: Delete All messages by this user doesn't work [message #23909 is a reply to message #23906] Tue, 05 April 2005 13:58 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
No bug here.

1) When you go to a dat before 36 years you get a date <1970, unix timestamps do not support dates earlier then that.

2) When you want to delete all messages by a user you need to specify the SMALLEST possible value Ex. 0.00001. Since the logic will only mark messages for deletion when the message post date is older then the current time - specified value * date unit.


FUDforum Core Developer
Re: Delete All messages by this user doesn't work [message #23928 is a reply to message #23909] Tue, 05 April 2005 18:44 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Apologies for the false alarm. I was under the impression that an earlier date would be better. Nevertheless, if you do find a spare moment, consider the following:

1. Update the documentation to describe the "Delete All messages by this user" functionality.

2. Modify the script to fix dates earlier than 1970 to 1970.

Best regards.

Frank
Re: Delete All messages by this user doesn't work [message #23953 is a reply to message #23928] Wed, 06 April 2005 03:09 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Date checks were added and comments put on prunning forms to clarify operation.

FUDforum Core Developer
Re: Delete All messages by this user doesn't work [message #23955 is a reply to message #23953] Wed, 06 April 2005 05:14 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Thank you so much!

You may also want to mention this function here - http://fudforum.org/doc/d/manual.html#admin.user_manager

Best regards.

Frank
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: nntp posting problem
Next Topic: 2.3.8 - File extension filter
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 15:03:43 GMT 2024

Total time taken to generate the page: 0.02404 seconds