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

×

Notice

The forum is in read only mode.

×
End of Forum > Moving to ticket system (01 Jan 2014)

The forum is now in read-only mode.

To send us support request, please open a tickets > Support > Tickets Support

We have tested the ticket system during the last 3 months and we are sastified with it. So the forum is just for history now.

regarding credit exchange email notifications

5 years 1 week ago #21886 by zhchoong
Hi Loic,

It works! Thanks.

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

Thank you.
marcus.
5 years 1 week ago #21888 by zhchoong
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.
5 years 1 week 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.
5 years 1 week ago #21924 by zhchoong
Hi Loic,

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




Possible to help to look into this?
thanks.
marcus.
5 years 1 week 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.
5 years 1 week 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.187 seconds
Powered by Kunena Forum