Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / VirtualMoney Support / regarding credit exchange email notifications

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

regarding credit exchange email notifications

More
8 years 7 months ago #21725 by zhchoong
Hi Admin,

Two questions:
1) The system automatically sends out 2 email notification to the sender, both "gave" and "receive", I don't think that makes any sense because it is not meaningful for senders to receive both emails and receiver are not made aware of the transfer. Is there a coding problem? How do i make the system send the "gave" email notification to the sender, and "receive" email notification to the receiver?




2) what tag should i use to identify the receiver and sender in the email notification? For e.g. A gives 5 credits to B. what tag to identify A and B?
"you gave credits to {reciever}" and "you received credit from {sender}"????




Please advise on the above.
thanks.
marcus.
Attachments:
More
8 years 7 months ago #21756 by loic
Hello,

1. The sender must receive only one email and the receiver the other.

I will fix that issue and come back to you.

2. The tags are indeed not very clear. I will check that in the code and come back to you quickly.

Best regards.
More
8 years 7 months ago #21793 by loic
Hello,

1. I don't see any problem in the code.

2. the tags for the exchange emails are the following for the two emails (giver and receiver)
{user1} for the giver
{user2} for the receiver

Best regards.
More
8 years 7 months ago #21797 by zhchoong
Replied by zhchoong on topic regarding credit exchange email notifications
Hi Admin,

I am still getting the same problem.

Please correct me if i am wrong.

my process flow:
1) I created a page: menu item type: virtual money->exchange
2) Submitted a 1 credit transfer from le to zhchoong
3) received 2 emails in le mailbox instead of 1 in le's and 1 in zhchoong's mail box








Is there a step i missed out?

thanks.
marcus.
Attachments:
More
8 years 7 months ago #21811 by loic
Hello,

I need more time for that bug, the code seems ok but this issue still happen.

I come back to you quickly.

Best regards.
More
8 years 7 months ago #21879 by loic
Hello,

I found and fixed the issue. Here is the solution for those who don't want to wait :
- Open 'administrator/components/com_virtualmoney/helpers/mail.php'
- Replace the line 73 and 74 to have this :
$user1 = JFactory::getUser($item->user_id1);
$user2 = JFactory::getUser($item->user_id2);

Comment the line 77 and 88 by adding '//' just before the code, like this:
//$status = $item->status;

- Open 'administrator/components/com_virtualmoney/helpers/format.php'
- Replace the line 118, to have this:
if($user2->id != 0) {

Aaaaaand that's all.

Best regards.
Time to create page: 0.188 seconds
Powered by Kunena Forum