Show Posts

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.


Messages - milanNN

Pages: 1 2 [3]
31
Discussion & Troubleshooting / Change name of field in ACP.
« on: January 08, 2011, 10:32:48 PM »
I want  to change location and name of field in ACP.
Could you tell me how can i do it?

32
WHERE user_id ".$user_row['user_id']."";

 :?:
This is better but table is blue still and no number of view of photos.

33
try this:
WHERE user_id ".$user_info['user_id']."";
All users have the same number of photos. It's not good.

After Ctrl+A

34
I did it but i've got blue table (((
What is wrong?
How can i count total views of photos of the member?
Find:
Code: [Select]
  $sql = "SELECT COUNT(image_id) AS t_images
           FROM ".IMAGES_TABLE."
           WHERE user_id = $user_id";
   $count_t_images = $site_db->query_firstrow($sql);

Replace it with:
Code: [Select]
  $sql = "SELECT COUNT(image_id) AS t_images, SUM(image_hits) AS t_hits
           FROM ".IMAGES_TABLE."
           WHERE user_id = $user_id";
   $count = $site_db->query_firstrow($sql);
   $count_t_images = $count['t_images'];
   $count_t_hits = $count['t_hits'];

After that use $count_t_hits to display total image hits

35
How can i count total views of photos of the member?
And a how can  i change birthday date to ages? See attache.

36
Thank's.

37
Could you tell me. I need last accepted images be first after search. Is it possible?

38
Mods & Plugins (Releases & Support) / Re: [MOD] Contact Form
« on: December 30, 2010, 08:31:32 PM »
Could you tell me how can i hide e-mail?
....
only the admin mail:
search:
$select .= "<option value=\"".$row['user_email']."\">&raquo; ".format_text($row['user_name'], 2)." (".$row['user_email'].")</option>\n";

and replace:
$select .= "<option value=\"".$row['user_email']."\">&raquo; ".format_text($row['user_name'], 2)." </option>\n";

Thank you!

39
Mods & Plugins (Releases & Support) / Re: [MOD] Contact Form
« on: December 30, 2010, 07:15:02 PM »
Could you tell me how can i hide e-mail?
See attach.

40
I want to make Dropdown option for country for upload photos.
What files i have to edit?
db_field_definitions.php
$var = array("------------",
"---Africa---",
"Ethiopia",
"Somalia",
"South Africa",
"Other",
"---Middle East---",
"Egypt",
"Iran",
"Israel",
"Kuwait",
"Lebanon",
"Morocco",
"Saudi Arabia",
"Syria",
"Turkey",
"U. A. Emirates",
"Other",
"---Asia---",
"Armenia",
"Bangladesh",
"Cambodia",
"China",
"India",
"Indonesia",
"Japan",
"Malaysia",
"Myanmar",
"Nepal",
"Pakistan",
"Philippines",
"Singapore",
"South Korea",
"Sri Lanka",
"Taiwan",
"Thailand",
"Uzbekistan",
"Vietnam",
"Other",
"---Europe---",
"Albania",
"Austria",
"Belarus",
"Belgium",
"Bosnia",
"Bulgaria",
"Croatia",
"Cyprus",
"Czech Rep.",
"Denmark",
"Estonia",
"Finland",
"France",
"Germany",
"Greece",
"Hungary",
"Iceland",
"Ireland",
"Italy",
"Latvia",
"Liechtenstein",
"Lithuania",
"Luxembourg",
"Macedonia",
"Malta",
"Monaco",
"Netherlands",
"Norway",
"Poland",
"Portugal",
"Romania",
"Russia",
"Slovakia",
"Slovenia",
"Spain",
"Sweden",
"Switzerland",
"Ukraine",
"United Kingdom",
"Other",
"Australia",
"Australia",
"New Zealand",
"Other",
"---Latin America---",
"Costa Rica",
"Cuba",
"El Salvador",
"Guatemala",
"Haiti",
"Jamaica",
"Mexico",
"Panama",
"Other",
"---North America---",
"Canada",
"USA",
"Other",
"---South America---",
"Argentina",
"Bolivia",
"Brazil",
"Chile",
"Colombia",
"Ecuador",
"Paraguay",
"Peru",
"Suriname",
"Uruguay",
"Venezuela",
"Other"
);
$additional_image_fields['image_country'] = array($lang['image_country'], "dropdown"0$var0001);
main.php
$lang['image_country'] = "Country:";
member_uploadform.html
<tr>
     <td class="row2"><b>{lang_image_country}</b></td>
     <td class="row2">{image_country_dropdown} </td>
</tr>

What else?

Pages: 1 2 [3]