Page 4 of 4 FirstFirst ... 234
Results 31 to 39 of 39

Thread: Profile Image

  1. #31
    Member
    Join Date
    Feb 2011
    Posts
    92
    Thanks
    13
    Thanked 1 Time in 1 Post

    Default

    EDIT: Sachingk gravitar is different for he disabled avatar. And his reasoning might be just - people do not know what is an avatar for someone mention joining the two together - show avatar image or profile image.
    Sachingk gravitar should be called sgravitar (suggestiion for s represents special Sachingk since he is the developer). This name would avoid confusion years down the road in a production environment - we forget that there are two gravitar and they are different.
    In my case, I did not install any gravitar. Thus I download Nick`s gravitar and then replace gravitar.php with saching`s gravitar. It would be nice if sachingk did this step for me by having the sgravitar in its own folder with its required (own folder, readme, etc) for user to install. Similarity, profile_image to install that. Thus 3 readme, readme1 info about the two folder overview on what to do. Readme2 insidie sgravitar folder with info on ithat install. Readme3 inside profile_image folder with that install.
    Have not tested but believe I had no problem. Remember,plugin/xxx folder with xxx.php content and not plugin/profile_image folder/profile_image folder.
    It hard for me to type for my eyes are going and I hope u appreciate the time for this suggestion and some useful instructions. tx

    SachingK gravitar should be the official gravitar? User can upload there avatar. In this case, it can be a profile image, an avatar image, etc.

    Edit Mar 26: 1) How can I differentiate SachingK modify gravitar from Nick gravitar? I cannot for there is no mention in SachingK modify gravitar; he provided in profile_image .7 folder. Strongly suggest a mention in the comment or joint authors in that modify gravitar to avoid users problems in the future. We need to differentiate for there is no modify log in that hack gravitar. We can forget in about 2 years if we have to maintain without realizing the two different gravitar.
    2) Profile image folder is call .7 but profile image in plugin management for that plugin is showing .5. Mention by a couple of users. \content\imagesprofile_images folder need to be created reminder.
    3) U upload in your edit profile if u are wondering and please do not forget to code as suggested in the install steps.
    <?php echo $h->showMessage(); ?>
    // insertion code below as suggested in forum
    <?php $h->pluginHook('profile_image'); ?>
    4) Install and running. Remember, u can change the kb size in upload.php {define ("MAX_SIZE","100");} and image size mention in posting. tx
    Last edited by scrt; 03-27-2011 at 02:25 AM.

  2. #32
    Senior Member
    Join Date
    Oct 2011
    Posts
    135
    Thanks
    18
    Thanked 8 Times in 8 Posts

    Default

    Important:

    When any user upload a new image, that image become the avatar for ALL users.

    in other words:

    any image uploaded by any user becomes the default avatar image for all users!!!

    Exemple:

    user1 uses the default avatar.

    user2 send a new image file to change his avatar.

    user2 now see all users avatars with the same image he just uploaded, including those on post listing and coments, the same for all users.

    when user1 (who never changed the avatar and uses the default avatar) log in, all other users avatars, including user2 avatar are the same default image.


    something really strange going on here.

    im using hotaru 142 and hotarufiltr theme.

    i really need that profile image working, or i cant put my site on production mode.

    guys, PLS help me.
    Last edited by frytec; 10-31-2011 at 07:18 PM.

  3. #33
    Senior Member
    Join Date
    Jun 2011
    Location
    Thailand
    Posts
    294
    Thanks
    0
    Thanked 69 Times in 63 Posts

    Default

    Did you also install gravatar plugin and replace gravatar.php?

  4. #34
    Senior Member
    Join Date
    Oct 2011
    Posts
    135
    Thanks
    18
    Thanked 8 Times in 8 Posts

    Default

    i redownloaded and reinstalled the plugin and i think its working porperly now.
    thank you.

  5. #35
    Junior Member
    Join Date
    Oct 2011
    Location
    Mumbai, Maharashtra, India
    Posts
    18
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Could some one please elaborate the second step?
    Where exactly I need to put this line of code?

    Step 2 : Use the plugin hook to display the plugin where ever you want
    Code:
    <?php $h->pluginHook('profile_image'); ?>

  6. #36
    Junior Member
    Join Date
    Dec 2011
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    how can i add this my site,bestsociallink.com

    i am new user of hataru cms,can anybody tell me with screenshoot.please

  7. #37
    Junior Member
    Join Date
    Dec 2011
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Nice and great Plug in.

  8. #38
    Member
    Join Date
    Dec 2011
    Location
    Estonia/Tallinn
    Posts
    56
    Thanks
    9
    Thanked 2 Times in 2 Posts

    Default

    plugin works, what I'm concerned about is just it copies image into webserver path and I can actually upload php code to hack site with extension .jpg and it'll put malicious PHP script into webservers space. Perhaps I shall use image functions and resize uploaded image to 80x80 pix as well...

  9. #39
    Senior Member
    Join Date
    Jun 2011
    Location
    Thailand
    Posts
    294
    Thanks
    0
    Thanked 69 Times in 63 Posts

    Default

    It doesn't matter you can upload it like that. You cannot run a file with jpg extension as php or html unless you configured your server intentionally to do so. And you are not allowed to do so if you do not have a dedicated server. Otherwise, it would be possible to hack any image sharing website.

    But it is a good practice to check for the real file type without relying on the extension. Sometimes extensions are not correct, although there is no malicious intention.

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, 02: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, 01: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
  •