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 / Invoicing Support / Remove a plugin in a situation

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.

Remove a plugin in a situation

More
9 years 9 months ago #12252 by catalinads
Remove a plugin in a situation was created by catalinads
I have this situation:
Adsmanager paid system sends me to payment page: here i have 2 plugin enabled
Usersubs that sends me to payment page : here i have 2 plugin enabled

I want to remove a plugin when Adsmanager paid system sends user to payment page
on payment.php i have this:
<?php 
				$paymentLinks = $dispatcher->trigger('onInvoicingPaymentSelection', array ($this->item));
				//var_dump($paymentLinks);
				foreach($paymentLinks as $paymentLink) {
					if($paymentLink != null)
						echo '<div class="col-md-3">'.$paymentLink.'</div>';
				}
			?>

any ideas ?
More
9 years 9 months ago #12262 by loic
Replied by loic on topic Remove a plugin in a situation
Hello,

You can do something like this:
foreach($paymentLinks as $paymentLink) {
    if($paymentLink != null || $paymentLink != 'name of the plugin')
        echo '<div class="col-md-3">'.$paymentLink.'</div>';
 }

Best regards.
More
9 years 9 months ago #12263 by catalinads
Replied by catalinads on topic Remove a plugin in a situation
I think i explained bad

I want for usersusbs 2 payment plugins and are enabled
adn when user posts a paid ad- top or featured etc.... and is sent to payment page .. there i want to disable offline payment
More
9 years 9 months ago #12267 by loic
Replied by loic on topic Remove a plugin in a situation
Oh ok.

Usersub and paidsystem use Invoicing, so the same plugins are displayed for both.

I will ask Thomas if there is a solution for that.

I come back to you.

Best regards.
More
9 years 9 months ago #12274 by tompap
Replied by tompap on topic Remove a plugin in a situation
There is no option for that, some "custom code" is needed to do that.

if you want a quote for that , you can send us a mail to support @juloa.com
More
9 years 9 months ago #12278 by catalinads
Replied by catalinads on topic Remove a plugin in a situation
I thought is something easy like few lines:

if ($this->invoice->generator == 'usersubs')
to return a div with a manual inserted link and the image
Time to create page: 0.144 seconds
Powered by Kunena Forum