Welcome, Guest. Please Login or Register.
November 25, 2024, 11:26:52 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod « previous next »
Pages: 1 ... 27 28 [29] 30 31 ... 49 Reply Ignore Print
Author Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod  (Read 341877 times)
devilrazor
Noobie
*
Posts: 10


I'm a devil!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #420 on: March 13, 2003, 04:11:25 AM »
Reply with quote

Quote from: babylonking on March 06, 2003, 11:54:10 PM
some members are getting this error.

Sorry, the copyright tag must be in the template.
Please notify this forum's administrator that this site is using an ILLEGAL copy of YaBB!  ???

Hi
 You have to remove and change some lines in db_input.php
search for
Quote
$meta = "<META http-equiv=\"refresh\" content=\"1; url=$HTTP_REFERER">";
and delete this line !


and search for

msg_box("Information","<div align=\"center\">Your comment was added</div>", "BACK", "$HTTP_REFERER");

and change it to this

msg_box("Information","<div align=\"center\">Your comment was added</div>", "BACK", "javascript:history.back()");

a hope this will help with the problem  ;) ;) ;)
good luck with comments  ;D ;D


Devilrazor

« Last Edit: March 13, 2003, 04:25:43 AM by devilrazor » Logged
Steve Snell
Noobie
*
Posts: 12


WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #421 on: March 13, 2003, 04:48:10 AM »
Reply with quote

Wonder if anyone is having problems moving pictures from one gallery to another.  I'm getting this error:

An Error Has Occurred!

2: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively.
(Unknown ln 0)

Any help appreciated.

Steve
Logged
iccwz02
Noobie
*
Posts: 22


I'm a llama!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #422 on: March 13, 2003, 12:35:38 PM »
Reply with quote

Quote from: Nerd3d on March 12, 2003, 06:51:15 PM
Iccwz02, this just means that GD is not compiled into your PHP. You'll need to recompile with GD in or install ImageMagic.

Thanks for your tips, but how to recomplie GD into my PHP? ???

I have install ImageMagic in "c:\programe file\imagemagick" directory.
Does I need to change the following line in "config.inc.php" or type the path of imagemagic when I run install.php? :)

// ImageMagick configuration
$CONFIG['impath'] = "<br /><b>Notice</b>:  Undefined index:  impath in <b>D:\\cgi-bin\\yabbse\\gallery\\install.php</b> on line <b>301</b><br />/";   // The full path to the ImageMagick convert program if you want to use ImageMagick for thumbnails
« Last Edit: March 13, 2003, 02:41:28 PM by iccwz02 » Logged
Nerd3d
Full Member
***
Posts: 107


Happy Rendering

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #423 on: March 13, 2003, 06:22:29 PM »
Reply with quote

You'd have to check the PHP website for info on recompiling PHP, as for the ImageMagick  thing that line is showing the wrong path Edit the path to point to where you have it installed. I will need to be where your web server can access it. If C drive isn't shared you will need to move it to D.
Logged
iccwz02
Noobie
*
Posts: 22


I'm a llama!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #424 on: March 14, 2003, 01:04:39 PM »
Reply with quote

Quote from: Nerd3d on March 12, 2003, 06:51:15 PM
Iccwz02, this just means that GD is not compiled into your PHP. You'll need to recompile with GD in or install ImageMagic.

I have solved the GD problem, but I still have same error message. I can't find any file name with "test_gd1" or "test_gd2" in gallery directory or php directory. What is this two "test_gd" means?
« Last Edit: March 14, 2003, 03:19:55 PM by iccwz02 » Logged
muayzing
Noobie
*
Posts: 12


I'm a llama!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #425 on: March 17, 2003, 09:48:10 AM »
Reply with quote


when i upload picture i found this error

An Error Has Occurred!

2: open_basedir restriction in effect. File is in wrong directory
(/mnt/host-users/satitkku/forum/gallery/db_input.php ln 172)

.............

i can create album
but cant upload pics
Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #426 on: March 17, 2003, 04:32:52 PM »
Reply with quote

I believe it's self explanitory. you need to put the db_input.php file in the same directory as your SETTINGS.PHP file, which is in Sources, not gallery, :D
Logged
JRCarr
Jr. Member
**
Posts: 72


The Jack of all Trades and the Master of None.

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #427 on: March 17, 2003, 04:54:04 PM »
Reply with quote

Quote from: 1979Z28 on March 17, 2003, 04:32:52 PM
I believe it's self explanitory. you need to put the db_input.php file in the same directory as your SETTINGS.PHP file, which is in Sources, not gallery, :D
Sorry, but my Settings.php is in the home/root directory of Gallery, not in the Sources directory.  From the looks of the error message, he needs to check the db_input.php at line 172 and see what is going on there.  The line in question is this:
   if(!file_exists($HTTP_POST_FILES['userpicture']['tmp_name'])){
Which indicates to me that either the gallery/album/userpics directory is not there or needs to be CHMOD higher to allow the program to upload the file to the directory.  Also a possibility that the file he is trying to upload is larger than the Maximum size setting and this could be causing the problem.  But, none the less, he doesn't need and shouldn't move the settings.php to sources directory or the the board will have problems

Jack
Logged

Jack
muayzing
Noobie
*
Posts: 12


I'm a llama!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #428 on: March 18, 2003, 02:40:26 AM »
Reply with quote

An Error Has Occurred!

2: open_basedir restriction in effect. File is in wrong directory
(/mnt/host-users/satitkku/forum/gallery/db_input.php ln 172)

I put the db_input.php file in the same directory as SETTINGS.PHP
but it's the same error ....
I chmod all folder to 777 it still the same probllem

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


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #429 on: March 18, 2003, 03:36:27 AM »
Reply with quote

Quote from: smacktalk on March 07, 2003, 09:54:30 AM
OK. Now that I finally got the gallery installed (thanks Spaceman-Spiff), how can I make it look like all of the rest? Mine is not formated.. CHECK IT HERE
@smacktalk: i cant get to your forum since u're using the appllication mod. u can edit the gallery css to match your yse colors, the option is in gallery administration page. also i have the XP buttons for the gallery

@iccwz02: do u have GD installed? u can check it in phpinfo

@Nerd3d: the gallery is currently using Coppermine RC3. i know about the 1.1beta, i'll wait till it's final before thinking to do the changes. from coppermine site:
Main features of Coppermine 1.1
- Multi users
- Separate language files
- Categories
- More advanced theme system
the first one is not useful, since we use yse already
dont know about the others yet...

@Steve Snell: i havent added any session support to the mod, i will tho for the next version...
i dont know what causes that problem, register globals maybe?

@muayzing: it's probably one of the directory settings, like where to store the images, it should be in config.inc.php, or Gallery Settings. the default settings are:
Path to album directory RELATIVE to Coppermine directory: albums/
The directory where user uploaded pictures are stored (RELATIVE to album directory): userpics/
so u have to create albums directory inside gallery directory, and create userpics inside albums directory, and CHMOD it to 777

@others: sorry for the wait, but i havent had much free time lately to work on this mod again
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
muayzing
Noobie
*
Posts: 12


I'm a llama!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #430 on: March 18, 2003, 04:09:28 AM »
Reply with quote


this is my directory

www.satitkku.host.sk/forum/gallery
www.satitkku.host.sk/forum/gallery/albums
www.satitkku.host.sk/forum/gallery/albums/userpics
www.satitkku.host.sk/forum/gallery/include/config.inc.php

all folder chmod to 777
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #431 on: March 18, 2003, 04:27:45 AM »
Reply with quote

are the settings in config.inc.php same with:
Path to album directory RELATIVE to Coppermine directory: albums/
The directory where user uploaded pictures are stored (RELATIVE to album directory): userpics/

if u dont mind, can i see your phpinfo?
u can IM me the link if u dont want to post it here
Logged

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


No Personal Text!!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #432 on: March 18, 2003, 05:15:44 AM »
Reply with quote

Quote from: Spaceman-Spiff on March 18, 2003, 03:36:27 AM
Quote from: smacktalk on March 07, 2003, 09:54:30 AM
OK. Now that I finally got the gallery installed (thanks Spaceman-Spiff), how can I make it look like all of the rest? Mine is not formated.. CHECK IT HERE
@smacktalk: i cant get to your forum since u're using the appllication mod. u can edit the gallery css to match your yse colors, the option is in gallery administration page. also i have the XP buttons for the gallery

I got it working. I had one of the tags in the wrong place. Thanks.
Logged

As a well-spent day brings happy sleep, so a life well spent brings happy death.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #433 on: March 18, 2003, 05:17:27 AM »
Reply with quote

smacktalk, check the first topic, i've put an XP image pack for the gallery buttons
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
muayzing
Noobie
*
Posts: 12


I'm a llama!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #434 on: March 18, 2003, 05:38:03 AM »
Reply with quote

this is my config.inc.php

<?php
// ------------------------------------------------------------------------- //
//  Coppermine Photo Gallery v1.0 Release Candidate 3                        //
//  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'] = "512";   // 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'] = 3;         // 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 size of a comment

// MySQL TABLE NAMES
$CONFIG['TABLE_PICTURES'] = forum_."gallery_pictures";   // MySQL table for pictures
$CONFIG['TABLE_ALBUMS'] = forum_."gallery_albums";   // MySQL table for albums
$CONFIG['TABLE_COMMENTS'] = forum_."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
);

?>
Logged
Pages: 1 ... 27 28 [29] 30 31 ... 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.094 seconds with 20 queries.