Page Index Toggle Pages: 1 ... 89 90 [91] 92 93  Send TopicPrint
Very Hot Topic (More than 25 Replies) Gallery Mod BETA 2 SP1.1 & SP1.31 (Read 279855 times)
Eric Bewley
Guest


Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1350 - Oct 5th, 2004 at 1:18am
Print Post  
louisle wrote on Oct 3rd, 2004 at 1:10pm:
@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
  
Back to top
 
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1351 - Oct 5th, 2004 at 4:35pm
Print Post  
@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...
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
Richard A Seijas
New Member
*
Offline


I love Me

Posts: 25
Location: Daytona Beach
Joined: Jun 4th, 2004
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1352 - Oct 23rd, 2004 at 10:15am
Print Post  


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
  
Back to top
IP Logged
 
joerg29
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 1
Joined: Oct 24th, 2004
Re: Gallery Mod BETA 2 SP1.1 & SP1.31 / new us
Reply #1353 - Oct 24th, 2004 at 6:33pm
Print Post  
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
  
Back to top
 
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1354 - Oct 24th, 2004 at 10:07pm
Print Post  
@joerg29:
this will be available in the next release Beta3 ... please wait..

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

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
MetalJoe
Full Member
***
Offline



Posts: 156
Location: Auburn
Joined: Aug 23rd, 2004
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1355 - Nov 9th, 2004 at 2:05am
Print Post  
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?
  
Back to top
 
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1356 - Nov 9th, 2004 at 9:27am
Print Post  
@MetalJoe:
check out POST #1 - I take care of it for a long time...
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1357 - Nov 9th, 2004 at 10:06am
Print Post  
Can we ever expect a final version after nearly 100 pages of discussions  Grin ?
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1358 - Nov 9th, 2004 at 11:31am
Print Post  
yes, we can....
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
xtremecruiser
Full Member
***
Offline



Posts: 106
Joined: Nov 14th, 2002
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1359 - Nov 10th, 2004 at 12:45am
Print Post  
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: Nov 10th, 2004 at 4:26am by xtremecruiser »  
Back to top
 
IP Logged
 
xtremecruiser
Full Member
***
Offline



Posts: 106
Joined: Nov 14th, 2002
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1360 - Nov 11th, 2004 at 4:04pm
Print Post  
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.
  
Back to top
 
IP Logged
 
xtremecruiser
Full Member
***
Offline



Posts: 106
Joined: Nov 14th, 2002
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1361 - Nov 12th, 2004 at 6:36pm
Print Post  
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 ?
  
Back to top
 
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1362 - Nov 15th, 2004 at 2:01pm
Print Post  
@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.
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
xtremecruiser
Full Member
***
Offline



Posts: 106
Joined: Nov 14th, 2002
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1363 - Nov 15th, 2004 at 4:28pm
Print Post  
You have a IM /////
Thanks

louisle wrote on Nov 15th, 2004 at 2:01pm:
@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.

  
Back to top
 
IP Logged
 
louisle
God Member
*****
Offline


With a little bit of love
everything goes better

Posts: 1124
Location: Muenchen
Joined: Apr 9th, 2003
Gender: Male
Re: Gallery Mod BETA 2 SP1.1 & SP1.31
Reply #1364 - Nov 17th, 2004 at 10:12am
Print Post  
@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
  

I LIKE SAUSAGE FINGERS:2thumbsup::2thumbsup::2thumbsup::2thumbsup::2thumbsup:
Back to top
IP Logged
 
Page Index Toggle Pages: 1 ... 89 90 [91] 92 93 
Send TopicPrint