2
Quote:
I wrote about my problems to "thecat" owner of this module but no answer.. Anyway..
Sorry for the delay of answer... I am too busy in this moment
Quote:
2. How can admin check all suspend ads?
in admin/index.php, add in function show (line 287)
if ($action == 'suspend') {
ads_menu(4);
$title = _AM_CATADS_PUB;
$criteria = new CriteriaCompo(new Criteria('published', '0', '>'));
$criteria->add(new Criteria('suspend', '1'));
$criteria->setSort('published');
}
in include/cp_functions.php, add (line 46)
echo "<li style="list-style: none; margin: 0; display: inline; "><a href="index.php?action=suspend" style="padding: 3px 0.5em; margin-left: 3px; border: 1px solid #778; background: ".$tblColors[4]."; text-decoration: none; ">"._AM_CATADS_SUSP."</a></li>";
and in language/english/admin.php
define("_AM_CATADS_SUSP","Suspended Ads");
Quote:
1. How can registered user modify and delete own ads?
It's more complicated, and I can't reply at the moment ... but asap.