Welcome, Guest. Please Login or Register.
July 20, 2019, 05:15:55 AM
Home Help Search Login Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod « previous next »
Pages: 1 [2] 3 4 ... 49 Reply Ignore Print
Author Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod  (Read 133912 times)
jthorpe
Sr. Member
****
Posts: 331



WWW
Re:[Beta] Gallery Mod
« Reply #15 on: November 09, 2002, 01:44:20 PM »
Reply with quote

I had no problems installing this one. I just tested it on another server.  No issues there either.  
Logged
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767



Re:[Beta] Gallery Mod
« Reply #16 on: November 09, 2002, 02:30:42 PM »
Reply with quote

Still wont get past that file permissions for me.

If i replace the install.php with that from the coppermine site.. then it continues to the mysql bit.

???
Logged
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767



Re:[Beta] Gallery Mod
« Reply #17 on: November 09, 2002, 03:10:20 PM »
Reply with quote

Still cant get this mod to work. It keeps complaining about dir/file permissions. I have double checked these and they are correct.

When I download the gallery from the coppermine site, it installs fine.

What changes have there been made to the Install.php?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]


Re:[Beta] Gallery Mod
« Reply #18 on: November 09, 2002, 04:36:36 PM »
Reply with quote

Quote
Things to do
CHMOD 777 these directories:
- gallery root directory (where this installer file is located)
- userpics directory (inside 'albums' directory)
- include directory


this part is only a reminder, if u have done it, u can ignore it and press the Lets go button
i should've reworded it better, sorry :P
DO NOT use the installer from original Coppermine script
because u'll find lots of different things

Quote

I get this error:
Code: [Select]
Could not create a mySQL connection, please check the SQL values entered
I did not  entered any...   where van I enter the SQL values?


u should install this mod in a subdirectory of YSE
because it will search for YSE Settings.php in the parent directory
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767



Re:[Beta] Gallery Mod
« Reply #19 on: November 09, 2002, 04:41:34 PM »
Reply with quote

when i pressed "lets go".. it just keeps coming back to the same page "change permissions... press lets go"

I only tried the coppermine installer to see if i was going mad or not  ;D
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]


Re:[Beta] Gallery Mod
« Reply #20 on: November 09, 2002, 05:53:49 PM »
Reply with quote

no other error message but that same page keep on showing over and over again?
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Eloya
Full Member
***
Posts: 127


Magistrat


WWW
Re:[Beta] Gallery Mod
« Reply #21 on: November 09, 2002, 06:35:06 PM »
Reply with quote

I installed it manually, works fine. This reminder message will not go away because you defined the action for the 'Let's gi' button incorrectly. ;)

Nico
Logged

"Der Unterschied zwischen Magie und Alltag ist die Betrachtungsweise!"
http://www.travar.de
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]


Re:[Beta] Gallery Mod
« Reply #22 on: November 09, 2002, 06:40:46 PM »
Reply with quote

really? which part of it is incorrect?
i tried installing it in a forum, and it works okay without any problems... :(
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Eloya
Full Member
***
Posts: 127


Magistrat


WWW
Re:[Beta] Gallery Mod
« Reply #23 on: November 09, 2002, 06:53:04 PM »
Reply with quote

The part in which the script says you must check the permissions of gallery root etc. I set the permissions definitely correct but the installer script hangs there. After that, I copied the SQL Structure, inserted it manually and made my own config.inc.php - with this it's all fine. Maybe the script has some problems with different envoirements...

Greetings,

Nico
Logged

"Der Unterschied zwischen Magie und Alltag ist die Betrachtungsweise!"
http://www.travar.de
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]


Re:[Beta] Gallery Mod
« Reply #24 on: November 09, 2002, 07:00:25 PM »
Reply with quote

thats weird...
maybe one of the image function detection script doesnt work well...

if u wanna check the configs go to the admin section
check everything, and click Save
and the config.inc.php will be saved properly :)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767



Re:[Beta] Gallery Mod
« Reply #25 on: November 09, 2002, 09:59:00 PM »
Reply with quote

Still hangs for me.. But if i use the original install.php it completes fine (image detection etc)

could someone give me an idea of what the config.inc should look like?

Will try to install by hand.

Logged
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767



Re:[Beta] Gallery Mod
« Reply #26 on: November 09, 2002, 11:18:05 PM »
Reply with quote

Have installed by hand now.

Seems to work. No errors anyways  ;D

I can create new album.. but i cant see anywhere to add photos to it? (I am admin btw)

Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]


Re:[Beta] Gallery Mod
« Reply #27 on: November 09, 2002, 11:20:07 PM »
Reply with quote

i dont understand whats wrong in the installer
seems to be fine for some ppl, and not for others

to do manual installation, execute the 3 queries for creating table:
Code: [Select]

CREATE TABLE `{$db_prefix}gallery_albums` (
 aid mediumint(10) NOT NULL auto_increment,
 title varchar(60) NOT NULL default '',
 description text NOT NULL,
 uploads enum('YES','NO') NOT NULL default 'YES',
 date bigint(20) NOT NULL default '0',
 PRIMARY KEY  (aid)
) TYPE=MyISAM;

CREATE TABLE `{$db_prefix}gallery_comments` (
 pid mediumint(10) NOT NULL default '0',
 msg_id mediumint(10) NOT NULL auto_increment,
 msg_author varchar(25) NOT NULL default '',
 msg_body text NOT NULL,
 msg_date bigint(20) default NULL,
 PRIMARY KEY  (msg_id),
 KEY pid (pid)
) TYPE=MyISAM;

CREATE TABLE `{$db_prefix}gallery_pictures` (
 pid mediumint(10) NOT NULL auto_increment,
 aid mediumint(10) NOT NULL default '0',
 caption mediumint(10) NOT NULL default '0',
 filepath varchar(200) NOT NULL default '',
 filename varchar(200) NOT NULL default '',
 filesize int(25) NOT NULL default '0',
 title tinytext NOT NULL,
 pwidth smallint(6) NOT NULL default '0',
 pheight smallint(6) NOT NULL default '0',
 hits mediumint(10) NOT NULL default '0',
 mtime bigint(20) NOT NULL default '0',
 ctime bigint(20) NOT NULL default '0',
 owner_id varchar(40) NOT NULL default '',
 PRIMARY KEY  (pid),
 KEY aid (aid)
) TYPE=MyISAM;


and here's the config.inc.php file:
Code: [Select]

<?php<br>// ------------------------------------------------------------------------- //<br>//  Coppermine Photo Gallery v1.0 Release Candidate 2                        //<br>//  Moduled for YaBB SE by Spaceman-Spiff                            //<br>// ------------------------------------------------------------------------- //<br>//  Copyright (C) 2002  Grégory DEMAR <gdemar@wanadoo.fr>                    //<br>//  http://chezgreg.net/coppermine/                                          //<br>// ------------------------------------------------------------------------- //<br>//  Based on PHPhotoalbum by Henning Střverud <henning@stoverud.com>         //<br>//  http://www.stoverud.com/PHPhotoalbum/                                    //<br>// ------------------------------------------------------------------------- //<br>//  This program is free software; you can redistribute it and/or modify     //<br>//  it under the terms of the GNU General Public License as published by     //<br>//  the Free Software Foundation; either version 2 of the License, or        //<br>//  (at your option) any later version.                                      //<br>// ------------------------------------------------------------------------- //<br><br><br>// ImageMagick configuration<br>$CONFIG['impath'] =          "";   // The full path to the ImageMagick convert program if you want to use ImageMagick for thumbnails<br><br>// PICTURE AND THUMBNAIL SETTINGS<br>$CONFIG['fullpath'] = "albums/";   // Path to album directory RELATIVE to Coppermine directory<br>$CONFIG['userpics'] = "userpics/";   // The directory where user uploaded pictures are stored (RELATIVE to $CONFIG['fullpath'])<br>$CONFIG['install_lock'] = "install.lock";   // The lock file used by the installer<br><br>$CONFIG['thumb_pfx'] = "thumb_";   // Prefix used for thumbnail<br>$CONFIG['normal_pfx'] = "normal_";   // Prefix used for normal size image (reduced size)<br><br>$CONFIG['max_upl_size'] = "500";   // Maximum allowed size for uploaded pictures<br><br>$CONFIG['thumb_method'] = "gd1";   // Method for creating thumbnail and resized images:<br>                            // "im" : use ImageMagick<br>                            // "gd1": use GD 1.x image imagecopyresized function<br>                            // "gd2": use GD 2.x image imagecopyresampled function<br><br>$CONFIG['nopic_image'] = 'nopic.gif';   // Image showed when there is no pictures uploaded in an album. Put the image inside 'images' folder.<br>$CONFIG['albums_per_page']= 6;      // Number of albums per page in the album view<br>$CONFIG['thumbrows'] = 4;         // Number of rows on thumbnail page<br>$CONFIG['thumbcols'] = 3;         // Number of cols on thumbnail page<br>$CONFIG['max_tabs']= 10;         // Max number of tabs to display in thumbnail or album view<br>$CONFIG['caption_in_thumbview']= true;   // Set this to false if you don't want the image caption to appear in the thumbnail view<br>$CONFIG['default_sort_order']='na';   // Default sort order for albums<br>                              // na : name ascending<br>                              // nd : name descending<br>                              // da : date ascending<br>                              // dd : date descending<br>$CONFIG['thumb_width'] = 100;      // Maximum width or height of a thumbnail<br>$CONFIG['picture_width'] = 400;      // Maximum width or height of a picture<br>$CONFIG['make_intermediate'] = true;// Wether to create intermediate size images<br>$CONFIG['jpeg_qual'] = 85;         // Quality for jpeg compression. Default 85, if you use ImageMagick you can set this to 80<br>$CONFIG['read_exif_data'] = true;   // Wether to read EXIF data or not (require PHP compiled with --enable-exif)<br><br>$CONFIG['number_in_toplist'] = "50";// Number of entries to show on the statistics page<br><br>$CONFIG['charset'] = 'iso-8859-1';   // Default charset to use. Change this to what is suitable for your country. <br>                           // Most  western people will use ISO-8859-1<br>// PERMISSION SETTINGS<br>$CONFIG['gmod_power'] = true;      // Allow global mods to have admin powers in gallery (except to go to gallery settings page).<br>$CONFIG['user_create_album'] = true;// Allow users to create albums in the gallery<br>$CONFIG['user_upload'] = true;      // Allow users to upload pictures<br>$CONFIG['user_comments']= true;      // Allow users to post comments<br>$CONFIG['guest_upload'] = false;   // Allow guests to upload pictures<br>$CONFIG['guest_comments'] = false;   // Allow guests to post comments<br><br>// ECARDS SETTINGS<br>$CONFIG['enable_ecards']= true;      // Set this to false to disable ecards<br><br>// COMMENT SETTINGS<br>$CONFIG['max_com_wlength']= 38;      // Maximum length of a word (vandal protection)<br>$CONFIG['max_com_lines']= 10;      // Maximum number of lines in a comment<br>$CONFIG['max_com_size']= 512;      // Maximum characters in a comment<br><br>// using $db_prefix from YSE<br>$CONFIG['TABLE_PICTURES'] = $db_prefix."gallery_pictures";   // MySQL table for pictures<br>$CONFIG['TABLE_ALBUMS'] = $db_prefix."gallery_albums";      // MySQL table for albums<br>$CONFIG['TABLE_COMMENTS'] = $db_prefix."gallery_comments";   // MySQL table for comments<br><br>// What HTML tags to keep in posts<br>$CONFIG['keep_tags'] = array(<br>   'description' => '<b><i><a>',      // Album description<br>   'message'     => '<b><i><a>'      // e-Cards messages<br>);<br><br>$CONFIG['cookie_name'] = "CPGCookie";<br>?>
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767



Re:[Beta] Gallery Mod
« Reply #28 on: November 09, 2002, 11:32:40 PM »
Reply with quote

I have done the above.

I can create albums ok. But dont seem to have an option of uploading pictures (unless i have gone blind.. mad or both  ;D )
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]


Re:[Beta] Gallery Mod
« Reply #29 on: November 09, 2002, 11:39:51 PM »
Reply with quote

its inside Gallery Settings
u'll only see that if u're logged in as an admin in YSE
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pages: 1 [2] 3 4 ... 49 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod « previous next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.0.15 | SMF © 2017, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.18 seconds with 19 queries.