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 / Public Forum / Main Forum / [RESOLVED] Highlight & Bring to the Top ad options

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.

× OLD Forum post could be checked here : forum.joomprod.com

[RESOLVED] Highlight & Bring to the Top ad options

More
11 years 1 month ago #14156 by Purostile
Replied by Purostile on topic Highlight and Bring to the Top ads options
Hello,

As I've told you, I'm testing this ads option... well, their automatic expiration doesn't work, as you can see in this screenshot.


It seems that every option still active until ad expiration.

Maybe my settings are wrong? Can you please check them? Or there be a malfunction?

Best regards
Attachments:
More
11 years 1 month ago #14202 by tompap
Replied by tompap on topic Highlight and Bring to the Top ads options
Hello,

Could you tell me which settings you set for cron task => on user request ? or did you set some linux cron/webcron. In the second case be sure to the code is called and check the log of your cron or webcron.

Please note that when using on user request, you need at least one connexion on your website per day (on a adsmanager page)

Finally, please check lib/cron.php

you should have the 2 following lines with require_once
//Daily Action
		if (date("d",$current) != date("d",$last))
		{
			if ($conf->crontype != "onrequest")
				echo "Daily Action<br/>\n";
			require_once(JPATH_BASE.'/administrator/components/com_adsmanager/models/content.php');
			require_once(JPATH_BASE.'/administrator/components/com_adsmanager/models/field.php');
			$contentmodel = new AdsmanagerModelContent();
			$fieldmodel = new AdsmanagerModelField();
			$contentmodel->manage_expiration($fieldmodel->getPlugins(),$conf);
		}
The following user(s) said Thank You: Purostile
More
11 years 1 month ago #14214 by Purostile
Replied by Purostile on topic Highlight and Bring to the Top ads options
Hello,

Could you tell me which settings you set for cron task => on user request ? or did you set some linux cron/webcron. In the second case be sure to the code is called and check the log of your cron or webcron.

My Cron task is set "on user request" (please see attachment). If I should change it with Linux Cron or Webcron, first you should me explain what and how I should do for use them, because I don't know them.

Please note that when using on user request, you need at least one connexion on your website per day (on a adsmanager page)

In this weeks, me, you and Loic, have visited everyday my website for check and solve his various issues. Since the cron was set "on user request", the cron has worked fine, in fact the expiring ads are been removed succesfully. But the Highlight, Featured and Bring To The Top ads options still don't work.

Finally, please check lib/cron.php

you should have the 2 following lines with require_once

//Daily Action
if (date("d",$current) != date("d",$last))
{
if ($conf->crontype != "onrequest")
echo "Daily Action<br/>\n";
require_once(JPATH_BASE.'/administrator/components/com_adsmanager/models/content.php');
require_once(JPATH_BASE.'/administrator/components/com_adsmanager/models/field.php');
$contentmodel = new AdsmanagerModelContent();
$fieldmodel = new AdsmanagerModelField();
$contentmodel->manage_expiration($fieldmodel->getPlugins(),$conf);
}

I don't have do anything on file lib/cron.php. I remind you that I've installed a quickstart pack of your demo website. If you are asking me to do something, please you should explain to me well, step by step.

Best regards
Attachments:
Moderators: perry
Time to create page: 0.084 seconds
Powered by Kunena Forum