Well userid is suppose to be the userid of the person whom placed the ad and if they are the ones editing there ad it would work fine which is why it worked for me
But at least now we know you are using code that works.
Try editing your editproduct.tmpl and find this line
Code:
Content visible to verified customers only.
try changing that to this
Code:
Content visible to verified customers only.