The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

26.05.13 at 02:26:21, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 ... 89 90 91 92 93 
Gallery Mod BETA 2 SP1.1 & SP1.31 (Read 105746 times)
Eric Bewley
Guest





Reply #1350 - 05.10.04 at 02:18:10  
louisle wrote on 03.10.04 at 14:10:28:
@Eric Bewley:
is your gallery directory in a for web opened place ?
did you apply the first line of gallery.pl to your perl directory ?
your absolute path could be set wrong - don't use driveletter - check out post#1 for details ..
your gallery.pl should be in the same folder like the other .pl from yabb - this folder should allow to execute scripts.

greetings
louisle


That is the weird part. I believe I have done all of these things right but when I go to save the membership / gallery settings after I've set the gallery up in the preferences. It does not create the directories in my /gallery folder. I can create a user gallery manually but then I'm not able to do anything with it. I'm on an NT webserver so I can not do any CHMOD. I think I'll call my provider and ask them for assistance... If you have any ideas, I'm all ears!!!

Thank you, Eric
 
IP Logged
 
louisle
Hacker God
*****
Offline

Muenchen, Bayern, Germany
Posts: 1124



Reply #1351 - 05.10.04 at 17:35:47  
@Eric: your answer ist not very helpful - just rotating on the same place.. what is your absolute path ? thinking you did it right, doesn't  mean you have done it right...
 
IP Logged
 

I LIKE SAUSAGE FINGERS2thumbsup2thumbsup2thumbsup2thumbsup2thumbsup
Richard A Seijas
Bloody Novice
*
Offline

Daytona Beach, Florida, USA
Posts: 25



Reply #1352 - 23.10.04 at 11:15:30  


OK  I'm back again. and I still can't get the pictures to upload:  Cry  


Absolute Directory   is /Program Files/OmniSecure/htdocs/public_html/gallery/
Relative Directory  is  ../../public_html/gallery

my page is http://spaceterminal.homeftp.org/cgi-bin/yabb/YaBB.pl

My subs.pl  in the sub readform




Quote:
sub readform {
     my(@pairs, $pair, $name, $value);
     sub split_string
     {
           my ($string, $hash, $altdelim) = @_;

           if($altdelim && $$string =~ m~;~) { @pairs = split(/;/, $$string); }
           else { @pairs = split(/&/, $$string); }
           foreach $pair (@pairs) {
                 ($name,$value) = split(/=/, $pair);
                 $name =~ tr/+/ /;
                 $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
                 $value =~ tr/+/ /;
                 $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
                 if (exists($hash->{$name})) {
                       $hash->{$name} .= ", $value";
                 } else {
                       $hash->{$name} = $value;
                 }
           }
     }

     split_string(\$ENV{QUERY_STRING}, \%INFO, 1);  
     if ($ENV{REQUEST_METHOD} eq 'POST') {
           if ($ENV{CONTENT_TYPE} =~ /multipart\/form-data/) {                  
                 use CGI;
                 my $query = new CGI;
                 my $zipfile = $query->param('uplzip');
                 my $tmpfile = $query->tmpFileName($zipfile);

                 local( $/, *TMP );
                 open(TMP,"$tmpfile");
                 my $filedata = <TMP>;
                 close(TMP);

                 open(TMP2,">$memberdir/$zipfile");
                 print TMP2 $filedata;
                 close(TMP2);

                 for(my $x=1;$x<=5;$x++) {      
                       $feld = "uplfoto".$x;
                       my $file = $query->param($feld);
                       my $tpfl = $query->tmpFileName($file);

                       local( $/, *TMP );
                       open(TMP,"$tpfl");
                       my $filedata = <TMP>;
                       close(TMP);

                       open(TMP2,">$memberdir/$file");
                       print TMP2 $filedata;
                       close(TMP2);
                 }
           }



I also tryed it with :  

use CGI qw(:standard);

and

require CGI; import CGI qw(:standard);



When I try to upload the picture the file does show up in the directory . but  it says 0 kb  and size no nothing so I simply think the file isn't transferring over.  

I am host the page myself so I don't use any FTP program to upload anything . and I using OmniHTTPd Professional OMNISECURE 3.0  for my server   http://www.omnicron.ca/

I saw that you created an album called testbylouisle
I don't know if you see anything there.

Thanks for any help

PS I IM you with a user & passcode that you can use if you liuke to look at it again  .  My members are getting upset with me cause they want to start uploading picture  Smiley

thanks
 
IP Logged
 
joerg29
Bloody Novice
*
Offline

Posts: 1



Reply #1353 - 24.10.04 at 19:33:46  
Hi,

I just love this mod, but I miss an option to allow all new users to access, upload + publishing pics automatically (I mean: so that they won't have to wait for me changing their rights in the 'Gallery Member Settings'-section).

perhaps someone here could give me a tip what to change to get this functionality?

thanx in advance + all the best
Joerg
 
IP Logged
 
louisle
Hacker God
*****
Offline

Muenchen, Bayern, Germany
Posts: 1124



Reply #1354 - 24.10.04 at 23:07:06  
@joerg29:
this will be available in the next release Beta3 ... please wait..

@Richard A Sejas:
i will check it out ...
 
IP Logged
 

I LIKE SAUSAGE FINGERS2thumbsup2thumbsup2thumbsup2thumbsup2thumbsup
MetalJoe
Fulltime Hacker
***
Offline

Auburn, Washington, USA
Posts: 156



Reply #1355 - 09.11.04 at 02:05:10  
Ok I have realized that I will not be able to use File Attachment and the Gallery mod together so I was wondering if there is a way to incorporate the gallery mod code to, in FA style, attach pics when making post. Does this make any sense?
 
IP Logged
 
louisle
Hacker God
*****
Offline

Muenchen, Bayern, Germany
Posts: 1124



Reply #1356 - 09.11.04 at 09:27:16  
@MetalJoe:
check out POST #1 - I take care of it for a long time...
 
IP Logged
 

I LIKE SAUSAGE FINGERS2thumbsup2thumbsup2thumbsup2thumbsup2thumbsup
Valtiel
Hacker God
*****
Offline

, Bayern, Germany
Posts: 873



Reply #1357 - 09.11.04 at 10:06:51  
Can we ever expect a final version after nearly 100 pages of discussions  Grin ?
 
IP Logged
 

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
louisle
Hacker God
*****
Offline

Muenchen, Bayern, Germany
Posts: 1124



Reply #1358 - 09.11.04 at 11:31:52  
yes, we can....
 
IP Logged
 

I LIKE SAUSAGE FINGERS2thumbsup2thumbsup2thumbsup2thumbsup2thumbsup
xtremecruiser
Fulltime Hacker
***
Offline

Posts: 106



Reply #1359 - 10.11.04 at 00:45:18  
OK, stupid Q
I worked for hours with my stupid windows2003 IIS6 hosted site  Lips Sealed
And I got the ab path to work by just putting the Gallery under the Yabb ( I know )
So now everything works but the files are 0 bytes  Tongue
I ran perldriver since I saw in the UL mod about versions of Perl and checked mine and its version 5.008003
Will this version work ? Or do I need to check something else for the 0 bytes issue ?
Thanks

OK I changed my paths and got the Gallery moved into the httpdocs area  Roll Eyes and set the permissions but
All ul files are 0 bytes, if I ftp a file into the dir that I created with the gallery iit shows up fine, only the ones I ul are 0 bytes.
Any ideas...?
Could it be the Perl 5.008003 ?
Thanks

I went through the entire thread and tried all the changes and still 0 size with the UL function form the gallery, but ftp'ed files show in the gallery.
Changes tried below

------------------------------------------------------
$zname =~ s/[#%+,\/:?"<>'|@°^();!§$=`\^°²³{\[\]}´*~]//g;      old

$zname =~ s/[#%+,\/:?"<>'|@°^();!§\$=`\^°²³{\[\]}´*~]//g;      new

$fname =~ s/[#%+\/:,?"<>'|@°^();!§$=`\^°²³{\[\]}´*~]//g;      old

$fname =~ s/[#%+\/:,?"<>'|@°^();!§\$=`\^°²³{\[\]}´*~]//g;      new

old

foreach (@Gallerymb) {
           @Mbinfo=split(" ",$_);
           if($INFO{'useralbum'} eq $Mbinfo[0]) { $usercode=$Mbinfo[1]; }
           if($_ =~ /^$username /) { $mbcode=$Mbinfo[1]; $mbcodeo=$Mbinfo[1]; $mbacc=substr($Mbinfo[2],0,1); $mbupl=substr($Mbinfo[2],1,1); $mbpub=substr($Mbinfo[2],2,1); $mbmod=substr($Mbinfo[2],3,1); }
     }

new

$mbname=lc($username);
     foreach (@Gallerymb) {
           $mbtemp=lc($_);
           @Mbinfo=split(" ",$mbtemp);
           if($INFO{'useralbum'} eq $Mbinfo[0]) { $usercode=$Mbinfo[1]; }
           if($mbtemp =~ /^$mbname /) { $mbcode=$Mbinfo[1]; $mbcodeo=$Mbinfo[1]; $mbacc=substr($Mbinfo[2],0,1); $mbupl=substr($Mbinfo[2],1,1); $mbpub=substr($Mbinfo[2],2,1); $mbmod=substr($Mbinfo[2],3,1); }
     }







« Last Edit: 10.11.04 at 04:26:13 by xtremecruiser »  
IP Logged
 
xtremecruiser
Fulltime Hacker
***
Offline

Posts: 106



Reply #1360 - 11.11.04 at 16:04:35  
Well I removed the mod and tried Mikes Album.pl
http://perl.bobbitt.ca/album/
And it works fine  Shocked
It does not have some of the features for blocking and adding members via Yabb that I would like, but it does work.
I will try a fresh install of the Gallery mod tonight in case I missed something.
 
IP Logged
 
xtremecruiser
Fulltime Hacker
***
Offline

Posts: 106



Reply #1361 - 12.11.04 at 18:36:35  
Well, I reinstalled it, fresh DL and unzip, used the Gallery.pl from the zip file, transfered fresh files, made a new dir, permissions are right, paths are right.
Made test dir using the mod ( worked fine ), ul a few files ( transfered fine ), ul a test file via FTP.
Opened the new album and the files UL via ftp are fine, all files UL via the gallery mod are 0 bytes again  Lips Sealed Tongue

I am on a Windows 2003 server with IIS6, does anyone have a fix for this ?
 
IP Logged
 
louisle
Hacker God
*****
Offline

Muenchen, Bayern, Germany
Posts: 1124



Reply #1362 - 15.11.04 at 14:01:16  
@xtremecruiser: maybe you want to send me a login and password via Instant Message, so that i could take a look on it - please give it admin rights.
 
IP Logged
 

I LIKE SAUSAGE FINGERS2thumbsup2thumbsup2thumbsup2thumbsup2thumbsup
xtremecruiser
Fulltime Hacker
***
Offline

Posts: 106



Reply #1363 - 15.11.04 at 16:28:07  
You have a IM /////
Thanks

louisle wrote on 15.11.04 at 14:01:16:
@xtremecruiser: maybe you want to send me a login and password via Instant Message, so that i could take a look on it - please give it admin rights.

 
IP Logged
 
louisle
Hacker God
*****
Offline

Muenchen, Bayern, Germany
Posts: 1124



Reply #1364 - 17.11.04 at 10:12:12  
@ALL:
I  have to make the gallery mod compatible with the new perl interpreter first ... i guess it is the problem which some of you have which cause the 0 kB uploads... please be patient.

greetings
louisle
 
IP Logged
 

I LIKE SAUSAGE FINGERS2thumbsup2thumbsup2thumbsup2thumbsup2thumbsup
Pages: 1 ... 89 90 91 92 93 
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum