Welcome, Guest. Please Login or Register.
November 25, 2024, 02:54:02 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [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 341829 times)
jthorpe
Sr. Member
****
Posts: 331


WWW
Re:[Beta] Gallery Mod
« Reply #15 on: November 09, 2002, 06: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, 07: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, 08: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, 09:36:36 PM »
Reply with quote

QuoteThings 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

QuoteI get this error:
Could not create a mySQL connection, please check the SQL values enteredI 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, 09: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, 10: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

nschunter@eloya.net WWW
Re:[Beta] Gallery Mod
« Reply #21 on: November 09, 2002, 11: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, 11: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

nschunter@eloya.net WWW
Re:[Beta] Gallery Mod
« Reply #23 on: November 09, 2002, 11: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 10, 2002, 12:00:25 AM »
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 10, 2002, 02:59:00 AM »
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 10, 2002, 04:18:05 AM »
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 10, 2002, 04:20:07 AM »
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:
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:
<?php
// ------------------------------------------------------------------------- //
//  Coppermine Photo Gallery v1.0 Release Candidate 2                        //
//  Moduled for YaBB SE by Spaceman-Spiff                            //
// ------------------------------------------------------------------------- //
//  Copyright (C) 2002  Grégory DEMAR <[email protected]>                    //
//  http://chezgreg.net/coppermine/                                          //
// ------------------------------------------------------------------------- //
//  Based on PHPhotoalbum by Henning Støverud <[email protected]>         //
//  http://www.stoverud.com/PHPhotoalbum/                                    //
// ------------------------------------------------------------------------- //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
// ------------------------------------------------------------------------- //


// ImageMagick configuration
$CONFIG['impath'] =          "";   // The full path to the ImageMagick convert program if you want to use ImageMagick for thumbnails

// PICTURE AND THUMBNAIL SETTINGS
$CONFIG['fullpath'] = "albums/";   // Path to album directory RELATIVE to Coppermine directory
$CONFIG['userpics'] = "userpics/";   // The directory where user uploaded pictures are stored (RELATIVE to $CONFIG['fullpath'])
$CONFIG['install_lock'] = "install.lock";   // The lock file used by the installer

$CONFIG['thumb_pfx'] = "thumb_";   // Prefix used for thumbnail
$CONFIG['normal_pfx'] = "normal_";   // Prefix used for normal size image (reduced size)

$CONFIG['max_upl_size'] = "500";   // Maximum allowed size for uploaded pictures

$CONFIG['thumb_method'] = "gd1";   // Method for creating thumbnail and resized images:
                            // "im" : use ImageMagick
                            // "gd1": use GD 1.x image imagecopyresized function
                            // "gd2": use GD 2.x image imagecopyresampled function

$CONFIG['nopic_image'] = 'nopic.gif';   // Image showed when there is no pictures uploaded in an album. Put the image inside 'images' folder.
$CONFIG['albums_per_page']= 6;      // Number of albums per page in the album view
$CONFIG['thumbrows'] = 4;         // Number of rows on thumbnail page
$CONFIG['thumbcols'] = 3;         // Number of cols on thumbnail page
$CONFIG['max_tabs']= 10;         // Max number of tabs to display in thumbnail or album view
$CONFIG['caption_in_thumbview']= true;   // Set this to false if you don't want the image caption to appear in the thumbnail view
$CONFIG['default_sort_order']='na';   // Default sort order for albums
                              // na : name ascending
                              // nd : name descending
                              // da : date ascending
                              // dd : date descending
$CONFIG['thumb_width'] = 100;      // Maximum width or height of a thumbnail
$CONFIG['picture_width'] = 400;      // Maximum width or height of a picture
$CONFIG['make_intermediate'] = true;// Wether to create intermediate size images
$CONFIG['jpeg_qual'] = 85;         // Quality for jpeg compression. Default 85, if you use ImageMagick you can set this to 80
$CONFIG['read_exif_data'] = true;   // Wether to read EXIF data or not (require PHP compiled with --enable-exif)

$CONFIG['number_in_toplist'] = "50";// Number of entries to show on the statistics page

$CONFIG['charset'] = 'iso-8859-1';   // Default charset to use. Change this to what is suitable for your country. 
                           // Most  western people will use ISO-8859-1
// PERMISSION SETTINGS
$CONFIG['gmod_power'] = true;      // Allow global mods to have admin powers in gallery (except to go to gallery settings page).
$CONFIG['user_create_album'] = true;// Allow users to create albums in the gallery
$CONFIG['user_upload'] = true;      // Allow users to upload pictures
$CONFIG['user_comments']= true;      // Allow users to post comments
$CONFIG['guest_upload'] = false;   // Allow guests to upload pictures
$CONFIG['guest_comments'] = false;   // Allow guests to post comments

// ECARDS SETTINGS
$CONFIG['enable_ecards']= true;      // Set this to false to disable ecards

// COMMENT SETTINGS
$CONFIG['max_com_wlength']= 38;      // Maximum length of a word (vandal protection)
$CONFIG['max_com_lines']= 10;      // Maximum number of lines in a comment
$CONFIG['max_com_size']= 512;      // Maximum characters in a comment

// using $db_prefix from YSE
$CONFIG['TABLE_PICTURES'] = $db_prefix."gallery_pictures";   // MySQL table for pictures
$CONFIG['TABLE_ALBUMS'] = $db_prefix."gallery_albums";      // MySQL table for albums
$CONFIG['TABLE_COMMENTS'] = $db_prefix."gallery_comments";   // MySQL table for comments

// What HTML tags to keep in posts
$CONFIG['keep_tags'] = array(
   
'description' => '<b><i><a>',      // Album description
   
'message'     => '<b><i><a>'      // e-Cards messages
);

$CONFIG['cookie_name'] = "CPGCookie";
?>

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 10, 2002, 04:32:40 AM »
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 10, 2002, 04:39:51 AM »
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  |  [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.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.041 seconds with 20 queries.