• In Chat
  • About
  • Contact
  • Browse

    Latest Coding

    Latest Daily

    Latest Health

    Featured Story

Coding 2018

| Begin | File Bank |  Register | Reply | Search | Statistics | Manual |
Site Coding Coding / Site Coding /  

Avatar upload and display fix

Author Admin

#1 | Posted: 18 Oct 2018 09:37 | Edited by: Admin 
I have altered the addon_avatar_options file so that only one path is used for the uploads ...

/* Avatar add-on settings */

avatarDir='../intro/shared_files/avatars'; //general path to your directory, where "avatars" directory will be CREATED and used. On Linux/FreeBSD/Unix systems, it must have 0777 privileges. Many miniBB plugins will use this directory, so if you already have one, it is better to keep one directory for all shared files. No slash at the end!

avatarUrl="/intro/shared_files/avatars"; //general WWW path to avatars images. No slash at the end.

The above makes the upload process use the same directory, along with the forums all displaying the same path.

PS: I have left off the $ symbol from avatarDir and avatarUrL as the forum will not allow it.
Website Designer

Your Reply Click this icon to move up to the quoted message

Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Coding Powered by Forum Software miniBB ®
Online now: Guests - 1
Members - 0
Max. ever online: 33 [10 May 2019 12:44]
Guests - 33 / Members - 0
No Of Posts

  • Latest Daily Post ...

  • Latest Health Post ...


Phone: +01 0775 8107 427



email icon Mark Jones

Latest Story


  • Copyright © 2018 MKJ Brainwaving