Custom Mass PM Install Problem

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 !

Custom Mass PM Install Problem

Postby dhd33 on Mon 09. May, 2005 01:51

Hello,

After uploading the new files and running the Update to the database, I began editing the files and ran into this issue:

#
#-----[ OPEN ]------------------------------------------------
#
privmsg.php

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

#
#-----[ REPLACE WITH ]----------------------------------------
#

// Start replacement - Custom mass PM MOD
$to_username_array = explode (";", $HTTP_POST_VARS['username']);
sort ($to_username_array);
foreach ($to_username_array as $name) $to_usernames .= "'".phpbb_clean_username($name)."',";
$to_usernames[strlen($to_usernames)-1]=" ";
// End replacement - Custom mass PM MOD


The line:
$to_username = $HTTP_POST_VARS['username'];

is NOT in my privmsg.php file.

I am using version 2.0.15.

Is this MOD compatible with this version?

If so, how do I edit this file?

If NOT, how do I remove the info I just added to the Database? (or do I have to)

thanks in advance for your help.
-dhd
dhd33
Poster
Poster
 
Posts: 1
Joined: Mon 09. May, 2005 01:44

Postby duvelske on Tue 10. May, 2005 16:59

Please download this www.vitrax.opweb.nl by the downloads.. Its a complete premodded release also with this mod in it!.. And look for it in privmsg.php
Greetzzz,
Image
duvelske
Poster
Poster
 
Posts: 194
Joined: Sat 16. Aug, 2003 17:31

Postby @ndre on Tue 07. Jun, 2005 12:19

Same problem here. Can someone post the update to 2.0.15?
@ndre
Poster
Poster
 
Posts: 3
Joined: Fri 03. Jan, 2003 15:55

Postby @ndre on Tue 07. Jun, 2005 13:15

duvelske wrote:Please download this www.vitrax.opweb.nl by the downloads.. Its a complete premodded release also with this mod in it!.. And look for it in privmsg.php


Just upload that version of privmsg.php and delete the mass email part, if you don't have that mod running on your board.
@ndre
Poster
Poster
 
Posts: 3
Joined: Fri 03. Jan, 2003 15:55

Postby doormaster on Sat 11. Jun, 2005 23:46

I have the same Problem and I can´t find this on www.vitrax.opweb.nl , can someone help me? or can say what i must do?
sorry, my English is not very good
doormaster
Poster
Poster
 
Posts: 3
Joined: Sat 11. Jun, 2005 23:43

Postby doormaster on Mon 13. Jun, 2005 19:44

can nobody help me? :roll:
sorry, my English is not very good
doormaster
Poster
Poster
 
Posts: 3
Joined: Sat 11. Jun, 2005 23:43

Postby doormaster on Wed 22. Jun, 2005 20:01

can nobody help me??? :?::?::?::?::?::?::?::?::?::?::?::?::?::?::?:
sorry, my English is not very good
doormaster
Poster
Poster
 
Posts: 3
Joined: Sat 11. Jun, 2005 23:43

well

Postby kooshy on Sat 25. Jun, 2005 17:36

the line has just changed a bit.
find:
Code: Select all
$to_username = phpbb_clean_username($HTTP_POST_VARS['username']);

isntead of
Code: Select all
$to_username = $HTTP_POST_VARS['username'];
kooshy
Poster
Poster
 
Posts: 3
Joined: Thu 17. Jul, 2003 20:15


Return to Custom mass PM [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron