Description: This allows an Admin to send a PM to all users - or members of a specific user group.
Version 1.1 fixes what was actually a Threads bug where you couldn't add Instant UBB Code on the preview page.
Working Under: UBB.Threads 6.2-6.3
Mod Status: Beta
Any pre-requisites: none
Author(s): JoshPet
Date: 05/12/03
Credits: Kordegnen & Coy7
Files Altered: /admin/menu.php
New Files: /admin/dosendgrouppm.php, /admin/sendgrouppm.php, /templates/default/sendgrouppm.tmpl, /templates/default/dosendgrouppm.tmpl, /templates/default/dosendgrouppm_confirm.tmpl
Database Altered: none
Info/Instructions: Note that sending PMs to all users - or large groups can take a while to process (and could even time out depending on server configuration) - and will add an entry in the w3t_Messages table for each message sent to each user. Use cautiously to avoid needlessly bloating your database site.
Instructions - To send PMs - go under the Admin Menu, in the User Management section, select "Send PM to Groups". Then select a group name. Selecting "All Groups" will essentially be "All Users".
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
OK - that was actually a Threads bug with the Private Messages - you couldn't add Instant UBB Code on the preview page because the form was missing the "replier" name.
Threads has it fixed in 6.3 and I fixed it in this mod.
If you are running 1.0 - simply replace the dosendgrouppm.tmpl template included in this download.
The more I think about this, This would not work as is with 6.4 - as it uses the mailer function (to notify people who need PM notification via Email) and the email functionality was re-worked in 6.4. So these scripts would need to be updated.
Not sure when I'll have time, as I've got quite a bit of catch up to do this week. But when I get a chance, I'll see if I can update the scripts and repost for 6.4.
Looked at this again and can't see the error of my ways.. 6.4 still getting that blank screen and it looks like all the templates are in and so are the language.
ok I am officially frustrated 5 tries .. I can't for the life of me get this to work. If somebody has this working could you send me your files so I can compare the error of my ways.
I'm using the mod with 6.3 Works great, except I'm noticing NO SENT PM's are being saved. In MY HOME the number of sent PM's is listed as ZERO for all members.
Sent messages are not normally saved unless you check the box to specificially save them.
This mod does not work to save outgoing PMs. You woudln't want to anyway. Sending a PM to everyone puts an entry for every user you sent to in the database. Allowing the admin to save the sent PM would double that. Incredibly dangerous database bloat.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.