Any help is greatly appreciated.
-Bb
leather wrote:
Looks Great. I am real new to Xoops, so bear with me. I had planed to go in an opposite direction and hack off "MyAds" Mod because the fields/categories are totally generic. This would be a "Members Recommend" and vote giving 1 to 5 stars recommendation.
I thought, you being in such a localized market in Folsom, that you might be interested in the voting aspect to increase your membership participation in your site. And this would give you additional local merchants to approach for your Highlighted listings.
If you’re interested in how the Star rating calculation works let me know.
Ron
This will "de-activate" the listing but keep the information in the database.
$xoopsDB->queryF("UPDATE ".$xoopsDB->prefix("ann_annonces")." SET valid='no' WHERE lid='$lids'");
and this will completely remove the listing from the DB
$xoopsDB->queryF("delete from".$xoopsDB->prefix("ann_annonces")." WHERE lid='$lids'");