• [MOD-beta] Multi-upload PLUS v0.3b 4 0 5 1
Currently:  

Author Topic: [MOD-beta] Multi-upload PLUS v0.3b  (Read 223317 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #45 on: June 11, 2006, 07:09:06 PM »
The file is fine, delete your internet cache and redownload the file.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Garcya

  • Guest
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #46 on: July 24, 2006, 09:38:54 PM »
I have a question please :
Is it possible that normal users who don't know the link to the multiupload to use the MOD? I want that so how can i make a button near upload named "multiupload" or something like that, when clicked to open the multiupload section and the normal users to upload as many photos as they want ?
And a problem also, when i try to upload with that java applet it working fine untill i try to click the "submit" button, i can chose the photos, its showing info and the rest, but i can't upload them, i click submit but nothing hapens. I get on the taskbar "done, but with errors on page"
Any clue ? my website with the javaupload is here : http://adrfer.freehostia.com/photos/member.php?action=muploadform&mutype=jupload
Thanks in advance
« Last Edit: July 24, 2006, 11:08:34 PM by Garcya »

Offline troopers

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • weltimperator.de
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #47 on: August 11, 2006, 11:41:02 PM »
looks good, a new version of the appled is also out, but if i upload a picture, i get an error

Fatal error: Call to a member function on a non-object in /srv/www/htdocs/includes/mu_modules/jupload.php on line 81
line 81:     $table_fields = $site_db->get_table_fields((($direct_upload) ? IMAGES_TABLE : IMAGES_TEMP_TABLE));

hmm, don't know .......

i'm using the 1.7 version.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weltimperator.de

Garcya

  • Guest
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #48 on: August 13, 2006, 01:02:02 PM »
Can you simply modify the "upload" button so when you click it it goes to "multiupload" directory ? i mean when you click "upload" it redirects you to http://photogallery.com/member.php?action=muploadform instead of the normal upload? i have my multiupload form here http://adrfer.freehostia.com/photos/member.php?action=muploadform and i want the upload button to redirect me to that adress ! Is it possible ? what do i need to modify ?

Offline troopers

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • weltimperator.de
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #49 on: August 13, 2006, 05:45:08 PM »
i've commented out the line 81, and now it works fine.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weltimperator.de

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #50 on: August 14, 2006, 12:05:39 AM »
a new version of the appled is also out
forgot to ask you, where did you get that information? on the website the current version is still v0.86 and v0.90 is "entered beta state" but I couldnt find a link to download it...so, its not out yet (?)
Untill v0.90 is out development of this mod will remain on hold.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline troopers

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • weltimperator.de
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #51 on: August 19, 2006, 01:49:26 PM »
ahh, mein fehler, hatte nicht darauf geachtet, obs man downloaden kann oder nicht, sah nur 0.9 beta blablabla, und dachte wäre zum testen freigebegeben.

Aber andere sache, kann man bei dem Upload irgendwie einstellen, das er nur 1 BEschreibung etc... für alle nimmt, anstatt für jedes Bild ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weltimperator.de

Offline troopers

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • weltimperator.de
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #52 on: August 19, 2006, 09:05:56 PM »
another problem. how is it possible to add an dropdown for each file ? i added

Code: [Select]
'<select class="input" name="test'+i+'">'+
               '<option value="Ja">Ja</option>'+
               '<option value="Nein">Nein</option>'+

and this works... but only the first entry in the dropdown. The other Options  like "nein" or "blabla" or anything else doenst work. Each File have everytime "Ja" .

Regards...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weltimperator.de

Offline terryjianlin

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • http://www.2ufj.com
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #53 on: September 01, 2006, 12:32:45 PM »
Dear V@no:
I just find out that I am unable to upload any file by using the basic uploadform,, page stays there afer click upload button. I am using the 4images V.1.73?   
Also, are we suppose have to delete the <noscript></noscript> in the member_muploaddropdown.html
Quote
<form method="get" action="{url_member}" name="changenum" style="margin:0px;">
  <input type="hidden" name="action" value="muploadform" />
  {if cat_id}<input type="hidden" name="cat_id" value="{cat_id}" />{endif cat_id}
  <select name="numupload" class="categoryselect" onchange="if (this.options[this.selectedIndex].value != 0){ get_id('numupload').value = this.options[this.selectedIndex].value; forms['changenum'].submit() }">{numupload_dropdown}</select>
  <noscript><input type="submit" name="Submit" class="button" value="{lang_numupload_submit}"></noscript>
</form>
,
otherwise we are unable to select the file number :lol:

Offline alphavto

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • http://www.block-a.de
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #54 on: October 08, 2006, 03:41:47 PM »
Here is a list of planned features:
- auto resize images
- auto copy original images into "big" folder (only if resized)
- auto backup original images into user-defined directory (with additional code this could be used later for restoration and/or reading EXIF/IPTC info)
- support for watermark by SLL

Thanks for the great MOD. I like these Module-Version of Multi-Upload.
Is functionally with 4images 1.7.3.
@Vano: I hope you insert the Auto-Image-Resizer in the modul, than it's perfect!

Offline picster

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • enzos-fineart-gallery
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #55 on: January 03, 2007, 01:48:20 PM »
Hi V@no,
This is, what I was looking for - again, superMOD :D
Oh, right...I made a misstake in the last version, I set a wrong variable to "1"...
in mupload.php change number in this variable:
Code: [Select]
$config['mu_max_files'] = 1; //maximum allowed files per upload

Unfortunately I still have the same issue in standard mode (s.a.) After I have changed the variable to 10 the dropdown-panel on the uploadform still remains at "1" ???
Thanks for helping,
picster

PS.:  it's working for me with FF1.5 in standard-mode on 4homepages 1.7.4



Offline picster

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • enzos-fineart-gallery
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #56 on: January 03, 2007, 11:31:06 PM »
Hi V@no,

after playing around with your multiuploadMOD, which is still phantastic - aside the bug posted above  :D  I've got an idea:
As you write on the ToDo-list to integrate image-resizing, annotation and keeping the EXIF and IPTC-data alive, maybe this could be a much simpler approach (as all these things are already done by you, namely in your mega-phantastic MOD 'checkNewImages').
So my idea is, why not giving the administrator the ability to define a certain upload-directory, in which the files will be uploaded  without being written into the database? This way, the uploaded files could be recocnized by 'checkNewImages' and could be proceeded simply to get annotation, resizing etc with one klick, without "killing" the IPTC and EXIF-Data...
As I am using 4homepages to build up a photocommunity, where I definetely ask the members for uploads and also to set keywords in advance, plus, that in a photocommunity people are very interested in technical details, this would be perfect. As I will have to check all uploads before publishing them, this would be a very interesting and comfortable workaround, what do you think???

Greetings (and I forgot that before - a happy new year for you and the 4homepage-team :D)
picster

Offline maziggy

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #57 on: January 08, 2007, 03:41:06 PM »
Does the JUpload applet still work with IE only ? I'm wondering if there are any efforst to make it work with Firefox.

Thanks, Martin

Offline maziggy

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #58 on: January 09, 2007, 07:20:24 PM »
Does the JUpload applet still work with IE only ? I'm wondering if there are any efforst to make it work with Firefox.

Thanks, Martin


No idea?

Offline jamstave

  • Newbie
  • *
  • Posts: 49
    • View Profile
Re: [MOD-beta] Multi-upload PLUS v0.3b
« Reply #59 on: January 10, 2007, 10:50:38 PM »
I removed the image name,description and keywprds and uploading is working but very first time when i add image i getting this warning message.



I click on the ok button then i click on the submit button file uploaded please some help me to correct this error.

My javascript in the member_muploadform_jupload.html

Code: [Select]
<script type="text/javascript" language="javascript">
  var filescache = new Array();
  var img_file_cache = new Array();
  var numfiles = 0;
  var uploadednum = null;
function get_id(id)
{
 if (document.getElementById) return document.getElementById(id);
 if (document.all && !document.getElementById) return document.all[id];
 if (document.layers) return document.layers[id];
}
function replaceDocument(content)
{
  get_id('result').innerHTML += content;
  get_id('result').style.display = "block";
}
function muploadinit()
{
  if (!get_id('JUpload')) return;

  // check if jupload is up and running
  if (get_id('JUpload').jsIsReady())
  {
    // Register the listeners
    get_id('JUpload').jsRegisterUploaded('Uploaded');
    get_id('JUpload').jsRegisterAddedListener("AddedListener");
    get_id('JUpload').jsRegisterRemoveListener("RemoveListener");
    get_id('JUpload').jsRegisterProgressListener('ProgressListener');
    RemoveListener();
  }
  else
  {
    // wait and try again until JUpload is ready
    window.setTimeout('muploadinit()',400);
  }
}

function printfields(i,num)
{
  return '<input type="hidden" name="media_file_number" value="'+num+'">';
}
function AddedListener()
{
  var num = get_id('JUpload').jsGetFileNumber();
  if (!num) return;
  var fvar = "";
  numfiles = num;
  for(i=0; i<num; i++)
  {
    var img_file = get_id('JUpload').jsGetFileAt(i);
    if (filescache[i] && filescache[i] == img_file)
    {
     
    }
    else
    {
     
      filescache[i] = img_file;
    }
    fvar += printfields(i,img_file,i+1)
  }
  get_id('fields').innerHTML = fvar;
  get_id('fields').style.display = "block";
}

function RemoveListener()
{
  var num = get_id('JUpload').jsGetFileNumber();
  var fvar = "";
  var tempcache = new Array();
  if (uploadednum == null && numfiles != num)
  {
    if (num)
    {
      for(i=0; i<numfiles; i++)
      {
        for(j=0;j<num;j++)
        {
          var img_file = get_id('JUpload').jsGetFileAt(j);
          if (img_file == filescache[i])
          {
           
            fvar += printfields(j,img_file,i+1);
            tempcache[j] = img_file;
            break;
          }
        }
      }
      filescache = tempcache;
    }
    numfiles = num;
    get_id('fields').innerHTML = fvar;
    get_id('fields').style.display = "block";
  }
  window.setTimeout('RemoveListener()',400);
}
function submitupload()
{
  var num = get_id('JUpload').jsGetFileNumber();
  if (num)
  {
    for(i=0; i<num; i++)
    {
      img_file_cache[i] = get_id('JUpload').jsGetFileAt(i);
     
    }
    if (uploadednum == null) uploadednum = 0;
    get_id('fields').style.display = "none";
    get_id('fields').innerHTML = printfields(0,img_file_cache[0],1);
    get_id('result').style.display = "none";
    get_id('result').innerHTML = "";

  }
  get_id('JUpload').jsClickUpload();
}
function Uploaded()
{
  uploadednum++;
  if (uploadednum < numfiles)
    get_id('fields').innerHTML = printfields(0,img_file_cache[uploadednum],uploadednum+1);
  else
    ProgressListener('',100);
}
function ProgressListener(command,percentage)
{
  if (percentage >= 100)
  {
    uploadednum = null;
    filescache = new Array();
    img_file_cache = new Array();
    get_id('fields').innerHTML = "";
  }
}
    </script>