Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

2.0.18b4. upload an avatar

haker270haker270 New
edited October 2011 in Vanilla 2.0 - 2.8
while user is uploading an avatar how is to make it saving in UPLOADS/USERPICS but not new folder? Engine version is Vanilla 2.0.18b4

Please, help me)
Tagged:

Best Answer

  • camocamo New
    edited October 2011 Answer ✓
    @hacker270 said "avatars of users are saving not into USERPICS but in new subfolders"

    I think this is supposed to happen, my /userpics/ folder is the same. a few suggestions...

    first see if disabling your chat allows avatars to show. Is the chat a plug in or a customisation? It may be messing something.

    If its not chat..
    **********************************
    Check .htaccess change rewrite base to /forum (IF your vanilla is in a sub folder called 'forum', or change to whatever its called, if its not in your root) dont forget remove '#' before 'rewrite base/'

    and in config.php make 'rewrite urls=True

    I had a problem with avatars not showing and this fixed it

    ****************************************************

    Try download folder /userpics/ (so you can replace it if this does not work)

    then delete /userpics/ from /uploads/

    try uploadng an avatar, see if it works.

    This worked for this person http://vanillaforums.org/discussion/comment/144327#Comment_144327

    If that does not work.....

    **********************************************************

    Try Upgrading

    to RC2 here https://github.com/vanillaforums/Garden/zipball/Vanilla_2.0.18rc2

    Read first http://vanillaforums.org/discussion/17371/vanilla-2.0.18-rc2-released/p1

    *SAVE YOUR ENTIRE 2.0.18b4 FOLDER FIRST, so you can replace your customisations, theme etc*

    delete all ini files in /cache

    Then Run utility/update/

    e.g http://www.yoursite/your forum/index.php?p=/utility/update

Answers

  • Hi,

    I have the same problem. The Forum says this Issue is answered but I can't find any answer on that. Can you guys give me a hint?

    CHMOD is 777
  • try CHMOD 755
  • Sorry guys, but in default settings in folder USERPICS i have CHMOD775, i have corrected on CHMOD777, but anyway avatars of users are saving not into USERPICS but in new subfolders. Pls, help me out on this issue. There is a chat integrated with forum installed, ie in chat you user's avatars and references to profile of user. There is a line ($avatar_url = str_replace( 'userpics/', 'userpics/n', $avatar_url ); ) where the pass to save avatars have to be written. After upgrading the enginepass of saving has changed and avatars of new users unable to be seen.
  • camocamo New
    edited October 2011 Answer ✓
    @hacker270 said "avatars of users are saving not into USERPICS but in new subfolders"

    I think this is supposed to happen, my /userpics/ folder is the same. a few suggestions...

    first see if disabling your chat allows avatars to show. Is the chat a plug in or a customisation? It may be messing something.

    If its not chat..
    **********************************
    Check .htaccess change rewrite base to /forum (IF your vanilla is in a sub folder called 'forum', or change to whatever its called, if its not in your root) dont forget remove '#' before 'rewrite base/'

    and in config.php make 'rewrite urls=True

    I had a problem with avatars not showing and this fixed it

    ****************************************************

    Try download folder /userpics/ (so you can replace it if this does not work)

    then delete /userpics/ from /uploads/

    try uploadng an avatar, see if it works.

    This worked for this person http://vanillaforums.org/discussion/comment/144327#Comment_144327

    If that does not work.....

    **********************************************************

    Try Upgrading

    to RC2 here https://github.com/vanillaforums/Garden/zipball/Vanilla_2.0.18rc2

    Read first http://vanillaforums.org/discussion/17371/vanilla-2.0.18-rc2-released/p1

    *SAVE YOUR ENTIRE 2.0.18b4 FOLDER FIRST, so you can replace your customisations, theme etc*

    delete all ini files in /cache

    Then Run utility/update/

    e.g http://www.yoursite/your forum/index.php?p=/utility/update

Sign In or Register to comment.