MOD download & history

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 Niels on Wed 25. Dec, 2002 23:12

I have now included into this mod, that a link is showen inside the "private mail page" to upgrade do the files

privmsg.php
privmsg_body.tpl
subsilver.cfg

in the how-to
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Tue 04. Feb, 2003 20:10

I have updated the groupmsg.php file, new version of this file is 0.9.6.

to upgrade, simply replace the file.

new features are:
number of recipents are showen when pressing "preview"
the selected group, stays on the gorup you initial selected after "preview"
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Thu 27. Feb, 2003 14:48

I have updated the file groupmsg.php, new version of this file is 0.9.7.
this fixes that admin could get "you have no permission"
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Thu 27. Feb, 2003 21:29

I have updated, the PART 2 of this mod, new version is
new version is 0.9.8.

in file privmsg.php
Code: Select all
code removed, I will try find a better solution :)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Thu 27. Feb, 2003 22:21

I have updated part 2, of thiss mod, new version is 0.9.9.

here are how to upgrade:
in file privmsg.php

Code: Select all
[FIND]
$to_username_array = explode (",", $HTTP_POST_VARS['username']);
[AFTER ADD]
foreach ($to_username_array as $name) $temp_array[] = trim($name);
$to_username_array=$temp_array;
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Fri 16. May, 2003 22:12

I have found that the how-to was not working well if other mods are installed into the usercp_register.php file
to correct this I have changed the FIND tag's in the how-to
v
new version is 1.3.4. , please verify that your code is modded correctly
this is the code you need to verify in the file usercp_register.php
Code: Select all
#
#-----[ FIND ]------------------------------------------
#
$sql = "INSERT INTO " . USERS_TABLE . "
VALUES (

#
#-----[ IN-LINE, FIND ]------------------------------------------
#
user_allow_pm,
, user_active

#
#-----[ IN-LINE BEFORE,ADD ]------------------------------------------
#
, user_allow_mass_pm

#
#-----[ IN-LINE, FIND ]------------------------------------------
#
,";

#
#-----[ IN-LINE BEFORE,ADD ]------------------------------------------
#
, '$allow_mass_pm'
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Sun 20. Jul, 2003 00:37

I seam that I haven't added all the need code to the language file
the how-to is updated and new version is 1.3.5

to upgrade, simply update the lang_main.php
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Sat 23. Aug, 2003 00:12

this mod is now EM ready,
at same time this version fixes a problem related to sending out mass PM to users, (user list)

to upgrade:
in file privmsg.php
Code: Select all
[FIND]
if (strcasecmp($to_users[$n]['username'],str_replace("\'", "'", $to_username_array[$n])))
{
$error = TRUE;
$error_msg .= $lang['No_such_user']." '".str_replace("\'", "'", $to_username_array[$n])."'";
}
[REPLACE WITH]
   if (strcasecmp($to_users[$n]['username'],$to_username_array[$n]))
   {
      $error = TRUE;
      $error_msg .= $lang['No_such_user']." '".$to_username_array[$n]."'";
   }
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

PreviousNext

Return to Custom mass PM [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron