Would like some help with a few lines of code.
This is a great module, and the last few bugs are being actively addressed, so I'd like to make good use of it.
Here's the objective of a simple change I'm trying to make: Simply to reserve one top level category for Admin-only posting.
In the List.php file, which controls the posting of new ads, around line 107 (I think) I'd like to add one more condition, which would reserve the first category (root_id=1) for the Admin (user_id=1). As a non-programmer I'm guessing that, if the poster selects this category to post in root_id=1), the code may need to check to see if this user's id is user #1 in the SQL users table, or echo "Sorry, you cannot post to this category".
Code
elseif($nbcat=root_id=1)&&(user_id=not 1)
echo "Sorry, you cannot post to this category"
include("footer.php");
echo "Sorry, you cannot post to this category"
include("footer.php");
Can someone help with this, or point me in the right direction to figure it out? (W3 hasn't really helped)
Current version of module is here:
http://www.technivore.info/Telechargements-2.html
