Extra Emails & Messages

  • Mark
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 7 months ago #57414 by Mark
Extra Emails & Messages was created by Mark
The plan dialogue has an option to pick which message(s?) goes to the person subscribing, but all of the messages I see in the list have a specific purpose.
Would I be right in guessing that just adding a suitable row to the #__osmembership_messages table would not only give me an extra message, but would also make it available on the editing page? I'm half guessing the answer will be "no", because the message subjects don't appear to be there.
If the answer is no, wouldn't that be a fabulous, and easy, additino to make? :huh:

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #57419 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Extra Emails & Messages
Sadly, the answer is No. You will need to edit the code directly to add the extra message you want. The file you need to edit the code to add extra message is administrator/components/com_osmembership/views/message/tmpl/default.php

Give it a try, it is not hard

But after having message saved to database, what you want to do next ?

Tuan

Please Log in or Create an account to join the conversation.

  • Mark
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 7 months ago #57423 by Mark
Replied by Mark on topic Extra Emails & Messages

Tuan Pham Ngoc wrote: But after having message saved to database, what you want to do next ?

That would give me the ability to have "custom messages".

Why do I need it? Because I have eight paid plans and one free one. I don't really want to send the same message to the free plan subscribers as to the other eight.

But also, since all those messages have a specific use, what use is the "Notification Emails" option in the plan dialogue? It's got great potential, but...

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #57425 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Extra Emails & Messages
Guess you should wait until 1.6.9 released. In 1.6.9, each plan can have it own message, so I think you might not have to hack

Tuan
The following user(s) said Thank You: Mark

Please Log in or Create an account to join the conversation.

  • Mark
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 7 months ago #57429 by Mark
Replied by Mark on topic Extra Emails & Messages
Got a release date? B)

So, what is the correct data to put in that "Notification Emails" field on the plan dialogue? The contents of one of the "message_key" fields in the messages table?
If that's the case, can I inhibit emails to users of a certain plan by putting an invalid value in that field?

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #57458 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Extra Emails & Messages
"Notification Emails" in plan dialogue allows different plan to have different notification emails. If you don't enter any email into that field, the notification emails in Configuration will be used to receive notification when someone sign up for the plan

Does it make sense ?

Tuan
The following user(s) said Thank You: Mark

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #57459 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Extra Emails & Messages
Release date for 1.6.9 will be sometime this week. Right now, we are doing some final testing

Tuan

Please Log in or Create an account to join the conversation.

  • Mark
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 7 months ago - 10 years 7 months ago #57477 by Mark
Replied by Mark on topic Extra Emails & Messages
This week? Fabulous!

Yes, your answer to the email question makes sense, but doesn't answer my question.

All the emails in the existing list are already triggered at specific events, aren't they?
So while I could specify one of them for a particular plan (although I still don't know what to write in that text box to do that), that use would be in addition to the use they are already intended for, is that right?

In which case, how could I have a message specific to just one plan?

And, if none of the messages are suitable for a particular plan, leaving the Notification Emails box blank causes the default messages, which are not suitable... which is why I thought of putting in an invalid entry there to prevent any email going for a particular plan
Last edit: 10 years 7 months ago by Mark.

Please Log in or Create an account to join the conversation.