Problem with Mass PM

Makes it posble for admin to specify witch type of users may mass PM any usergroup
Also PM users can be a list of usernames, so PM can be sendt to any number of users

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Problem with Mass PM

Postby trackpads on Fri 06. Jun, 2003 05:51

Hey,

This is a grat mod but when I try to send it to all users it quites after the first couple hundred.

Any way to prevent this?

Thanks!

-Jason
trackpads
Poster
Poster
 
Posts: 2
Joined: Fri 06. Jun, 2003 05:47

Postby trackpads on Fri 13. Jun, 2003 04:35

help? please!
trackpads
Poster
Poster
 
Posts: 2
Joined: Fri 06. Jun, 2003 05:47

Postby ChristianR on Fri 20. Aug, 2004 17:25

anyone??
ChristianR
Poster
Poster
 
Posts: 47
Joined: Sun 18. Jan, 2004 14:17

Postby ChristianR on Tue 21. Sep, 2004 11:47

help?
ChristianR
Poster
Poster
 
Posts: 47
Joined: Sun 18. Jan, 2004 14:17

Postby ChristianR on Sun 31. Oct, 2004 18:49

help?
ChristianR
Poster
Poster
 
Posts: 47
Joined: Sun 18. Jan, 2004 14:17

Postby Niels on Sun 28. Nov, 2004 00:01

sorry for the late answer.

php will by default stop execute any script witch takes longer than 30 sec.
usually a script is executed faster than this, and the 30 sec is only a secyrity precausion.

how-ever some times the time need to be longer, expecially if need to doo long loops - e.g. same command into meny users (mass PM)
to overcome this php have a coomend to increase the maximum execution time, witch this MOD make use of - so in principle this mod may be executed for a longer time, how-ever some shared hosts disable this feature, so one user can't take to mutch CPU from other users if a script is runing berserk.

this is a snap from the code found in groupmsg.php witch I have included in the mod
//
// Increase maximum execution time in case of a lot of users, but don't complain about it if it isn't
// allowed.
//
@set_time_limit(120);


if your server does not support this php command, you either need to modify php.ini so it does, or only PM small groups of users
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby ChristianR on Mon 06. Dec, 2004 22:50

will give it a go thanks.
ChristianR
Poster
Poster
 
Posts: 47
Joined: Sun 18. Jan, 2004 14:17


Return to Custom mass PM [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron