Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 39

Thread: Profile Image

  1. #21
    Junior Member
    Join Date
    Jan 2011
    Location
    Bangkok, Thailand
    Posts
    29
    Thanks
    8
    Thanked 3 Times in 2 Posts

    Default

    1. After following all the instructions I get this error message:
    "Warning: copy(content/images/profile_images/siteadmin.jpg) [function.copy]: failed to open stream: Permission denied in /home/xxxx/public_html/dc/content/plugins/profile_image/templates/upload.php on line 88"
    I've chmod upload,php to 777

    2. I uploaded the gravatar.php to the gravatar folder in the plugin directory - is that correct? The instructions are not clear and I'm new at this.

    It would be nice to get this sorted out

  2. #22
    Member sachingk's Avatar
    Join Date
    Sep 2010
    Location
    India , Bangalore
    Posts
    75
    Thanks
    21
    Thanked 46 Times in 15 Posts

    Default

    Hi dragon,

    1. Please try changing the chmod of content/images/profile_images/ folder to 777.

    2. The upload location is right.

    Thank you.

  3. Thanked by:


  4. #23
    Junior Member
    Join Date
    Jan 2011
    Location
    Bangkok, Thailand
    Posts
    29
    Thanks
    8
    Thanked 3 Times in 2 Posts

    Default

    That did the trick! Many thanks

  5. #24
    Junior Member scw's Avatar
    Join Date
    Jan 2011
    Location
    California
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Hello,
    I followed the install instructions and have successfully installed the profile_image plugin and it is active under Manage Plugins. I also installed your gravatar.php file in the gravatar plugin folder and created the appropriate image folder.
    However, I do not see the ability to upload an image in my admin profile area, nor does the gravatar plugin appear to be disabled (e.g., still showing green light in the Plugin Management area). I manually turned it off, but this did not improve my results. I simply don't see an upload area for profile images.
    What am I doing wrong?

  6. #25
    Junior Member
    Join Date
    Jul 2010
    Posts
    25
    Thanks
    7
    Thanked 5 Times in 5 Posts

    Default

    Hmm, did you put the plugin hook on the users_edit_profile.php file? It's in the users plugin (root/content/plugins/users/templates/ I think...)

    That's my guess. Can you give a link to the site? Thanks

  7. #26
    Junior Member scw's Avatar
    Join Date
    Jan 2011
    Location
    California
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by mneodor87 View Post
    Hmm, did you put the plugin hook on the users_edit_profile.php file? It's in the users plugin (root/content/plugins/users/templates/ I think...)

    That's my guess. Can you give a link to the site? Thanks
    I hadn't installed the hook - the documentation said, "where ever you want the plugin to appear," but I wasn't sure which file to edit.

    The hook is now in place and I can see the ability to upload a photo to the profile, however, after uploading a new image, the default_80.png still displays. And, there are no images in the content/images/profile_images folder. I have Hotaru installed in a subfolder (e.g. mysite/seo-blog/), so I even tried using absolute paths in the gravatar and upload files but it still didn't work either. I also changed permissions on the images/profile_images folders to 777 and I still can't get the "uploaded" image to appear in the folder and/or replace the default.

    Link to installation

    Thanks for your help - it is appreciated!

  8. #27
    Junior Member
    Join Date
    Jul 2010
    Posts
    25
    Thanks
    7
    Thanked 5 Times in 5 Posts

    Default

    OK, I tried it and it didn't work for me either. I pressed "upload," got a success message, but it still showed the default image.

    If you have it in a subfolder, I wonder if it's getting the directory confused? Maybe you can try to make the profile_image folder in a new directory that follows the normal path...It's worth a shot! Try going to your home directory and then creating folders in the same order as Hotaru when *not* installed in a subfolder. For instance, make a "content" folder in your main directory. Inside that folder make a folder called "images" and then inside that folder make a folder called "profile_images" and set it to 777 and that might work.

  9. #28
    Junior Member scw's Avatar
    Join Date
    Jan 2011
    Location
    California
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by mneodor87 View Post
    OK, I tried it and it didn't work for me either. I pressed "upload," got a success message, but it still showed the default image.

    If you have it in a subfolder, I wonder if it's getting the directory confused? Maybe you can try to make the profile_image folder in a new directory that follows the normal path...It's worth a shot! Try going to your home directory and then creating folders in the same order as Hotaru when *not* installed in a subfolder. For instance, make a "content" folder in your main directory. Inside that folder make a folder called "images" and then inside that folder make a folder called "profile_images" and set it to 777 and that might work.
    Thanks for giving a shot. I tried your suggestion, but it still does the same thing (i.e., success message, but when I look in the profile_images folder - it is empty).
    Hmm....

  10. #29
    Junior Member
    Join Date
    Jul 2010
    Posts
    25
    Thanks
    7
    Thanked 5 Times in 5 Posts

    Default

    OK, a .htaccess edit might do the trick. Open up the .htaccess file and where it says:

    ## Change to /folder if Hotaru is in a subfolder
    RewriteBase /

    Then add the subfolder name seo-blog after the / so it should be

    ## Change to /folder if Hotaru is in a subfolder
    RewriteBase /seo-blog/

    And make sure you include the trailing /

  11. #30
    Junior Member scw's Avatar
    Join Date
    Jan 2011
    Location
    California
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by mneodor87 View Post
    OK, a .htaccess edit might do the trick. Open up the .htaccess file and where it says:

    ## Change to /folder if Hotaru is in a subfolder
    RewriteBase /

    Then add the subfolder name seo-blog after the / so it should be

    ## Change to /folder if Hotaru is in a subfolder
    RewriteBase /seo-blog/

    And make sure you include the trailing /
    Nope. No change. As a matter of fact, I must have already done that, as it was in place (only without the trailing quote ;-) But, still, no difference.
    The author mentions that Gravatar will be disabled, but I don't see this happening either...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can User Add her won Avatar in Profile??
    By Tony in forum How-To and Troubleshooting
    Replies: 12
    Last Post: 11-08-2010, 01:04 AM
  2. Replies: 1
    Last Post: 09-03-2010, 07:37 AM
  3. How To Stop Profile Spam
    By Nick in forum How-To and Troubleshooting
    Replies: 0
    Last Post: 06-05-2010, 02:58 AM
  4. Where's the link to my profile?
    By nothingman in forum How-To and Troubleshooting
    Replies: 12
    Last Post: 11-20-2009, 12:16 PM
  5. [Done] Profile page
    By runnertalk in forum Plugin Suggestion Box
    Replies: 5
    Last Post: 10-08-2009, 03:46 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •