1
mjz55
Install gallery 2 in Xoops 2.0.16
  • 2007/1/22 16:23

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Can anybody do this for me? I've ftp'd it to my server but I have no clue what to do, even after reading the readme 10 times.


My server is linux operating system, apache version 1.3.37 unix, php version 4.4.4

2
Will_H
Re: Install gallery 2
  • 2007/1/22 16:53

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


admin > system > modules > scroll down to bottom > click the disks.

3
mjz55
Re: Install gallery 2
  • 2007/1/22 18:12

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


This is what he wants done, I haven't the clue...

UPLOAD and CREATE PHOTO STORAGE DIRECTORY
2. Expand the XoopsGallery2 module in the modules area and change to a name of your choice.
(new feature initally it is xg2.1 but you can rename it to anything you like,
except pre-existing names, duh)
a. This is done like every other installed module (dont initalize yet)
b. Module in place. Time to initialize components... but...

3. Prior to initializing Gallery2 create a directory for the gallery data.
a. It is highly recommended that the directory be *outside* the website root
b. Directory location example (*nix/*bsd):
i. /server/html/ <-- server root
ii. /server/xg2data <-- suggested location for gallery data
iii. Can be anywhere you want, really!
c. Make the data storage directory accessible by the web server group
d. Example (*nix/*bsd):
i. Web server group is called 'apache'
ii. Your name is 'user'
iii. chown -R user:apache /server/xg2data
iv. chmod 774 /server/xg2data/*
e. Gallery2 data directory is setup

III. INSTALL GALLERY 2
4. Initialize Gallery2.
a. Go to www.yourdomain.com/modules/yourgalleryname/engine/install:
b. Follow the instructions!
c. You will need to upload an authorization text file to the gallery2 (aka engine) directory
i. /server/path/to/html/modules/yourgalleryname/engine
d. You will need to make the empty engine/config.php file writable by the webserver.
i. change permissions to 777 for config.php or at least 666 for write ability.
e. If you are not using the existing XOOPS database, you will need to have one ready prior to the Gallery2 initialization
i. you will need hostname (localhost if on same server), database name, user access name and password.
e. Follow the Gallery2 install instructions, they work!
i. the files are correct to version 2.1 RC2a but you may see 18 "issues".
f. Gallery 2 is installed.

IV. INSTALL XoopsGallery MODULE
5. Initialize XoopsGallery2 module
a. Like any XOOPS module (If you dont know, you aren't ready for this alpha)
i. go to administration section and initilize the module
ii. change the prefferences to fit your server settings (My guesses should be correct, *should*)
iii. create at least the main menu block to show up on the gallery page.
iv. go to the admin menu of the gallery module and click on the Export me link
v. done.

6. Go to the XoopsGallery2 module and see if you can admin the gallery.
a. I suggest useing the XOOPS theme, not perfect but works for me. Also. edit the gallery2 XOOPS theme to suit your needs.
b. If so then you have the option of changing the /module/yourgalleryname/engine/config.php file to be a embed only install
c. This is recommended after everything works the way you want.
d. If something doesnt work correctly, you can login to gallery2 directly (if you didn't follow b above)
i.http://youweb.com/modules/yourgalleryname/engine*/

4
jensclas
Re: Install gallery 2

Hmmm...lets see if we can clarify this: (Note - i have not installed this module myself but this is how I interpret these instructions)

If you already have a XOOPS database:
1. Use normal download and unzip procedures for the module.
2. USE FTP to UPLOAD and CREATE PHOTO STORAGE DIRECTORY
2a.Name change: You can rename xg2 to anything you like except pre-existing names. Expand the XoopsGallery2 module in the modules folderand change to a name of your choice.

2b.Create a directory (folder)called 'xg2data' for the gallery data. It is highly recommended that the directory be *outside* the website root
Directory location example
i. /server/html/ <-- server root
ii. /server/xg2data <-- suggested location for gallery data
iii. Can be anywhere you want, really!

2c. Make the data storage directory accessible by the web server group - look at the folder permissions via your ftp and make sure this is what is included
Example (*nix/*bsd):
i. Web server group is called 'apache'
ii. Your name is 'user'
iii. chown -R user:apache /server/xg2data
iv. chmod 774 /server/xg2data/*


3. Initialise GALLERY 2 (it is unclear if 3b should be completed before or after 3b)
3a. To Initialize Gallery2 Go to www.yourdomain.com/modules/yourgalleryname/engine/install:
Follow the instructions!
3b. Open a plain text editor and create an empty file called config.php This is your 'authorization text file' refered to in the next step.
3c. Upload theauthorization text file to the gallery2 directory /server/path/to/html/modules/yourgalleryname/engine
3d. Make the empty engine/config.php file writable by the webserver. Change permissions to 777 for config.php or at least 666 for write ability.

4. INSTALL XoopsGallery MODULE
Like any XOOPS module
4a. go to administration section and install the module from available modules
4b. change the preferences to fit your server settings (My guesses should be correct, *should*)
4c. create at least the main menu block to show up on the gallery page.
4d. go to the admin menu of the gallery module and click on the Export me link


5. Test it out:
5a. Go to the XoopsGallery2 module and see if you can admin the gallery. I suggest using the XOOPS theme, not perfect but works for me. Also you can edit the gallery2 XOOPS theme to suit your needs. If so then you have the option of changing the /module/yourgalleryname/engine/config.php file to be a embed only install
This is recommended after everything works the way you want.
5b. If something doesnt work correctly, you can login to gallery2 directly (if you didn't follow b above)
http://youweb.com/modules/yourgalleryname/engine*/


If you do not have a XOOPS database do this first:

You will need to have one ready prior to the Gallery2 initialization
you will need hostname (localhost if on same server), database name, user access name and password.
Follow the Gallery2 install instructions, they work!

5
mjz55
Re: Install gallery 2
  • 2007/1/22 20:06

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


I don't know what this is...

2c. Make the data storage directory accessible by the web server group - look at the folder permissions via your ftp and make sure this is what is included
Example (*nix/*bsd):
i. Web server group is called 'apache'
ii. Your name is 'user'
iii. chown -R user:apache /server/xg2data
iv. chmod 774 /server/xg2data/*


I don't know what this is...

If you do not have a XOOPS database do this first:
You will need to have one ready prior to the Gallery2 initialization
you will need hostname (localhost if on same server), database name, user access name and password.
Follow the Gallery2 install instructions, they work![/quote]*/


I get errors when I do the following:

1. Export admin to the image gallery here
2. Export All XOOPS users to the image gallery here
3. Export All XOOPS groups to the image gallery here

Login

Who's Online

189 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

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

Latest GitHub Commits