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 / PaidSystem Support / Question about duration?

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.

Question about duration?

More
9 years 9 months ago #12181 by marimai
Question about duration? was created by marimai
Hey, I have this situation with my ads:
I have 2 types of ads:
normal add without images
add with images

With normal add the price is 3.20€ for 1 week, 6.40€ for 2 weeks etc.
With image add the price should be 6.40€ for 1 week, 12.80€ for 2 weeks etc.

So my question is, is it possible, that the duration will multiply the main price with the number of the weeks, or can I make separate durations for normal ads and ads with images?
More
9 years 9 months ago #12197 by tompap
Replied by tompap on topic Question about duration?
Sorry this is not something possible with the current options.
More
9 years 9 months ago #12206 by marimai
Replied by marimai on topic Question about duration?
Ok.

But what about this: the duration list shows me Ad Duration time, but I need it to show Duration name. How can I change that?
More
9 years 9 months ago #12211 by loic
Replied by loic on topic Question about duration?
Hello,

You need to custom the code a little to do that, here is the solution.

First, I advice you to do an override of the view 'components/com_paidsystem/views/edit/tmpl/default.php', that way, you will be able to update the component without erasing the modification.

You can also save this message somewhere and redo the modification if something happens.

So in the file 'components/com_paidsystem/views/edit/tmpl/default.php' or in the override, replace the line 46 to 56:
if ($duration->duration == 0) {
                        if ($duration->credits > 0)
                            echo "<option $selected value='$duration->id'>".sprintf(JText::_('PAIDSYSTEM_NO_EXPIRATION_WITH_PRICE'), getPrice($duration->credits))."</option>";
                        else
                            echo "<option $selected value='$duration->id'>".JText::_('PAIDSYSTEM_NO_EXPIRATION')."</option>";
                    } else {
                        if ($duration->credits > 0)
                            echo "<option $selected value='$duration->id'>".sprintf(JText::_('PAIDSYSTEM_DURATION_DISPLAY'),$duration->duration, getPrice($duration->credits))."</option>";
                        else
                            echo "<option $selected value='$duration->id'>".sprintf(JText::_('PAIDSYSTEM_DURATION_SHORT_DISPLAY'),$duration->duration)."</option>";
                    }

By this line:
echo "<option $selected value='$duration->id'>".$duration->title." ".getPrice($duration->credits)."</option>";

You can also remove the ".getPrice($duration->credits)." if you don't want to display the duration's price.

Best regards.
More
9 years 9 months ago #12223 by marimai
Replied by marimai on topic Question about duration?
Hi, it did not work. It removed template design and option section (where "Ad duration", "highlight","total cost" etc. is)
More
9 years 9 months ago #12230 by loic
Replied by loic on topic Question about duration?
Hello,

Could you send us FTP + admin account at support @ juloa.com (remove the spaces) ?

I will do the modification for you :).

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