Problem: Admin Upload Utility - Upload Gallery Avatars


  -----  
Author Message

portugas
Member

Wed Jan 03, 2007 5:52 am   Post subject: Problem: Admin Upload Utility - Upload Gallery Avatars
HI,

my avagallery.cfg is:
--------------------------------------------------------------
internal_name = avagallery
display_name = Gallery Avatars
max_filesize = 31000
max_width = 180
max_height = 180
min_width = 10
min_height = 10
table_columns = 5
file_path = images/avatars/gallery
db_path =
db = 0
tpl = 0
allow_overwrite = 1
allow_delete = 1
object_type = image
object_type_display = images
object_name = avatar
allowed_types = png,png
allowed_types = gif,gif
allowed_types = jpeg,jpg
allowed_types = pjpeg,jpg
allowed_types = jpg,jpg
----------------------------------------------
but NOT uploading the avatars, appear:
----------------------------------------------
AVAGALLERY_NO_PATH
----------------------------------------------

PLEASE HELP ME

my email is webportugas@gmail.com

Thanks...
 

Thoul
Administrator

Wed Jan 03, 2007 11:44 am   Post subject: re: Problem: Admin Upload Utility - Upload Gallery Avatars
Make sure you have an images/avatars/gallery directory in your site and some subdirectories in that. The files would be uploaded into those subdirectories.
 

portugas
Member

Wed Jan 03, 2007 2:45 pm   Post subject: re: Problem: Admin Upload Utility - Upload Gallery Avatars
My question is:

the original " avagallery.cfg " is

internal_name = avagallery
display_name = Gallery Avatars
max_filesize = 6144
max_width = 80
max_height = 80
min_width = 10
min_height = 10
table_columns = 5
file_path = {PHPBB_ROOT}{AVATAR_GALLERY_PATH}
db_path =
db = 0
tpl = 0
allow_overwrite = 1
allow_delete = 1
object_type = image
object_type_display = images
object_name = gallery avatar
allowed_types = png,png
allowed_types = gif,gif
allowed_types = jpeg,jpg
allowed_types = pjpeg,jpg
allowed_types = jpg,jpg


but my address prefeer is

file_path = images/avatars/gallery
db_path =

is correct this "file_path =" and "db_path =" ????

yes or no

the directories and subdirectories, images/avatars/gallery , exist in my forum but
when I make uploading the files.gif , not upload it,
appear

----------------------------------------------
AVAGALLERY_NO_PATH
----------------------------------------------

what is the problem?

help me please....

thanks
 

Thoul
Administrator

Wed Jan 03, 2007 3:08 pm   Post subject: re: Problem: Admin Upload Utility - Upload Gallery Avatars
The db_path is correct, but the file_path should at least begin with {PHPBB_ROOT}. This would be better:

file_path = {PHPBB_ROOT}images/avatars/gallery

Without the {PHPBB_ROOT} part, the path basically becomes admin/images/avatars/gallery.
 

portugas
Member

Wed Jan 03, 2007 3:31 pm   Post subject: re: Problem: Admin Upload Utility - Upload Gallery Avatars
Hi have change

file_path = {PHPBB_ROOT}images/avatars/gallery



but appear:
----------------------------------------------------------------
No avatar gallery subcategory selected. Please select a subcategory.
---------------------------------------------------------------




that I make, and where ????


EUREKA!!!!!!!!!Idea Idea Idea

i have created un subdirectorie in images/avatars/gallery/avt

and WORK fine.........

SOLVED problem




One more PROBLEM.......

NOT remove the avatars, LOOK:




that I make, and where ?





one more time THANKS
 

Thoul
Administrator

Wed Jan 03, 2007 6:20 pm   Post subject:
In module_avagallery.php, find this:

Code:

            'TEMPLATE' => ucfirst($cat),


Replace it with:

Code:

            'TEMPLATE' => $cat,
 

portugas
Member

Thu Jan 04, 2007 6:56 am   Post subject: re: Problem: Admin Upload Utility - Upload Gallery Avatars
MORE, MORE, MORE THANKS

Happy New Year

good job
 

Page 1 of 1
Display posts from previous: