Jump to content

Recommended Posts

I have made a PM system which works great with a 100,000 user database

However, I was wondering how to approach a 'mass PM' feature for admin use

THe way the PM system works is a message row is created when a message is sent, the recipients ID is in the TO field so anything TO id's that match theirs are displayed

How would I go about sending a message to every user without sending out 100,000 of the same message

I did think of an idea where as any message from user 'admin' would be displayed, which would work

However, if one person deleted that it would delete from all. The only way would be to have it un delete able and I dont want that

Any ideas/thoughts on combatting this?
Link to comment
https://forums.phpfreaks.com/topic/32694-mass-pm/
Share on other sites

The only way around this is to either send one to everyone or have a seperate table for administrative PMs that notes if they've read that specific PM or not.  If they've read it, just set a flag and check that flag when showing their inbox.

The other way to do it would be to use announcements on the actual board rather than PMs.  Sending a PM or an email to EVERY member on a 100,000 member board is going to take an enormous amount of time.  I tried to do it on this board once (<50,000 members) and I stopped it when it topped 8 hours.  It wasn't halfway through the member list yet.
Link to comment
https://forums.phpfreaks.com/topic/32694-mass-pm/#findComment-152238
Share on other sites

tricky...
the more i think about it, the worse it becomes. I suppose the best thing would be to auto-delete the message... have a timestamp field in the member database which can be updated by a click button to the current timestamp, then you'll not need to delete the admin PM. you can send it to a bogus user account and allow everyone to check the bogus account along with their own, but only if the message was sent before the timestamp field was updated.

WOW I'm good! *lol*
Link to comment
https://forums.phpfreaks.com/topic/32694-mass-pm/#findComment-152274
Share on other sites

[quote]recipients ID is in the TO field so anything TO id's that match theirs are displayed[/quote]

When the recipiects search for rows with ID's matching there could they also look for anyrow with the letter A in the to field?  or a second unique number that all users look for? + add a line into the script for there PM page stopping the PM from being deleted?
Link to comment
https://forums.phpfreaks.com/topic/32694-mass-pm/#findComment-152283
Share on other sites

[quote author=gerkintrigg link=topic=120826.msg496178#msg496178 date=1167841202]
tricky...
the more i think about it, the worse it becomes. I suppose the best thing would be to auto-delete the message... have a timestamp field in the member database which can be updated by a click button to the current timestamp, then you'll not need to delete the admin PM. you can send it to a bogus user account and allow everyone to check the bogus account along with their own, but only if the message was sent before the timestamp field was updated.

WOW I'm good! *lol*
[/quote]
Yeh thats what I have come up with

May be best to not allow them to delete but have the message auto deleted after 10 days or something

Are any of you familiar with faceparty?

They have admin message and you can delete them, they must have over 1 million members..

Would love to know how they tackle this
Link to comment
https://forums.phpfreaks.com/topic/32694-mass-pm/#findComment-152956
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.