|
Sendnotice.php does delete the expired ads. However, it leaves the count of the ads in the category file alone. Therefore the category totals are inflated. So, one needs to run the database scan that updates the count. I've determined that with admin access, the command that needs to be run is --> adm-db.php?counts=yes&okay=yes&ppaction=scandb <-- In addition to the sendnotice.php script.
However, neither the adm-db.php script nor the sendnotice.php script remove the related comments from the comments file. I believe this works properly in the straight photo (non-classified) application and that code needs to be inserted into the classifieds. The orphaned comments still display in the short list of comments on the main page.
Also, I know this was raised elsewhere, but I don't think it was addressed. What about the SOLD ads? They should be treated like expired ads as far as removing them from the files. They are not displayed after x amount of time, but the count of them and the record of them (and their comments) are still there.
|