• 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
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: 4 [14 Oct 2018 12:43]
Guests - 2 / Members - 2
No Of Posts

  • Latest Daily Post ...

  • Latest Health Post ...

CONTACT

Phone: +01 0775 8107 427

sport4u2018@gmail.com

WEBMASTER

email icon Mark Jones

Latest Story

RANDOM CODING

  • Copyright © 2018 MKJ Brainwaving
↑ TOP