Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - WeZ

Pages: [1] 2 3 4 5 6
1
Mods & Plugins (Releases & Support) / Re: [MOD] multiupload
« on: November 14, 2007, 12:24:13 PM »
Is this mod working in 1.7.4 if I use the code in the first post?

I think this was already answered in the thread.

2
Mods & Plugins (Releases & Support) / Re: [MOD] multiupload
« on: November 07, 2007, 11:29:26 PM »
Thank for posting. ;)

You and V@no and Nicky and IceCream have helped me plenty in the past, I'm only glad to be able to add value to the forum. Knowledge Exchange between Users is very, very important for a free product like this to succeed.

Cheers
WeZ

3
Mods & Plugins (Releases & Support) / Re: [MOD] multiupload
« on: November 07, 2007, 11:05:48 PM »
Hi Thunderstrike,

I Found the error, :-) ...  it is a Typo in the member_multiuploadform.html

The file has this code by default:
Code: [Select]
<nobr>01.<b><font color="#FF0000">*</font></b><input type="file" name="media_file" class="input" /></nobr><br>
<nobr>02.&nbsp;&nbsp;<input type="file" name="media_file2"  class="input" /></nobr><br>
<nobr>03.&nbsp;&nbsp;<input type="file" name="media_file3"  class="input" /></nobr><br>
<nobr>04.&nbsp;&nbsp;<input type="file" name="media_file4"  class="input" /></nobr><br>
<nobr>05.&nbsp;&nbsp;<input type="file" name="media_file5"  class="input" /></nobr><br>
<!--
<nobr>06.&nbsp;&nbsp;<input type="file" name="media_file6"  class="input" /></nobr><br>
<nobr>07.&nbsp;&nbsp;<input type="file" name="media_file7"  class="input" /></nobr><br>
<nobr>08.&nbsp;&nbsp;<input type="file" name="media_file8"  class="input" /></nobr><br>
<nobr>09.&nbsp;&nbsp;<input type="file" name="media_file9"  class="input" /></nobr><br>
<nobr>10.&nbsp;&nbsp;<input type="file" name="media_file10" class="input" /></nobr><br />
-->

This code only displays the default 5 fields. if you want the last 5 fields to give you 10, then you need to obviously remove the:
Code: [Select]
<!--

 and
Code: [Select]
-->

lines, However, the 10th Line looks like this:
Code: [Select]
<nobr>10.&nbsp;&nbsp;<input type="file" name="media_file10" class="input" /></nobr><br />

The "<br />" needs to be <br> like the rest of the lines.

This is what was killing my page :-)

Perhaps someone should fix the template one page one of this thread??

Thanks for your help

Cheers
WeZ

4
Mods & Plugins (Releases & Support) / Re: [MOD] multiupload
« on: November 07, 2007, 10:42:45 PM »
PHP v5.0 or PHP v5.2 ... ?

I Am running 5.0.45-community-nt, however i do not beleive it is a MySQL Issue because if i change my template to the standard template, this mod works fine. it only dies on my WALLPAPER template...

i am struggling to find the problem with my template, but i am still looking :-) ....

5
Mods & Plugins (Releases & Support) / Re: [MOD] multiupload
« on: November 07, 2007, 10:13:26 PM »
If so - please read step 1-2-3 of my signature.

Good thing i already gave all that information in my post yesterday.

6
Mods & Plugins (Releases & Support) / Re: [MOD] multiupload
« on: November 07, 2007, 10:08:58 PM »
i will have to ask the author then, thanks.

In my testing i can see that i am using the template WALLPAPER. when i change back to the normal template, then it works fine!! i will check the differences on the template now and see if i can fix it...

7
Mods & Plugins (Releases & Support) / Re: [MOD] multiupload
« on: November 07, 2007, 08:07:08 PM »
Hi Thunderstrike,

I Changed my code to your suggestion and it still crashes with more than one file selected.

I have attached my zipped up member.php file for you to test with, maybe that will help?

Line 492 and 493 are the problems with multiupload.

Kind Regards,
Wesley.

8
Hi Mathuatden,

are you having any errors?

i would suggest applying the MOD on page one and see if you have any issues, work your way through the thread.

you will find the code you are talking about here:
http://www.4homepages.de/forum/index.php?topic=12272.msg92366#msg92366

Cheers
WeZ

9
Mods & Plugins (Releases & Support) / Re: [MOD] multiupload
« on: November 07, 2007, 12:39:07 AM »
Hello Thunderstrike,

This one is quite strange.

my multiupload is crashing on the line:
Code: [Select]
$remote_thumb_file = format_url(un_htmlspecialchars(trim($HTTP_POST_VARS['remote_thumb_file'])));

i do not use remote images at all.

I can upload one image in multiupload successfully. as soon as i add a second image at the same time, the page just hangs while trying to process.

My site is working OK if i do this:
Code: [Select]
  //$remote_media_file = format_url(un_htmlspecialchars(trim($HTTP_POST_VARS['remote_media_file'])));
  //$remote_thumb_file = format_url(un_htmlspecialchars(trim($HTTP_POST_VARS['remote_thumb_file'])));

This was not a problem while i was running on WAMPP with PHP4 and MySQL 4.
I am now on XAMPP with php5 and MySQL5 and i don't know if this might be the problem. I am running on 4Images 1.7.2

Any suggestions?

Kind Regards,
Wesley.

10
Mods & Plugins (Requests & Discussions) / Re: Return ZIP File Size
« on: October 31, 2007, 01:10:46 PM »
I no knew is use for ZIP output filename ...

That was never my objective, i always just wanted the zip file size, and this gives it to me...

i am aware i am running the prepare() function twice per download, but right now, i dont have much of a choice...

Cheers

11
Mods & Plugins (Requests & Discussions) / Re: Return ZIP File Size
« on: October 31, 2007, 12:53:06 PM »
Hi Thunderstrike,

editing my zip.php wasnt first prize - i dont like editing my includes files.

i found the first prize !!

executing this command in download.php will return the zip file size in Bytes without any editing of zip.php:
Code: [Select]
$length = $zipfile->prepare();

thanks for your assistance.

Kind Regards,
Wesley.

12
Mods & Plugins (Requests & Discussions) / Re: Return ZIP File Size
« on: October 31, 2007, 12:17:57 PM »
Hi Thunderstrike,

i found that by adding:
Code: [Select]
global $site_db;

i can now execute SQL statements in the zip.php file...

13
Mods & Plugins (Requests & Discussions) / Re: Return ZIP File Size
« on: October 31, 2007, 11:52:07 AM »
You no use $site_db object for global after function line.  :mrgreen:

Hmm, sorry but i'm not quite sure what you mean? There must be a way i can execut this command from the zip.php function?

14
Mods & Plugins (Requests & Discussions) / Re: Return ZIP File Size
« on: October 31, 2007, 11:41:37 AM »
Yup, i think youre right...

so now i think i found the right place to do so, however i need to execute SQL statements within the zip.php file.

when i execute the command:
Code: [Select]
$site_db->query($sql);
i get this error:
Code: [Select]
Fatal error: Call to a member function query() on a non-object in F:\4images\includes\zip.php on line 166


15
Mods & Plugins (Requests & Discussions) / Re: Return ZIP File Size
« on: October 31, 2007, 09:49:37 AM »
Hi Thunderstrike,

thanks for the attempt - that value seems to pass the file name and not the zip location.

My value of $file['file_name'] was "080-001.jpg" and not a zip file...

Perhaps i need to pull the value from the Send function inside zip.php:
"$zipfile->send(get_file_name($file['file_name']).".zip");"

i will try doing that, unless you can tell me how to get the zip location from download.php

Kind Regards,
Wesley.

Pages: [1] 2 3 4 5 6