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 / archive adsmanager

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

archive adsmanager

More
11 years 6 months ago - 11 years 6 months ago #11282 by Max1985
archive adsmanager was created by Max1985
Hello!
It is necessary that the archive works like this:
1. At the end of the term of the ad, it is reclassified as a file and do not remove the publication.
2. Ad moved to the archive do not send every day reminder that the deadline for placing announced expires.
3. Ad moved to the archive do not send reminders every day that it is removed.
4. Hide the contacts in the ads that are in the category archive.
5. Delete images from the ads that have been moved to the archive.
I would be very grateful for the help!
Last edit: 11 years 6 months ago by Max1985.
More
11 years 6 months ago #11283 by Max1985
Replied by Max1985 on topic archive
The first decided way! In the file: \administrator\components\com_adsmanager\models\content.php
this
case 'archive':
							$this->_db->setQuery('UPDATE #__adsmanager_ads SET published=0,recall_mail_sent=0 WHERE id='.$id);
							$this->_db->query();
replaced by
case 'archive':
							$this->_db->setQuery('UPDATE #__adsmanager_ads SET recall_mail_sent=0 WHERE id='.$id);
							$this->_db->query();
More
11 years 6 months ago #11284 by Max1985
Replied by Max1985 on topic archive
The third issue was resolved so! In the file: \administrator\components\com_adsmanager\models\content.php
this
$this->_db->setQuery( " SELECT a.*,c.name as cat, c.id as catid FROM #__adsmanager_ads as a".
		      " INNER JOIN #__adsmanager_adcat as adcat ON adcat.adid = a.id ".
		      " INNER JOIN #__adsmanager_categories as c ON adcat.catid = c.id ".
		      " WHERE a.recall_mail_sent = 1 AND a.expiration_date <= CURDATE() AND c.published = 1 AND a.published = 1 GROUP BY a.id");
replaced by
$this->_db->setQuery( " SELECT a.*,c.name as cat, c.id as catid FROM #__adsmanager_ads as a".
		      " INNER JOIN #__adsmanager_adcat as adcat ON adcat.adid = a.id ".
		      " INNER JOIN #__adsmanager_categories as c ON adcat.catid = c.id ".
		      " WHERE a.recall_mail_sent = 1 AND a.expiration_date <= CURDATE() AND c.published = 1 AND a.published = 1 AND c.id <> $conf->archive_catid GROUP BY a.id");
More
11 years 6 months ago #11285 by Max1985
Replied by Max1985 on topic archive
Fourth dare think so! In the file: /components/com_adsmanager/views/details/tmpl/default.php
We set the conditions:
<?php
if ($this->content->catid != $conf->archive_catid)
echo 'contacts';
else
echo 'no contacts';
?>
More
11 years 6 months ago #11286 by Max1985
Replied by Max1985 on topic archive
Help please with 2 and 5! It did not get ...
More
11 years 6 months ago #11293 by Max1985
Replied by Max1985 on topic archive
Surely no one knows how to solve?
Moderators: perry
Time to create page: 0.061 seconds
Powered by Kunena Forum