[3.2][RC] Autorespond to new topic

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
entriti
Registered User
Posts: 8
Joined: Fri Jul 13, 2018 12:26 pm

Re: [3.2][BETA] Autorespond to new topic

Post by entriti » Thu Jul 26, 2018 12:16 pm

Ok.
# Auto responder

## Installation

Copy the extension to phpBB/ext/ger/autoresponder

Go to "ACP" > "Customise" > "Extensions" and enable the "Auto responder" extension.

Image

Image
(Personalizar-> Custom)


But I do not find the extension "Autoresponder".

what am I doing wrong? I do not find the extension "Autoresponder"

Thanks

User avatar
david63
Jr. Extension Validator
Posts: 14651
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][BETA] Autorespond to new topic

Post by david63 » Thu Jul 26, 2018 12:27 pm

You should be looking in Customise NOT System
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

NastyBoy
Registered User
Posts: 76
Joined: Wed May 31, 2017 7:03 pm
Location: Germany
Name: Tim
Contact:

Re: [3.2][BETA] Autorespond to new topic

Post by NastyBoy » Wed Aug 15, 2018 4:01 pm

What kind of message comes in response? Is this some kind of notification or e-mail?

User avatar
Ger
Recognised Extension Developer
Posts: 1665
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][BETA] Autorespond to new topic

Post by Ger » Fri Aug 17, 2018 9:33 am

It's just a reply you can set per forum. So when a regular user posts a new topic, a predefined user will respond with a standard message you set in the ACP.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
Ger
Recognised Extension Developer
Posts: 1665
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Autorespond to new topic

Post by Ger » Tue Aug 21, 2018 9:49 am

I've fixed some micro issues and have bumped this to RC stage.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
eunaumtenhoid
Registered User
Posts: 754
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][RC] Autorespond to new topic

Post by eunaumtenhoid » Mon Aug 27, 2018 11:44 pm

It would be well worth having an Autoresponder Option Only for a particular group


for example: group A receives this message (hi), group B receives this message (hello) while posting a topic
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
Ger
Recognised Extension Developer
Posts: 1665
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Autorespond to new topic

Post by Ger » Tue Aug 28, 2018 6:56 am

Wouldn't that make things overly complicated? You'd have to set a message for each group on each forum.

Can't you do what you want with the auto replacement tokens? I could of course expand on that if you miss something, but I think that would make it much easier to use than setting a handful of messages for each forum.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
eunaumtenhoid
Registered User
Posts: 754
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][RC] Autorespond to new topic

Post by eunaumtenhoid » Tue Aug 28, 2018 1:40 pm

no, in case it would be a message to a staff group and another message to the user group understood?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
Ger
Recognised Extension Developer
Posts: 1665
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Autorespond to new topic

Post by Ger » Tue Aug 28, 2018 1:53 pm

I understand you, but still think it would overcomplicate things.

Think about it: how would the extension determine if a group is a staff group or just any other group? Since there is no sane thing to determine this (apart from maybe the teampage checkbox, but that's not intended for anything other than the teampage) the extension should provide a separate message for each group. And then what if a user is a member of multiple groups? What message should be displayed then?

Again, it will overcomplicate things. If it suits you I can make some events for you to hook into so you can expand on this to you liking.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
eunaumtenhoid
Registered User
Posts: 754
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][RC] Autorespond to new topic

Post by eunaumtenhoid » Tue Aug 28, 2018 2:15 pm

Autorespond show x mensagem to group x
Autorespond show y mensagem to group y setting on ACP tab group in text area for each group?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
Ger
Recognised Extension Developer
Posts: 1665
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Autorespond to new topic

Post by Ger » Tue Aug 28, 2018 3:00 pm

Again, I understand what you are saying.

But as the extension is now, you set an autorespond message per forum (ACP tab forums -> edit forum). If I'd add another setting per user group as you are saying, that will result in a conflict.

Forum X -> autoreply X.
Forum Y -> autoreply Y.
Forum Z -> autoreply Z.

Group P -> autoreply P.
Group Q -> autoreply Q.
Group R -> autoreply R.

Now, I'm a user who is in both group P and Q and I post a message in forum Y. What autoreply would that result in?
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

Thunder_one
Registered User
Posts: 119
Joined: Sat May 09, 2015 11:00 pm

Re: [3.2][RC] Autorespond to new topic

Post by Thunder_one » Wed Aug 29, 2018 5:54 am

Nice Ext. Thank you for that.

Unfortunately, it does not work if a thread is created automatically.

For me z.b. A new thread is created when a user reports a game in the arcade.

Could one please fix that synonymous the automatic response is created when a thread is created automatically?

Thanks a lot for this.

User avatar
Ger
Recognised Extension Developer
Posts: 1665
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Autorespond to new topic

Post by Ger » Wed Aug 29, 2018 7:04 am

Thunder_one wrote:
Wed Aug 29, 2018 5:54 am
Nice Ext. Thank you for that.
YW :)
Unfortunately, it does not work if a thread is created automatically.

For me z.b. A new thread is created when a user reports a game in the arcade.

Could one please fix that synonymous the automatic response is created when a thread is created automatically?
That's true. This extension hooks into the event core.posting_modify_submit_post_after and that is because when I'd hook it to an event in the submit_post() function it would result in an endless loop since I call that function as well.

Maybe I can try to hook into the arcade extension as well, but I can't find it in the CDB. Do you have a link to it for me?
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
eunaumtenhoid
Registered User
Posts: 754
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][RC] Autorespond to new topic

Post by eunaumtenhoid » Fri Aug 31, 2018 12:30 pm

Ger wrote:
Tue Aug 28, 2018 3:00 pm
Again, I understand what you are saying.

But as the extension is now, you set an autorespond message per forum (ACP tab forums -> edit forum). If I'd add another setting per user group as you are saying, that will result in a conflict.

Forum X -> autoreply X.
Forum Y -> autoreply Y.
Forum Z -> autoreply Z.

Group P -> autoreply P.
Group Q -> autoreply Q.
Group R -> autoreply R.

Now, I'm a user who is in both group P and Q and I post a message in forum Y. What autoreply would that result in?
button for ON/OFF on forum or setting groups
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
Ger
Recognised Extension Developer
Posts: 1665
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Autorespond to new topic

Post by Ger » Fri Aug 31, 2018 12:43 pm

Sorry, but I won't implement that. Like I said, it makes stuff overly complicated. I would still have to take the multiple user groups per user into account as well as having a switch for which forum should have a autorespond at all.

You might have a use case at your board but I see it as a rare edge case that could be covered but at a large cost of both developing and maintenance. I'm willing to introduce events to hook into if someone is interested in extending this, but I won't write that one.
@whoever is interested: please let me know where you want this events to be implemented and what parameters you need.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: No registered users and 17 guests