Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
I had not been allowing users to upload avatars but am attempting to change that. The avatar uploads directory is 777 and the test.file uploads when I "Click to test directory".

When I go to "Edit Profile" and browse to select an avatar image to upload all seems fine. I receive a message that the settings were changed. The correct image path appears when viewing source on a thread but no avatar appears. The file was not uploaded to the avatar directory.

Any ideas what needs to be done? What script controls the upload? Perhaps I removed the script at one point for security purposes...

Still using version 7.5.3


UBB user since 1998
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
It looks like I found the problem. I had the path to the avatar directory as "../useravatars" which worked fine for uploading the test file but to actually upload avatars the full path was required - i.e "/home/myaccount/public_html/forums/useravatars"


UBB user since 1998
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Well for those items you can't use relative paths just like the attachments option.
It will work okay in the control panel. but once you are in the forum,Not.
But you got it figured out anyway.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 834 guests, and 246 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)