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?
Could you tell me how can i do it?
You're looking for some 4images templates and styles? Then visit this thread to show websites with 4images templates to download.
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.
WHERE user_id = ".$user_row['user_id']."";This is better but table is blue still and no number of view of photos.
:
try this:All users have the same number of photos. It's not good.
WHERE user_id = ".$user_info['user_id']."";
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
Thank you!Could you tell me how can i hide e-mail?only the admin mail:
....
search:
$select .= "<option value=\"".$row['user_email']."\">» ".format_text($row['user_name'], 2)." (".$row['user_email'].")</option>\n";
and replace:
$select .= "<option value=\"".$row['user_email']."\">» ".format_text($row['user_name'], 2)." </option>\n";