Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FAP SUPPORT - User Profile UPLOAD AVATER Is Gone 
 
Howdy
after I installed the newest version of FAP I noticed that in my PROFILE view i no longer have the UPLOAD AVATAR FROM MACHINE option. Is that supposed to happen? How do users upload their own avatars?

Cheers
 



 
cwxtraSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
FAP should not have caused this....check that you have this enabled in your forum config.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
Hi Artie
You were corect about allowing users to upload. I had this option set to YES before installing FAP...guess during the install A setting had changed back to NO.
But I still cannot use FAP to SET AS AVATAR. There is a USERS folder under../images/avatars/users.  Is that where FAP is supposed to deposit the avatars when this feature is used?? (I'm a real NOOB to all this stuff    if you couldn't already tell) Can you please give me some direction as to how I can trouble-shoot this problem? Please?

cwxtra
 



 
cwxtraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
It should put them under images/avatars ... same location as a user avatar upload would be placed.

Can you see the SET AS AVATAR link below your pic?
If yes, what happens when you click on it .... error, nothing, or something else ?
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
I'll start with letting you know my ACP settings:

Quote:
Avatar Storage Path
Path under your phpBB root dir, e.g. images/avatars = images/avatars/users
    
Avatar Gallery Path
Path under your phpBB root dir for pre-loaded images, e.g. images/avatars/gallery = images/avatars/gallery


Here is the error generated when I try to UPLOAD AVATAR FROM YOUR MACHINE:

Quote:
Warning: copy(./images/avatars/users/1662776893462c138dc8533.gif) [function.copy]: failed to open stream: Permission denied in /www/5gbfree.com/c/w/x/cwxtra/htdocs/forum/includes/usercp_avatar.php on line 288

Warning: Cannot modify header information - headers already sent by (output started at /www/5gbfree.com/c/w/x/cwxtra/htdocs/forum/includes/usercp_avatar.php:288) in /www/5gbfree.com/c/w/x/cwxtra/htdocs/forum/includes/page_header.php on line 492

Warning: Cannot modify header information - headers already sent by (output started at /www/5gbfree.com/c/w/x/cwxtra/htdocs/forum/includes/usercp_avatar.php:288) in /www/5gbfree.com/c/w/x/cwxtra/htdocs/forum/includes/page_header.php on line 494

Warning: Cannot modify header information - headers already sent by (output started at /www/5gbfree.com/c/w/x/cwxtra/htdocs/forum/includes/usercp_avatar.php:288) in /www/5gbfree.com/c/w/x/cwxtra/htdocs/forum/includes/page_header.php on line 495


I don't know what all that jargon means......

NOW...for the SET AS AVATAR link...everything seems to work as it should (to a point). By "work, I mean that the page changes and I get this message:

Quote:
Your profile avatar has been updated.
Click here to go to image category.
Click here to go to image.


....but still no avatar displayed in my PROFILE or beside any of my posts.

***NOTE*** When I installed FAP I followed your guide/instruction posting...I chose to ignore the part about the CGI-BIN stuff. Could that be causing the problem? I don't quite understand where to create  this directory or what I need to do in the ACP with it.

Thanks for working with me on this one Artie    I greatly appreciate it
 



 
cwxtraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
I think your problem is not FAP related, but more of a problem with your phpBB installation.
Looks as though you have not set the permissions on your avatar folders.

phpBB Docs wrote: 
8.i. Uploadable avatars

phpBB 2 supports several methods for allowing users to select their own avatar (an avatar is a small image generally unique to a user and displayed just below their username in posts).

Two of these options allow users to upload an avatar from their machine or a remote location (via a URL). If you wish to enable this function you should first ensure the correct paths for uploadeable avatars is set in Admin -> General -> Configuration -> Avatars. By default this is images/avatars but you can set it to whatever you like, just ensure the configuration setting is updated. You must also ensure this directory can be written to by the webserver. Usually this means you have to alter its permissions to allow anyone to read and write to. Exactly how you should do this depends on your ftp client or server operating system.

On UNIX systems for example you set the directory to a+rwx (or ugo+rwx or even 777). This can be done from a command line on your server using chmod or via your FTP client (using the Change Permissions, chmod or other Permissions dialoge box, see your FTP clients documentation for help). Most FTP clients list permissions in the form of User (Read, Write, Execute), Group (Read, Write, Execute) and Other (Read, Write, Execute). You need to tick all of these boxes to set correct permissions.

On Windows system you need to ensure the directory is not write-protected and that it has global write permissions (see your servers documentation or contact your hosting provider if you are unsure on how to achieve this).

Please be aware that setting a directories permissions to global write access is a potential security issue. While it is unlikely that anything nasty will occur (such as all the avatars being deleted) there are always people out there out to cause trouble. Therefore you should monitor this directory and if possible make regular backups.

 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
Artie wrote: [View Post]
I think your problem is not FAP related, but more of a problem with your phpBB installation.
Looks as though you have not set the permissions on your avatar folders.

phpBB Docs wrote: 
8.i. Uploadable avatars

phpBB 2 supports several methods for allowing users to select their own avatar (an avatar is a small image generally unique to a user and displayed just below their username in posts).

Two of these options allow users to upload an avatar from their machine or a remote location (via a URL). If you wish to enable this function you should first ensure the correct paths for uploadeable avatars is set in Admin -> General -> Configuration -> Avatars. By default this is images/avatars but you can set it to whatever you like, just ensure the configuration setting is updated. You must also ensure this directory can be written to by the webserver. Usually this means you have to alter its permissions to allow anyone to read and write to. Exactly how you should do this depends on your ftp client or server operating system.

On UNIX systems for example you set the directory to a+rwx (or ugo+rwx or even 777). This can be done from a command line on your server using chmod or via your FTP client (using the Change Permissions, chmod or other Permissions dialoge box, see your FTP clients documentation for help). Most FTP clients list permissions in the form of User (Read, Write, Execute), Group (Read, Write, Execute) and Other (Read, Write, Execute). You need to tick all of these boxes to set correct permissions.

On Windows system you need to ensure the directory is not write-protected and that it has global write permissions (see your servers documentation or contact your hosting provider if you are unsure on how to achieve this).

Please be aware that setting a directories permissions to global write access is a potential security issue. While it is unlikely that anything nasty will occur (such as all the avatars being deleted) there are always people out there out to cause trouble. Therefore you should monitor this directory and if possible make regular backups.


Not sure about that Artie, since I was able to upload a test avatar for myself PRIOR to installing FAP. If this article is correct, how can I change the global write permissions for that folder? Do I change it by re-uploading the USERS folder as CHMOD 777???
 



 
cwxtraSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
Hi, I have installed FAP 1.4.1 on phpbb 2.0.21 ( not IcyPhoenix )
Is the feature, "Set as avatar" inbuilt for FAP 1.4.1 ?
If yes, I dont see any such option under uploaded pictures in user personal galleries. Am I missing something ?
 



 
nimsSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
There's an option in the ACP to allow users to use there own images as avatar.
If enabled the user should see the Set as Avatar link under their pic in any category.

Note that this link will only appear under the thumbnails listed in the current category's block of pics.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
Oh how did I miss that  

Thanks Artie  
 



 
nimsSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Profile UPLOAD AVATER Is Gone 
 
You're quite welcome.
 



 
ArtieSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events