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 #21886 by zhchoong
Replied by zhchoong on topic regarding credit exchange email notifications
Hi Loic,

It works! Thanks.

Btw, do you have the email tag to show the "description" for sending credits?

Thank you.
marcus.
More
8 years 7 months ago #21888 by zhchoong
Replied by zhchoong on topic regarding credit exchange email notifications
Hi Loic,

Just realised i also need the email tag for the number of credits as well.

Appreciate if you could provide me the email tag for the following:

1) number of credits sent
2) Description

thanks.
marcus.
More
8 years 7 months ago #21922 by loic
Hello,

The only tags available for now other that the username are the following :
{SITENAME} => Name of the website,
{CREDIT_AMOUNT} => Amount of credits given or received,
{CREDIT_LABEL} => name of the virtual currency
{ACCOUNT_LINK} => Link to the account of the user.

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

{CREDIT_AMOUNT} doesn't seem to work well for both user emails notification.




Possible to help to look into this?
thanks.
marcus.
More
8 years 7 months ago #21944 by loic
Hello,

I will check the code.

That part seems to be the cause of a lot of issues. I come back to you.

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

Ti fix the issue with the {CREDIT_AMOUNT}, replace the line 119 to 122 :
$substitutions = array(
                "{user1}" => $user1->username,
                "{user2}" => $user2->username,
);

By that code :
$accountUrl = $baseURL.JRoute::_('index.php?option=com_virtualmoney&view=account',false);
 
            $substitutions = array(
                "{user1}" => $user1->username,
                "{user2}" => $user2->username,
                "{SITENAME}" => $sitename,
                "{CREDIT_AMOUNT}" => Virtualmoney::getCredits($user1->id),
                "{CREDIT_LABEL}" => $currency->codePlural,
                "{ACCOUNT_LINK}" => $accountUrl
            );

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