4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 24, 2017, 11:19:14 AM

Login with username, password and session length
Search:     Advanced search
You're looking for some 4images templates and styles? Then visit this thread to show websites with 4images templates to download.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Discussion & Troubleshooting (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  Number of user photos in profile with link.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Number of user photos in profile with link.  (Read 1790 times)
Offline Offline

Posts: 40

Thank You
-Given: 7
-Receive: 0

View Profile WWW
« on: February 17, 2012, 07:55:44 PM »

How can i show total number of user photos with the  link in profile?

Sorry i have already found
in member.php
$sql = "SELECT COUNT(image_id) AS totimg
         FROM ".IMAGES_TABLE."
         WHERE  user_id = $user_id";
    $result = $site_db->query($sql);
   $row = $site_db->fetch_array($result);
   $uploaded_images = $row['totimg'];
         "uploaded_imgs" => $uploaded_images,
in Member_profile.html past
     <td class="row1"><b>{lang_user_photos}</b></td>
     <td class="row1"><A href="{url_show_user_images}">{uploaded_imgs}</a></td>
« Last Edit: February 17, 2012, 08:37:35 PM by milanNN » Logged
4images Guru
Offline Offline

Posts: 4187

Thank You
-Given: 116
-Receive: 896


View Profile WWW
« Reply #1 on: February 18, 2012, 04:05:30 PM »

surely you mean the:

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite

Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.077 seconds with 20 queries.