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 / Using VirtualMoney in separate user group

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.

Using VirtualMoney in separate user group

More
10 years 11 months ago #4967 by tachyon
I am currently using the AdsManager in conjunction with Paidsystem and Invoicing. I would like to know if it's possible to setup two different user groups; one using normal Pay-per-ad in Paidsystem, and another using Paidsystem with VirtualMoney.

What I am planning to do is to allow the second user group to purchase blocks of ad (for example 1 Ad Credit allow them to post 1 ad, 4 Ad Credits allow them to post 4 ads, and so on.). Once they run out of Ad Credit, they can purchase more ad credits if they want.

Can you advise if this workflow is achievable using VirtualMoney?
More
10 years 11 months ago #4998 by loic
Hello,

Sorry, but you cannot set two different mode of payment with Paid System yet.
More
10 years 11 months ago #5103 by tachyon
Replied by tachyon on topic Using VirtualMoney in separate user group
That's unfortunate. As an alternative, can you advise us if it's possible to modify the Pay-per-ad system so an ad poster can post more than one ad at a time (and have the charges reflected in the order form and invoice) ?
More
10 years 11 months ago #5116 by loic
Hello,

I think it's possible to modify the code.

You can, for example, use 'Specific Right' setting in the PaidSystem configuration to separate the groups who will need to pay with real money from the groups who will pay with virtualmoney.
Then you will just have to add some conditions in the code where we check the payment method and change the variable if needed.

The payment system in recovered in the save function in 'components/com_adsmanager/controller.php'.
And the variable you need to change within this function is named '$mode'.

I hope this will help you.
More
10 years 11 months ago #5159 by tachyon
Replied by tachyon on topic Using VirtualMoney in separate user group
Hi loic,

Sorry for the late reply! Based on your suggestion, what I should do is to modify getPaidSystemMode() to check for the logged in user group (JFactory::getUser()->groups) and set the value of $mode depending on the assigned group.

I haven't really tested this approach since I was busy with another project but I'll have a closer look next week.

Thanks for your help!
More
10 years 11 months ago #5165 by loic
Hello,

you're free to post here if the solution is working or not :).

Best Regards.
Time to create page: 0.123 seconds
Powered by Kunena Forum