1
macmend
xcgal batch upload - how to choose directory?
  • 2008/11/18 3:12

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


in xcgal 2.04 I want to batch upload but when I clcik on batch upload in the admin area or user area I get a page that says:

"This function allows you to add a batch of picture that your have uploaded on your server by FTP.

Select the directory where you have uploaded your pictures"

there is nowhere to select the batch directory or have I misunderstood something

Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

2
ghia
Re: xcgal batch upload - how to choose directory?
  • 2008/11/18 9:59

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The directory select can select the (sub)directories created by FTP. The root directory, where it starts from is found in the preferences (album directory and user pictures directory) and is by default albums and userpics.
So you have /modules/xcgal/albums/userpics/. In this directory you create the directory for the users by adding 10000 by their User ID. Eg. the admin uid=1 gets 10001 as directory.
Create it with FTP. In this directory you can create and organise your picture directories as you like with FTP and upload pictures into it.
Check that the directories are writable, but if albums and albums/userpics are, then the created subdirectories should get these attributes automatic.
You will then find the created directories in the overview from XcGal.

3
macmend
Re: xcgal batch upload - how to choose directory?
  • 2008/11/18 18:41

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


yes but nothing comes up the lines of words

are you saying I have to create a directory first in a particular place or is something else going wrong
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

4
ghia
Re: xcgal batch upload - how to choose directory?
  • 2008/11/18 19:15

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
are you saying I have to create a directory first in a particular place
Yes.

5
skenow
Re: xcgal batch upload - how to choose directory?
  • 2008/11/19 3:35

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


...and make sure the read/write properties are set properly. You may need to adjust modules/xcgal/albums/ and modules/xcgal/albums/userpics/ (the default directories) to 777

Login

Who's Online

334 user(s) are online (266 user(s) are browsing Support Forums)


Members: 0


Guests: 334


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits