phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [ 100567 ] User Directiry Question


From: nobody
Subject: [Phpgroupware-tracker] [ 100567 ] User Directiry Question
Date: Fri, 20 Dec 2002 12:19:39 -0500


Support Request #100567, was updated on 2002-Mar-11 07:04
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100567&group_id=509

Category: Feature Request
Status: Open
Priority: 5
Summary: User Directiry Question

By: skwashd
Date: 2002-Sep-16 22:01
Logged In: YES 
user_id=2480
Browser: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826

Hey Aaron,

Just looked through the code and it is not possile at the
moment.  I have an idea for a quick hack that you may want
to use.  This applies to hr/view_image.php

Change line 38 to 40 so it reads
if(file_exist('images/'.$GLOBALS['phpgw_info']['user']['userid'].'jpg')
{
        $fh =
fopen('images/'.$GLOBALS['phpgw_info']['user']['userid'].'jpg',"r");
}
else
{
        $fh = fopen("images/blank_pic.jpg","r");
}

echo fread($fh,"1339");
fclose($fh);

then save the user photos as hr/images/{login_id}.jpg

This should give you what you want.  I will also mark this
as a feature request.

Cheers

----------------------------------------------------------------------

By: aaron.carr
Date: 2002-Mar-11 07:04
Logged In: NO 
Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)

I just want to know where to place photos, and what 
format they should be in in order that they turn up in 
the user directory under the users record instead of 
the "no picture available" photo being displayed.  Any 
tips here would be great.

Thanks.

Aaron

----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100567&group_id=509



reply via email to

[Prev in Thread] Current Thread [Next in Thread]