You are hereForums / General Discussion / Site topics / PM Upgrade - Clean your inbox!

PM Upgrade - Clean your inbox!


Rob's picture

By Rob - Posted on 07 June 2009

I'm thinking of upgrading the PM module to a newer (and naturally better) version. It changes the way things work to more of a 'chat' model than being similar to email as now.

Trouble is that as this is completely different model there is no upgrade path and will have to clear (delete) all messages in the system.

I notice there's 137 unread messages lying around but over 14,000 in total. NB: privacy advocates can chill out: 'select newmsg, count(*) from privatemsg group by newmsg;' doesn't exactly tell you anything but counts Sticking out tongue

Any objections? I would archive the old table of course and be able to pull out anyone's mailbox and email it to them on request.

LadyToast's picture

I do refer to my inbox from time to time, but I realise it would be painful to archive for every user. Is it possible to provide instructions on how we could archive ourselves? Even a flat file as a single message in the new INBOX would be of use.

pikey's picture

Once you read a PM its old news, bty, i never deleted any until just now....all empty and ready for Robs upgrade.

Pikey

-------------------------------------------
The Liver is Evil and must be punished Sticking out tongue
-------------------------------------------

Rob's picture

Hmmm... Well, officially it says there's no upgrade path, but then I poke around and see:

http://drupal.org/node/284093

Will mess about with this in dev and see what it does and let you know.

GAZZA's picture

hundreds of the bloody things! pah! dead wood anyway! Eye-wink

PIVOT MACH 5's picture

All info into one email and posted to myself. so easy. having said that i didnt have hundreds like Gazza!

Bernd's picture

done, but not hundreds, Gazza u must have a lot of friends!!!!
Bernd

Justin's picture

lazy programmers write a conversion script. Sticking out tongue

Flynny's picture

They'll spend 30mins writing a script to do a one off job in 10mins that would have otherwise taken 20min... Smiling

Rob's picture

Bl00dy managers that don't understand the concept of changes involved means data conversion isn't an option.

Justin's picture

phew, all is right with the world!

Rob's picture

Hmmmm... this is interesting.

I just upgraded to the latest version of the PM module on the test system and it seems to work fine. So I then put it live... let me know (maybe via email Eye-wink) if you see any funnies.

More to the point this is not the threaded conversation thingo - seems that will be coming in D6 (read: major site upgrade).

So anyhow, bottom line is you can ignore this thread for a while. Oops Laughing out loud

LadyToast's picture

Looking good Rob. Liking the avatars too.

Rob's picture

Yeah - we should have them on the forum posts too, to be honest. When I've done the D6 upgrade, eh?

Buck's picture

Is the email notification for PM's working? I just got a PM and didn't get an email?!

Rob's picture

It's meant to mail you daily if you haven't been on the site to see the usual notification. Erm... I think, or at least that's what the other version did. Ie. if you are regularly on the site it won't bother mailing you.

Buck's picture

previously I swear I got emails notifications immediately.

Brian's picture

I did. As soon as a message hit my inbox I got an email.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Best Mountain Bike