1
Mods & Plugins (Requests & Discussions) / Re: Make Default Search only for Image Name & Keywords
« on: April 03, 2006, 05:16:13 AM »
Ok, thanks
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
what do you mean?Thanks for the fix icecream. I got the problem solved. I wanted to send the money to the uploader of the image, so I had to get the uploader's email. I added
You mean the email from the user who want to buy the image?
if yes, the users email is already been parsed (if set) in the {buyer_emall} tag
$owner_email = $image_row['user_email'];
to details.php after the first sql query: $image_row = $site_db->query_firstrow($sql);
and added "owner_email" => $owner_email,
under the "Print Out" section. I used {owner_email}
on the details.html template file.
$sql = "SELECT cat_id, COUNT(*) AS num_images
FROM ".IMAGES_TABLE."
WHERE image_active = 1
GROUP BY cat_id";
$result = $site_db->query($sql);