Page 1 of 4 123 ... LastLast
Results 1 to 10 of 39

Thread: Profile Image

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

    Default Profile Image

    Plugin Name : Profile Image
    Version:0.6
    Author:Sachin G Kulkarni
    Created on: 2010/11/08
    Last Updated: 2010/11/08
    Tested on: 1.4.1
    Plugins Required: Gravatar
    Plug & Play: No - Needs (template / plugin ) edits.
    Supported: YES

    Description
    This plugin allows the users to upload their profile image in the profile page.

    Instructions
    Installation of this plugin takes 4 steps . The same are listed below

    Step 1 : Upload the profile_image folder to plugin folder of Hotaru CMS and install it form plugin manager .

    Step 2 : Use the plugin hook to display the plugin where ever you want
    Code:
     <?php $h->pluginHook('profile_image');  ?>
    Step 3 : Now Please replace the gravatar.php with my gravatar.php below.

    gravatar.php


    Step 4 : Create a folder in the content folder of Hotor CMS. Name it as images. Inside that folder create one more folder by name profile_images.

    Now your plugin has to work.

    Note : This Plug in will disable Gravatar . The images will not to grabbed from Gravatar accounts. I have to do this because author has hard-coded this feature every where. So i have to edit the plug in itself.

    Revision History
    Version 0.5 2010/11/08 - The plugin is tested and working fine.
    Version 0.6 2010/11/09 - Bug fix for gif and jpeg type images . Delete image button added.
    Version 0.7 2010/17/09 - The user image problem and user friendly URL path problem fixed.

    Please click "Rate Thread" and give this plugin a rating. Thank you.
    Attached Thumbnails Attached Thumbnails Profile_img.jpg  
    Attached Files Attached Files
    Last edited by sachingk; 11-17-2010 at 01:18 AM. Reason: Added a Note to the Users


  2. #2
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    481
    Thanked 805 Times in 526 Posts

    Default

    Thank you very much for developing this plugin, sachingk! It's something that a lot of people have requested.

  3. #3
    Senior Member
    Join Date
    Sep 2009
    Posts
    429
    Thanks
    157
    Thanked 54 Times in 41 Posts

    Default

    Will test it right away! Thanks a lot for this Sachin.

  4. #4
    Admin & Design JonH's Avatar
    Join Date
    Jun 2009
    Location
    New Braunfels, Texas
    Posts
    248
    Thanks
    57
    Thanked 49 Times in 30 Posts

    Default

    This is great for sites that have a less techy member base. Unfortunately some people still don't know what a Gravatar is!

  5. #5
    Senior Member kmai's Avatar
    Join Date
    Apr 2010
    Posts
    150
    Thanks
    43
    Thanked 15 Times in 13 Posts

    Default

    Hi sachingk,

    Thanks for the plugin I had this desire for a long time
    look http://forums.hotarucms.org/showthre...778&viewfull=1 # post7778
    is people like you who are needing hotaruCms with vision and wanting to take the hotaruCms the sameness of other cms
    if you look Requests for Paid Services you will realize that we feel that there is no programmer for HotaruCms
    and requests are to be paid
    whenever you can help us

    Thank you very much

  6. Thanked by:


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

    Default

    Hi Kmai ,

    Thanks for using my plug-in.... Please feel free to report bugs in this plug-in so that i can solve them.

    Thanks once again.

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

    Default

    Thanks sachingk! I put the line from Step 2 right under <?php echo $h->showMessage(); ?> in the users_edit_profile.php file and that made it work great. Now each users' image is distinct.

  9. Thanked by:


  10. #8
    Design & Development petsagouris's Avatar
    Join Date
    Jul 2010
    Location
    Rethymno, Greece
    Posts
    314
    Blog Entries
    2
    Thanks
    54
    Thanked 137 Times in 102 Posts

    Default

    I've taken the liberty of adding this plugin to the SVN. For easier listing later on.

  11. Thanked by:


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

    Default

    Ya that's fine petsagouris!

  13. #10
    Donor Kyan's Avatar
    Join Date
    May 2010
    Location
    N/A
    Posts
    36
    Thanks
    35
    Thanked 25 Times in 5 Posts

    Default

    This is a very needed plug-in, so thank you! Unfortunately, it is not working for me. I downloaded version 0.7, but installed in the admin panel it is labelled 0.5. Maybe just a version number error? I used the gravatar.php in the post and cleared all the cache, etc. Any idea what else I should look at? Hotaru itself is up-to-date.

    The problem is the upload. I can choose an image and it meets size & extension parameters and I see the tiny version of it next to the choose file button, but once the page refreshes nothing has changed and I still have the default hotaru avatar.

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
  •