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 / [RESOLVED] Top ad option not correctly displayed

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.

[RESOLVED] Top ad option not correctly displayed

More
11 years 7 months ago - 11 years 7 months ago #978 by ades
Hi,

When top ad option activated on ad, th view does not display correctly :

in file components/com_paidsystem/api.paidsystem.php, on updateQueryWithReorder function (line 705) there is a test to update query with top ordered ad but test is "if ($conf->top_type == 0) {"

When top ad option is selected, under paidsystem sql configuration table top_type value is 1

Should'nt it be "if ($conf->top_type == 1) {" ?

Thanks in advance,

Joomla 3.1
Adsmanager 2.9.2
Invoicing 1.1.2
Last edit: 11 years 7 months ago by tompap.
More
11 years 7 months ago #1023 by tompap
Replied by tompap on topic Top ad option not correctly displayed
Will check this part of code, and come back to you
More
11 years 7 months ago #1122 by tompap
Replied by tompap on topic Top ad option not correctly displayed
Code is correct:

top_type meaning:

"1"=> The ad is brought to the top of the list once daily
"0" = >The ad sticks to the top of the list

so if top_type = 0, we need to change order of ads, otherwise (1) we don't want it
More
11 years 7 months ago #1127 by ades
Replied by ades on topic Top ad option not correctly displayed
Hi,

OK,

Is it missing something, in case of top ad paid option selected, it works better when checking ($conf->top_type == 0) instead of actual code.
With actual code, top ad options are displayed but at their original position.

Joomla 3.1
Adsmanager 2.9.2 (pack silver)
More
11 years 7 months ago #1132 by tompap
Replied by tompap on topic Top ad option not correctly displayed
Check your main paidsystem configuration and set "sticky" for top mode. Then top_type will be 0.
Time to create page: 0.148 seconds
Powered by Kunena Forum