Part 2 - Some problems to find a line......

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 !

Part 2 - Some problems to find a line......

Postby powergirl on Tue 05. Nov, 2002 16:23

Hi,
i have some problem with a line in part 2,this line have i found 2 times on privmsg.php:

$message = $lang['Cannot_send_privmsg'];
message_die(GENERAL_MESSAGE, $message);
}


Must i replace both?

powergirl
powergirl
Poster
Poster
 
Posts: 26
Joined: Fri 31. May, 2002 14:55
Location: Berlin/Germany

Postby powergirl on Wed 06. Nov, 2002 10:29

Nobody an idea what i must do?

powergirl
powergirl
Poster
Poster
 
Posts: 26
Joined: Fri 31. May, 2002 14:55
Location: Berlin/Germany

mmmm

Postby tuck on Wed 06. Nov, 2002 10:31

I posed the same problem and still get no answer; i tried to replace in the first point and in the second but it does not work :cry:
tuck
 

Postby powergirl on Wed 06. Nov, 2002 11:40

Ok i think there is an error in th install file:

there stand:

#
#-----[ FIND ]------------------------------------------
#
if ( $submit )
{
if ( !empty($HTTP_POST_VARS['username']) )
{

#
#-----[ AFTER, ADD ]------------------------------------------
#
$to_username = str_replace(",", "','", $HTTP_POST_VARS['username']);
$to_username = "'".$to_username."'";

#


but i think it must be:

#
#-----[ FIND ]------------------------------------------
#
$to_username = $HTTP_POST_VARS['username'];

#
#-----[ REPLACE ]------------------------------------------
#
$to_username = str_replace(",", "','", $HTTP_POST_VARS['username']);
$to_username = "'".$to_username."'";


Right?Than stand there when i edit the PM that two User have receive the PM but only 1 becames it realy!

powergirl
Last edited by powergirl on Wed 06. Nov, 2002 16:25, edited 1 time in total.
powergirl
Poster
Poster
 
Posts: 26
Joined: Fri 31. May, 2002 14:55
Location: Berlin/Germany

Gosh!

Postby tuck on Wed 06. Nov, 2002 15:57

:idea:
I didn't notice it, great powergirl, it's for sure that mistake which caused the problem :D
tuck
 

Postby Niels on Wed 06. Nov, 2002 16:00

jeps, it loks like you are rigth, it is difficult to kep track of witch changes have been made where - when making a mod
infact making a mod is not that complicated, it is the how-to witch is the difficult part ..... hope you all forgive me :D

I will correct the how-to when I come home
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46


Return to Custom mass PM [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron