MyBB Community Forums

Full Version: PM Autoresponder / Auto-Reply
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The plugin allows you to send automated messages (also known as autoresponders) after you have received a message. The plugin works with the normal private message system and its settings. The plugin is translated in english, deutsch_du and deutsch_sie. The plugin also works with multiple receivers. For example, if the sender sends a PN to 5 users and 2 users have activated an autoresponder, then the user (sender) will receive the respective message from the 2 users.

Settings possible within the plugin / functions:

- Allow only certain user groups to send automated messages.
- Exclude (ban) individual users
- Switch the autoresponder for users on or off in ACP
- Edit the autoresponder text & subject in ACP for a user
- Determine whether the flooding time of the PM system should be taken into account or not.
- The user can activate the autoresponder in the profile under "Change profile" and make settings.
- Set whether the user should receive information when the PM autoresponder is activated
- Set whether an admin (or a member from another group) should receive an info that the autoresponder of a member is active when the user is on the respective profile.

The plugin automatically inserts the relevant template into the database after installation. 
Please check if the variable: 
{$autoresponder} is set in the usercp_profile. This should happen automatically, if not, please insert manually after {$awaysection}
{$autoresponderinfo} is set in the header. This should happen automatically, if not, please insert manually after {$pm_notice}
{$autoresponderinfoadmin} is set in the member_profile. This should happen automatically, if not, please insert manually after {$header}

--------------------------------
Das Plugin ermöglicht es, automatisierte Nachrichten (auch als Autoresponder bekannt) zu versenden, nachdem der Benutzer eine Nachricht erhalten hat. Das Plugin arbeitet mit dem normalen privaten Nachrichtensystem und dessen Einstellungen. Das Plugin ist übersetzt in english, deutsch_du and deutsch_sie. Das Plugin funktioniert auch mit mehreren Empfängern. Wenn der Absender z. B. an 5 Benutzer eine PN sendet und 2  Benutzer haben einen Autoresponder aktiviert, dann bekommt der Benutzer von den 2 Benutzern die jeweilige Nachricht.

Einstellungen innerhalb des Plugins möglich / Funktionen:

- Erlaube nur bestimmten Benutzergruppen das versenden von automatisierten Nachrichten.
- Schließe einzelne Benutzer aus
- Schalte den Autoresponder für Benutzer in ACP ein oder aus
- Bearbeite den Autoresponder-Text & Betreff in ACP für einen Benutzer
- Bestimme ob die Wartezeit (Flooding-Time) des PM-Systems berücksichtigt werden soll oder nicht.
- Der Benutzer kann den Autoresponder im Profil unter "Profil ändern" aktivieren und Einstellungen vornehmen.
- Stelle ein, ob der Benutzer eine Info erhalten soll, wenn der PM Autoresponder aktiviert ist (damit er ihn nicht vergisst) 
- Lege fest, ob ein Admin (oder ein Mitglied einer anderen Gruppe) die Information erhalten soll, dass der Autoresponder eines Mitglieds aktiv ist, wenn der Benutzer im entsprechenden Profil ist.


Das Plugin fügt automatisch nach der Installation das relevante Template in die Datenbank ein. Bitte überprüfe, ob die Variable 
{$autoresponder} im Template usercp_profile gesetzt ist. Dies sollte automatisch passieren, wenn nicht, füge die Variable nach {$awaysection} manuell ein.
{$autoresponderinfo} im Template usercp_profile gesetzt ist. Dies sollte automatisch passieren, wenn nicht, füge die Variable nach  {$pm_notice} manuell ein.
{$autoresponderinfoadmin}  im Template usercp_profile gesetzt ist. Dies sollte automatisch passieren, wenn nicht, füge die Variable nach {$header} manuell ein.

Exclamation  Download V 1.1.0: https://community.mybb.com/mods.php?acti...w&pid=1341
Add a notice bar that the autoreply is active (dismiss possible with auto remind), maybe auto set when I set busy...or better start and end date time setting to enable auto reply. Cool plugin Smile
Thank you for your contribution.
(2020-02-22, 07:33 PM)Eldenroot Wrote: [ -> ]Add a notice bar that the autoreply is active (dismiss possible with auto remind), maybe auto set when I set busy...or better start and end date time setting to enable auto reply. Cool plugin Smile

Hi Eldenroot, 

thanks for your feedback. 

I have planned the following changes for the next version:

- Note when the responder is activated
- In the admin area new user settings to enable or disable the autoresponder of a user (manually via the admin).

(2020-02-23, 04:58 AM)Omar G. Wrote: [ -> ]Thank you for your contribution.

Hi Omar, 

thanks. I have a question about mybb.com but I can not contact you via PN.   Shy
You can PM now, but please consider anything that can be public could be ignored.
Version 1.1.0

Changes:
  • Set whether the user should receive information when the PM autoresponder is activated
  • Set whether an admin (or a member from another group) should receive an info that the autoresponder of a member is active when the user is on the respective profile.
  • More setting options added in ACP. The admin can now manage (switch off or change) the complete autoresponder of a user.
Download here:

https://community.mybb.com/mods.php?acti...d&pid=1341
Great thx! +1
A bug has been fixed.

When sending a PN to a user via the "Send private message" link in their profile, an error message was displayed (thanks Mineclack for reporting the bug).  This error message only occurred when sending a message via the link in the profile.

Exclamation  Download here the new version: https://community.mybb.com/mods.php?acti...1&bid=4455
Hi itsmeJAY,
This plugin is awesome but there is an issue with registration using this plugin. It causes error related to autorespondertext field doesn't have default value while registration.

So either the text fields have default values(Not Preferred) OR
STRICT MODE for SQL disabled OR
text fileds autorespondertext and autorespondertitle should not be NOT NULL

The code for last option is below.
    if (!$db->field_exists('autoresponder', "users")) {
        $db->query("ALTER TABLE " . TABLE_PREFIX . "users ADD autoresponder INT( 1 ) NOT NULL DEFAULT '0';");
        $db->query("ALTER TABLE " . TABLE_PREFIX . "users ADD autorespondertext TEXT AFTER autoresponder;");
        $db->query("ALTER TABLE " . TABLE_PREFIX . "users ADD autorespondertitle TEXT AFTER autorespondertext;");
        $db->query("ALTER TABLE " . TABLE_PREFIX . "users ADD autoresponderbanned INT( 1 ) NOT NULL DEFAULT '0';");
    }

Thanks for this plugin Smile

Regards
WallBB
I get ERROR 500 when i want to install.
What can i do?