Just a quick question...I have managed to get the photo image where i need it to go except on one page ...this is from a mod called the friends mod but I cannot seem to get it to show he users image only the default no image ....

/*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/

// JASON'S MODIFICATION // DESC: A little tricky though, adds the username to $declined_users // if it was originally declined... while( $row = $db->sql_fetchrow($result) ) { // since what is approved is also deleted in FRIENDS_PENDING_TABLE, // we will first scan if the user was originally added... // If the user was originally declined, they will only appear here and not in $sqlinsert. $approved_users_arr = explode("," , $approved_users); if (!in_array($row['username'], $approved_users_arr)) { $declined_users .= $row['username'] . ','; } } // ENDJMOD } else { $sqlupdate .= $new_pf[$i] . ",";

// JASON'S MODIFICATION // DESC: add the username to $approved_comments, to be used later in $result_submit_msg // Also added some checks so that if 2 comments from one user was approved, // the notification will appear only once and not user1, user2, user1, user3 while( $row = $db->sql_fetchrow($result) ) { $approved_comments_arr = explode("," , $approved_comments); if (!in_array($row['username'], $approved_comments_arr)) { $approved_comments .= $row['username'] . ','; } } // ENDJMOD

Thank you.
I also have the problem of not getting the image to show up when trying to include the picture to the users Blog pages. I only get the default 'no image'.
I tried searching the topic but did not find an solution.

The problem is $profiledata['user_id'] and contains the ID of the user, whose profile is indicated. This variable is only available in the usercp_profile.php.
You must find a equivalent variable wich is available in the weblogs.php. I don't now that MOD. Therefore I cannot help you there.

Ok.....not sure why the other post got locked.......but from your response with the link......I am still unsure as to what code to use. Sorry, but could you expand a little on it please? I just need to know how to put that pic from the profile on another page. Thanks again.