Sucessfully installed it. But it's not notifying of PM's

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 !

Sucessfully installed it. But it's not notifying of PM's

Postby camarosource on Fri 21. Oct, 2005 02:02

I sucessfully installed it into my phpbb 2.0.17. (running the update DB php FIRST, and also making the change for prvmsg.php or whatever it's called).

I went to private msg panel, clicked the icon to mass pm "groupmsg.php", selected "Admin", which would be sent to me only.

put subject "test", and msg "testing..." and clicked submit.

it then says :

Your message has been delivered

1 users was accepting mass PM, 0 have recived a email notifcation
Click Here to return to your Inbox

Click Here to return to the Index


HOW do I get it to email all those PM'd? (this case, ME)?? I went into "usercp_register.php" and changed the

Code: Select all
// Start add - Custom mass PM MOD
//------------------------------------------------------------
// Who can disable receiving mass PM ?
// Set 'A' for Admins, 'M' for admins+Mods or 'U' for all Users
//
$can_disable_mass_pm = 'U';


to

Code: Select all
// Start add - Custom mass PM MOD
//------------------------------------------------------------
// Who can disable receiving mass PM ?
// Set 'A' for Admins, 'M' for admins+Mods or 'U' for all Users
//
$can_disable_mass_pm = 'A';


but it never sends any msg and always says "0 have recived a email notifcation".

On TOP of that, there is absolutely NO indication of new PM received. It always says "You have no new messages" at the top and the only way of knowing that you had a PM would be to click the "You have no new messages" link (for whatever reason it may be) and see "WOW, I have a PM... Strange it didn't say I had one." ;-) ;-)

HELP.


PS. I should note that EVERYONE, including me are set to :

Always notify me of replies Yes
Notify on new Private Message Yes
Pop up window on new Private Message YES

I removed the options from the profile so no one can change it (can't see it) ;-)
camarosource
Poster
Poster
 
Posts: 19
Joined: Fri 27. Aug, 2004 08:11

Postby Niels on Mon 24. Oct, 2005 15:55

Fist of all, a PM sendt with the original phpbb2 or by the new feature mass PM act the same once they are in the users inbox.
Nothing new into that.
So if you did sendt out a mass PM and your PM link text (You have no new messages) did not change, then you have a error with your phpbb2 (not related to this mod)
Please note that this "text" wil NOT change until you hit a new page, so try browse around your site, and see if the text isen't changeing after all.

Once this is said, there is a few basic settings with this mod that you have to understand.
This mod have it's own EMAIL PM notification system, witch works independently of the ordenary phpbb2 PM notification.
This is done to inshure that users not nessesaryly gets a email notification every time a mass PM arrives, or alternativly that the DO get one, even if they have selected not to be notifyed by email upon new PM.

groupmsg.php wrote: * This mod require a SQL entry in the users table, named "user_allow_mass_pm",
* a value of 0 means "Disable mass PM"
* a value of 2 means "Enable mass PM, no notify by email"
* a value of 4 means "Enable mass PM, notify by email"


By default the value is set for all users to 2 (by the included db_update.php), witch means users are by default NOT notifyed by email when a new mass PM arrives....
(regardless of this, the flag and the text in the header does STILL change)

you may change this setting "site wide" by runing a sql like
UPDATE phpbb_users set user_allow_mass_pm=4

or like.

or alternativly users may change the settings by them self the profile (if allowed), in your caase you have changed this so only admin may change this.

hope this clearify
(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 Niels on Mon 24. Oct, 2005 16:06

// Start add - Custom mass PM MOD
//------------------------------------------------------------
// Who can disable receiving mass PM ?
// Set 'A' for Admins, 'M' for admins+Mods or 'U' for all Users
//
$can_disable_mass_pm = 'A';


This is a matter of you wish to allow users to change the mass PM setting in the profil
By default the mod act like this:
    ALL users (in the selected group/list) will recive the PM
    NONE of the users will recive a EMAIL notification
    ANY users may change if/how they recive mass PM (e.g. notification)

After the change you did. The mod will act like this:
    ALL users (in the selected group/list) will recive the PM
    NONE of the users will recive a EMAIL notification
    ONLY Admin users may change how they recive mass PM (e.g. notification)
(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 camarosource on Tue 25. Oct, 2005 04:39

Ok. Now I am even more confused..

I globally ran the SQL to change everyone to "4". But new users who register are defaulting to "2".

1. How do I make it so EVERYONE is "4" no mattery what. (Making the program configured to be "4" as default rather than "2".

I have commented out the "

Code: Select all
<!-- Start add - Custom mass PM MOD -->
<!-- BEGIN switch_can_disable_mass_pm -->
<!--
<tr>
   <td class="row1"><span class="gen">{L_ENABLE_MASS_PM}:</span><br />
   <span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
   <td class="row2">
   <input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED}/>
   <span class="gen">{L_YES}</span>&nbsp;&nbsp;
   <input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED}/>
   <span class="gen">{L_NO}</span>&nbsp;&nbsp;
   <input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED}/>
   <span class="gen">{L_NO_MASS_PM}</span></td>
</tr>
-->
<!-- END switch_can_disable_mass_pm -->

<!-- BEGIN switch_can_not_disable_mass_pm -->


so no one can even see the option to turn off/on.


I did what you said, and it now says

Your message has been delivered

1 users was accepting mass PM, 1 have recived a email notifcation
Click Here to return to your Inbox

Click Here to return to the Index


Great.. So far.. PM email received.. Good so far.. HOWEVER.. It still does not say that there is any new PM.. Says "You have no new messages" still.

Sending a normal PM (not using your script). I have absolutely no problems. PM sent and you get the regular "Your have 1 new messages".. But using the icon that links to the "groupmsg.php" file doesn't seem to be working right.

The problem is that the emails ARE sent, PM's ARE sent, HOWEVER the notification is not being shown ON the screen, nor is the PM popup working. (nothing to do with phpbb not right since it works perfectly when not using Custom Mass PM).

Thanks very much.
camarosource
Poster
Poster
 
Posts: 19
Joined: Fri 27. Aug, 2004 08:11

Postby camarosource on Tue 25. Oct, 2005 04:39

Ok. Now I am even more confused..

I globally ran the SQL to change everyone to "4". But new users who register are defaulting to "2".

1. How do I make it so EVERYONE is "4" no mattery what. (Making the program configured to be "4" as default rather than "2".

I have commented out the "

Code: Select all
<!-- Start add - Custom mass PM MOD -->
<!-- BEGIN switch_can_disable_mass_pm -->
<!--
<tr>
   <td class="row1"><span class="gen">{L_ENABLE_MASS_PM}:</span><br />
   <span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
   <td class="row2">
   <input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED}/>
   <span class="gen">{L_YES}</span>&nbsp;&nbsp;
   <input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED}/>
   <span class="gen">{L_NO}</span>&nbsp;&nbsp;
   <input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED}/>
   <span class="gen">{L_NO_MASS_PM}</span></td>
</tr>
-->
<!-- END switch_can_disable_mass_pm -->

<!-- BEGIN switch_can_not_disable_mass_pm -->


so no one can even see the option to turn off/on.


I did what you said, and it now says

Your message has been delivered

1 users was accepting mass PM, 1 have recived a email notifcation
Click Here to return to your Inbox

Click Here to return to the Index


Great.. So far.. PM email received.. Good so far.. HOWEVER.. It still does not say that there is any new PM.. Says "You have no new messages" still.

Sending a normal PM (not using your script). I have absolutely no problems. PM sent and you get the regular "Your have 1 new messages".. But using the icon that links to the "groupmsg.php" file doesn't seem to be working right.

The problem is that the emails ARE sent, PM's ARE sent, HOWEVER the notification is not being shown ON the screen, nor is the PM popup working. (nothing to do with phpbb not right since it works perfectly when not using Custom Mass PM).

Thanks very much.
camarosource
Poster
Poster
 
Posts: 19
Joined: Fri 27. Aug, 2004 08:11

Postby camarosource on Tue 25. Oct, 2005 04:39

Ok. Now I am even more confused..

I globally ran the SQL to change everyone to "4". But new users who register are defaulting to "2".

1. How do I make it so EVERYONE is "4" no mattery what. (Making the program configured to be "4" as default rather than "2".

I have commented out the "

Code: Select all
<!-- Start add - Custom mass PM MOD -->
<!-- BEGIN switch_can_disable_mass_pm -->
<!--
<tr>
   <td class="row1"><span class="gen">{L_ENABLE_MASS_PM}:</span><br />
   <span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
   <td class="row2">
   <input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED}/>
   <span class="gen">{L_YES}</span>&nbsp;&nbsp;
   <input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED}/>
   <span class="gen">{L_NO}</span>&nbsp;&nbsp;
   <input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED}/>
   <span class="gen">{L_NO_MASS_PM}</span></td>
</tr>
-->
<!-- END switch_can_disable_mass_pm -->

<!-- BEGIN switch_can_not_disable_mass_pm -->


so no one can even see the option to turn off/on.


I did what you said, and it now says

Your message has been delivered

1 users was accepting mass PM, 1 have recived a email notifcation
Click Here to return to your Inbox

Click Here to return to the Index


Great.. So far.. PM email received.. Good so far.. HOWEVER.. It still does not say that there is any new PM.. Says "You have no new messages" still.

Sending a normal PM (not using your script). I have absolutely no problems. PM sent and you get the regular "Your have 1 new messages".. But using the icon that links to the "groupmsg.php" file doesn't seem to be working right.

The problem is that the emails ARE sent, PM's ARE sent, HOWEVER the notification is not being shown ON the screen, nor is the PM popup working. (nothing to do with phpbb not right since it works perfectly when not using Custom Mass PM).

Thanks very much.
camarosource
Poster
Poster
 
Posts: 19
Joined: Fri 27. Aug, 2004 08:11

Postby camarosource on Tue 25. Oct, 2005 04:40

Ok. Now I am even more confused..

I globally ran the SQL to change everyone to "4". But new users who register are defaulting to "2".

1. How do I make it so EVERYONE is "4" no mattery what. (Making the program configured to be "4" as default rather than "2".

I have commented out the "

Code: Select all
<!-- Start add - Custom mass PM MOD -->
<!-- BEGIN switch_can_disable_mass_pm -->
<!--
<tr>
   <td class="row1"><span class="gen">{L_ENABLE_MASS_PM}:</span><br />
   <span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
   <td class="row2">
   <input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED}/>
   <span class="gen">{L_YES}</span>&nbsp;&nbsp;
   <input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED}/>
   <span class="gen">{L_NO}</span>&nbsp;&nbsp;
   <input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED}/>
   <span class="gen">{L_NO_MASS_PM}</span></td>
</tr>
-->
<!-- END switch_can_disable_mass_pm -->

<!-- BEGIN switch_can_not_disable_mass_pm -->


so no one can even see the option to turn off/on.


I did what you said, and it now says

Your message has been delivered

1 users was accepting mass PM, 1 have recived a email notifcation
Click Here to return to your Inbox

Click Here to return to the Index


Great.. So far.. PM email received.. Good so far.. HOWEVER.. It still does not say that there is any new PM.. Says "You have no new messages" still.

Sending a normal PM (not using your script). I have absolutely no problems. PM sent and you get the regular "Your have 1 new messages".. But using the icon that links to the "groupmsg.php" file doesn't seem to be working right.

The problem is that the emails ARE sent, PM's ARE sent, HOWEVER the notification is not being shown ON the screen, nor is the PM popup working. (nothing to do with phpbb not right since it works perfectly when not using Custom Mass PM).

Thanks very much.
camarosource
Poster
Poster
 
Posts: 19
Joined: Fri 27. Aug, 2004 08:11

Postby camarosource on Tue 25. Oct, 2005 04:42

..
Last edited by camarosource on Wed 26. Oct, 2005 01:22, edited 1 time in total.
camarosource
Poster
Poster
 
Posts: 19
Joined: Fri 27. Aug, 2004 08:11

Next

Return to Custom mass PM [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron