How do users send PM to multiple users?

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 !

Postby zoombini on Tue 25. Nov, 2003 15:44

I have modified my files according to
Code: Select all
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions_validate.php

#
#-----[ FIND ]------------------------------------------------
#
// Don't allow
if (strstr(

#
#-----[ IN-LINE FIND ]----------------------------------------
#
, chr(160))

#
#-----[ IN-LINE AFTER, ADD ]----------------------------------------
#
|| strstr($username, ';')


Yet the result is still the same, x;x username does not exist.

Can you please define by example the correct syntax for sending multiple messages.

Thankyou.

EDIT I have just got it to work, by typing in the first username and then using the search facility which then adds a comma after the name followed by the 2nd username.

This works OK.

Syntax appears to be "username1, username2"
So I assume that "username1, username2, username3, username4" & so on will work.

Maybe replacng the comma with a semicolon if it has changed in the latest release.

Zoombini.
zoombini
Poster
Poster
 
Posts: 32
Joined: Sun 14. Sep, 2003 13:25

Postby cdr740 on Tue 25. Nov, 2003 20:17

Yes your'e right :D

This does work..I sent PM's to a couple of users with no probs.

Thanks for you help
Dan
cdr740
Poster
Poster
 
Posts: 4
Joined: Mon 29. Sep, 2003 16:43

semi colon syntax

Postby ezybee on Sat 24. Sep, 2005 17:20

sending username1;username2 I get

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''username2' ) AND user_id <> -1 ORDER BY username ASC' at

SELECT user_id, username, user_notify_pm, user_email, user_lang, user_active FROM phpbb_users WHERE username = ('username1','username2' ) AND user_id <> -1 ORDER BY username ASC

Line : 1174
File : privmsg.php


using 1.4.7 of md and 2.017 phpbb

ideas?
ezybee
Poster
Poster
 
Posts: 3
Joined: Sat 24. Sep, 2005 17:17

Previous

Return to Custom mass PM [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron