Author Topic: [MOD] Multiupload für user, multiple upload, imageresizer, SWF upload include  (Read 12574 times)

0 Members and 1 Guest are viewing this topic.

Offline auftrip

  • Newbie
  • *
  • Posts: 37
    • View Profile
Multiupload:

Achtung wichtig nichtmehr diesen MOD Installieren!!! Folgender Link ist die neue Version mit mehr Funktionen. http://www.4homepages.de/forum/index.php?topic=30831.msg162118#msg162118

Edit: für den Multiupload mit imageresizer müsst ihr weiter unten nachschauen:
Hinweiß: Es handelt sich um zwei verschiedene Multiuploads, d. h. nur denjenigen MOD einbauen, den man benötigt.


so hab jetzt mal nach langer langer zeit endlich mal geschafft den SWF upload in 4images zu integrieren.
der funktioniert im endefekt genau wie der hier: http://www.4homepages.de/forum/index.php?topic=29719.0
der is aber um sonst:).

hier ist die demo des uploads: http://demo.swfupload.org/v220/simpledemo/index.php

bei dem upload muss dennoch der admin die bilder freischalten, des kann ich dann doch nicht mit meinen kenntnissen.
wär nett wenn des vielleicht jemand für mich erledigen könnte.


1. also als erstes mal müsst ihr eure daten sichern.
dann ladet euch die multiupload.rar datei im anhang runter enpackt sie und ladet dann den multiupload Ordner in folgendes Verzeichnis:
root\includes\

2. Erstell in deinem root Ordner eine Datei mit dem Namen
    multiupload.php
    und füge folgendes ein:

<?php
// Code for to workaround the Flash Player Session Cookie bug
	
$MyData=$_POST['dbname'];
	

	
if (isset(
$_POST["PHPSESSID"])) {
	
	
session_id($_POST["PHPSESSID"]);
	
} else if (isset(
$_GET["PHPSESSID"])) {
	
	
session_id($_GET["PHPSESSID"]);
	
}

	
session_start();

// Check post_max_size (http://us3.php.net/manual/en/features.file-upload.php#73762)
	
$POST_MAX_SIZE ini_get('post_max_size');
	
$unit strtoupper(substr($POST_MAX_SIZE, -1));
	
$multiplier = ($unit == 'M' 1048576 : ($unit == 'K' 1024 : ($unit == 'G' 1073741824 1)));

	
if ((int)
$_SERVER['CONTENT_LENGTH'] > $multiplier*(int)$POST_MAX_SIZE && $POST_MAX_SIZE) {
	
	
header("HTTP/1.1 500 Internal Server Error"); // This will trigger an uploadError event in SWFUpload
	
	
echo 
"POST exceeded maximum allowed size.";
	
	
exit(
0);
	
}

// Settings
	
$save_path dirname(__FILENAME__) . "".$MyData."";
	
	
	
	
// The path were we will save the file (getcwd() may not be reliable and should be tested in your environment)
	
$upload_name "Filedata";
	
$max_file_size_in_bytes 2147483647;
	
	
	
	
// 2GB in bytes
	
$extension_whitelist = array("jpg""gif""png");
	
// Allowed file extensions
	
$valid_chars_regex '.A-Z0-9_ !@#$%^&()+={}\[\]\',~`-';
	
	
	
	
// Characters allowed in the file name (in a Regular Expression format)
	

// Other variables
	

	
$MAX_FILENAME_LENGTH 260;
	
$file_name "";
	
$file_extension "";
	
$uploadErrors = array(
        
0=>"There is no error, the file uploaded successfully",
        
1=>"The uploaded file exceeds the upload_max_filesize directive in php.ini",
        
2=>"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form",
        
3=>"The uploaded file was only partially uploaded",
        
4=>"No file was uploaded",
        
6=>"Missing a temporary folder"
	
);


// Validate the upload
	
if (!isset(
$_FILES[$upload_name])) {
	
	
HandleError("No upload found in \$_FILES for " $upload_name);
	
	
exit(
0);
	
} else if (isset(
$_FILES[$upload_name]["error"]) && $_FILES[$upload_name]["error"] != 0) {
	
	
HandleError($uploadErrors[$_FILES[$upload_name]["error"]]);
	
	
exit(
0);
	
} else if (!isset(
$_FILES[$upload_name]["tmp_name"]) || !@is_uploaded_file($_FILES[$upload_name]["tmp_name"])) {
	
	
HandleError("Upload failed is_uploaded_file test.");
	
	
exit(
0);
	
} else if (!isset(
$_FILES[$upload_name]['name'])) {
	
	
HandleError("File has no name.");
	
	
exit(
0);
	
}
	

// Validate the file size (Warning: the largest files supported by this code is 2GB)
	
$file_size = @filesize($_FILES[$upload_name]["tmp_name"]);
	
if (!
$file_size || $file_size $max_file_size_in_bytes) {
	
	
HandleError("File exceeds the maximum allowed size");
	
	
exit(
0);
	
}
	

	
if (
$file_size <= 0) {
	
	
HandleError("File size outside allowed lower bound");
	
	
exit(
0);
	
}


// Validate file name (for our purposes we'll just remove invalid characters)
	
$file_name preg_replace('/[^'.$valid_chars_regex.']|\.+$/i'""basename($_FILES[$upload_name]['name']));
	
if (
strlen($file_name) == || strlen($file_name) > $MAX_FILENAME_LENGTH) {
	
	
HandleError("Invalid file name");
	
	
exit(
0);
	
}


// Validate that we won't over-write an existing file
	
if (
file_exists($save_path $file_name)) {
	
	
HandleError("File with this name already exists");
	
	
exit(
0);
	
}

// Validate file extension
	
$path_info pathinfo($_FILES[$upload_name]['name']);
	
$file_extension $path_info["extension"];
	
$is_valid_extension false;
	
foreach (
$extension_whitelist as $extension) {
	
	
if (
strcasecmp($file_extension$extension) == 0) {
	
	
	
$is_valid_extension true;
	
	
	
break;
	
	
}
	
}
	
if (!
$is_valid_extension) {
	
	
HandleError("Invalid file extension");
	
	
exit(
0);
	
}

// Validate file contents (extension and mime-type can't be trusted)
	
/*
	
	
Validating the file contents is OS and web server configuration dependant.  Also, it may not be reliable.
	
	
See the comments on this page: http://us2.php.net/fileinfo
	
	

	
	
Also see http://72.14.253.104/search?q=cache:3YGZfcnKDrYJ:www.scanit.be/uploads/php-file-upload.pdf+php+file+command&hl=en&ct=clnk&cd=8&gl=us&client=firefox-a
	
	
 which describes how a PHP script can be embedded within a GIF image file.
	
	

	
	
Therefore, no sample code will be provided here.  Research the issue, decide how much security is
	
	
 needed, and implement a solution that meets the need.
	
*/


// Process the file
	
/*
	
	
At this point we are ready to process the valid file. This sample code shows how to save the file. Other tasks
	
	
 could be done such as creating an entry in a database or generating a thumbnail.
	
	
 
	
	
Depending on your server OS and needs you may need to set the Security Permissions on the file after it has
	
	
been saved.
	
*/
	
if (!@
move_uploaded_file($_FILES[$upload_name]["tmp_name"], $save_path.$file_name)) {
	
	
HandleError("File could not be saved.");
	
	
exit(
0);
	
}

	
exit(
0);


/* Handles the error output. This error message will be sent to the uploadSuccess event handler.  The event handler
will have to check for any error messages and react as needed. */
function HandleError($message) {
	
echo 
$message;
}
?>


3. öffne: root\templates\your templates\member_uploadform und such nach:

/<form method="post" action="{url_member}" enctype="multipart/form-data" onsubmit="uploadbutton.disabled=true;">

füge davor folgendes ein:

<!DOCTYPE html>
<
html>
<
head>
<
title>SWFUpload Demos Simple Demo</title>
<
link href="{template_url}/style.css" rel="stylesheet" type="text/css" />
<
script type="text/javascript" src="includes/multiupload/swfupload/swfupload.js"></script>
<
script type="text/javascript" src="includes/multiupload/swfupload/swfupload.queue.js"></script>
<
script type="text/javascript" src="includes/multiupload/js/fileprogress.js"></script>
<
script type="text/javascript" src="includes/multiupload/js/handlers.js"></script>
<
script type="text/javascript">
	
	
var 
swfu;

	
	
window.onload = function() {
	
	
	
var 
settings = {
	
	
	
	
flash_url "includes/multiupload/swfupload/swfupload.swf",
	
	
	
	
flash9_url "includes/multiupload/swfupload/swfupload_fp9.swf",
	
	
	
	
upload_url"multiupload.php",
	
	
	
	
post_params: {"PHPSESSID" "<?php echo session_id(); ?>" ,
"dbname" "/data/media/<?php echo $cat_id; ?>/" },
	
	
	
	
file_size_limit "100 MB",
	
	
	
	
file_types "*.*",
	
	
	
	
file_types_description "All Files",
	
	
	
	
file_upload_limit 999,
	
	
	
	
file_queue_limit 0,
	
	
	
	
custom_settings : {
	
	
	
	
	
progressTarget "fsUploadProgress",
	
	
	
	
	
cancelButtonId "btnCancel"
	
	
	
	
},
	
	
	
	
debugfalse,

	
	
	
	
// Button settings
	
	
	
	
button_image_url"includes/multiupload/images/hintergrund.png",
	
	
	
	
button_width"195",
	
	
	
	
button_height"29",
	
	
	
	
button_placeholder_id"spanButtonPlaceHolder",
	
	
	
	
button_text'<span class="theFont">Durchsuchen &amp; Hochladen</span>',
	
	
	
	
button_text_style".theFont { font-size: 16; }",
	
	
	
	
button_text_left_padding12,
	
	
	
	
button_text_top_padding3,
	
	
	
	

	
	
	
	
// The event handler functions are defined in handlers.js
	
	
	
	
swfupload_preload_handler preLoad,
	
	
	
	
swfupload_load_failed_handler loadFailed,
	
	
	
	
file_queued_handler fileQueued,
	
	
	
	
file_queue_error_handler fileQueueError,
	
	
	
	
file_dialog_complete_handler fileDialogComplete,
	
	
	
	
upload_start_handler uploadStart,
	
	
	
	
upload_progress_handler uploadProgress,
	
	
	
	
upload_error_handler uploadError,
	
	
	
	
upload_success_handler uploadSuccess,
	
	
	
	
upload_complete_handler uploadComplete,
	
	
	
	
queue_complete_handler queueComplete
	
// Queue plugin event
	
	
	
};

	
	
	
swfu = new SWFUpload(settings);
	
     };
	
</
script>
</
head>
<
body>
<
div id="content">
	
<
h2>Bilderupload</h2>
	
<
form id="form1" action="index.php" method="post" enctype="multipart/form-data">

	
	
	
	
<
span id="spanButtonPlaceHolder"></span>
	
	
	
	
<
input id="btnCancel" type="button" value="Upload abbrechen" onclick="swfu.cancelQueue();" disabled="disabled" style="margin-left: 2px; font-size: 8pt; height: 29px; backgroundcolor:: #0066ff;" />
	
	
	
</
div>
	
	
<
div id="divStatus">0 Dateien hochgeladen.</div>
	
	
	
<
div>
	
	
	
<
div class="fieldset flash" id="fsUploadProgress">
	
	
	
</
div>

	
</
form>


3.1 such nach:

<input type="reset" value="{lang_reset}" class="button" />
  </
p>
</
form>


füge danach folgendes ein:

</div>
</
body>
</
html>


4. offne: root\templates\your templates\style.css und füge am Schluss folgendes ein:

/*--Mutliupload-----------------------------------------------*/
/*--Mutliupload-----------------------------------------------*/


/* -- Form Styles ------------------------------- */
form {
	

	
margin0;
	
padding0;
}



div.fieldset {
	
border:  1px solid #afe14c;
	
margin10px 0;
	
padding20px 10px;
}
div.fieldset span.legend {
	
positionrelative;
	
background-color#FFF;
	
padding3px;
	
top: -30px;
	
color#73b304;
}

div.flash {
	
width375px;
	
margin10px 5px;
	
border-color#D9E4FF;

	
-
moz-border-radius-topleft 5px;
	
-
webkit-border-top-left-radius 5px;
    -
moz-border-radius-topright 5px;
    -
webkit-border-top-right-radius 5px;
    -
moz-border-radius-bottomleft 5px;
    -
webkit-border-bottom-left-radius 5px;
    -
moz-border-radius-bottomright 5px;
    -
webkit-border-bottom-right-radius 5px;

}

button,
input,
select,
textarea 
	
border-width1px
	
margin-bottom10px;
	
padding2px 3px;
}



input[disabled]{ border1px solid #ccc } /* FF 2 Fix */


label 
	
width150px
	
text-alignright
	
display:block;
	
margin-right5px;
}

#btnSubmit { margin: 0 0 0 155px ; }

/* -- Table Styles ------------------------------- */
td {
	
vertical-aligntop;
}

.
progressWrapper {
	
width357px;
	
overflowhidden;
}

.
progressContainer {
	
margin5px;
	
padding4px;
	
bordersolid 1px #E8E8E8;
	
background-color#F7F7F7;
	
overflowhidden;
}
/* Message */
.message {
	
margin1em 0;
	
padding10px 20px;
	
bordersolid 1px #FFDD99;
	
background-color#FFFFCC;
	
overflowhidden;
}
/* Error */
.red {
	
bordersolid 1px #B50000;
	
background-color#FFEBEB;
}

/* Current */
.green {
	
bordersolid 1px #DDF0DD;
	
background-color#EBFFEB;
}

/* Complete */
.blue {
	
bordersolid 1px #CEE2F2;
	
background-color#F0F5FF;
}

.
progressName {
	
color#555;
	
width323px;
	
height14px;
	
text-alignleft;
	
white-spacenowrap;
	
overflowhidden;
}

.
progressBarInProgress,
.
progressBarComplete,
.
progressBarError {
	
width0%;
	
height2px;
	
background-colorblue;
	
margin-top2px;
}

.
progressBarComplete {
	
width100%;
	
background-colorgreen;
	
visibilityhidden;
}

.
progressBarError {
	
width100%;
	
background-colorred;
	
visibilityhidden;
}

.
progressBarStatus {
	
margin-top2px;
	
width337px;
	
font-familyArial;
	
text-alignleft;
	
white-spacenowrap;
}

a.progressCancel {
	
displayblock;
	
height14px;
	
width14px;
	
background-imageurl(../../includes/multiupload/images/cancelbutton.gif);
	
background-repeatno-repeat;
	
background-position: -14px 0px;
	
floatright;
}

a.progressCancel:hover {
	
background-position0px 0px;
}


/* -- SWFUpload Object Styles ------------------------------- */
.swfupload {
	
vertical-aligntop;
}


jetzt seit ihr fertig. da das mein erster mod ist, entschuldige ich für fehler, die auftreten könnten.



-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



So hier noch ein anderer Multiupload mit imageresizer:

1. Sicher deine Dateien. Dann erstell in deinem root Ordner eine Datei mit dem Namen
    multiupload_2.php
    und füge folgendes ein:

<?php
	
/* Note: This thumbnail creation script requires the GD PHP Extension.  
	
	
If GD is not installed correctly PHP does not render this page correctly
	
	
and SWFUpload will get "stuck" never calling uploadSuccess or uploadError
	
 */

	
// Get the session Id passed from SWFUpload. We have to do this to work-around the Flash Player Cookie Bug
	
$uploadpath=$_POST['uploadpath'];
	

	
if (isset(
$_POST["PHPSESSID"])) {
	
	
session_id($_POST["PHPSESSID"]);
	
} else if (isset(
$_GET["PHPSESSID"])) {
	
	
session_id($_GET["PHPSESSID"]);
	
}

	
session_start();
	
ini_set("html_errors""0");

	
// Check the upload
	
// Check the upload
	
if (!isset(
$_FILES["Filedata"]) || !is_uploaded_file($_FILES["Filedata"]["tmp_name"]) || $_FILES["Filedata"]["error"] != 0) {
	
	
echo 
"ERROR:invalid upload";
	
	
exit(
0);
	
}


	
if (!isset(
$_SESSION["file_info"])) {
	
	
$_SESSION["file_info"] = array();
	
}
	

	
$fileName md5(rand()*10) . ".jpg";
	
move_uploaded_file($_FILES["Filedata"]["tmp_name"], "".$uploadpath."" $_FILES['Filedata']['name']);

	
$file_id md5(rand()*10000000);
	

	
$_SESSION["file_info"][$file_id] = $fileName;

	
echo 
"FILEID:" $file_id;
	
// Return the file id to the script
	

?>


2. lade dir die multiupload2.rar Datei runter, endpack sie und lade den Ordner multiuload2 in root\includes\ hoch.

3. öffne: root\templates\your templates\member_uploadform und suche:

<form method="post" action="{url_member}" enctype="multipart/form-data" onsubmit="uploadbutton.disabled=true;">

füge davor folgendes ein:

<?php
	
session_start();
	
$_SESSION["file_info"] = array();
?>
<!DOCTYPE html>
<html>
<head>
<title>SWFUpload Demos - Resize Demo</title>
<link href="{template_url}/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./includes/multiupload2/swfupload/swfupload.js"></script>
<script type="text/javascript" src="./includes/multiupload2/js/handlers.js"></script>
<script type="text/javascript">
	
	
var swfu;
	
	
window.onload = function () {
	
	
	
swfu = new SWFUpload({
	
	
	
	
// Backend Settings
	
	
	
	
upload_url: "multiupload_2.php",
	
	
	
	
post_params: {"PHPSESSID": "<?php echo session_id(); ?>" ,
"uploadpath" : "data/media/<?php echo $cat_id?>/" },

	
	
	
	
// File Upload Settings
	
	
	
	
file_size_limit : "10 MB",
	
	
	
	
file_types : "*.jpg;*.png",
	
	
	
	
file_types_description : "JPG Images; PNG Image",
	
	
	
	
file_upload_limit : 0,

	
	
	
	
// Event Handler Settings - these functions as defined in Handlers.js
	
	
	
	
//  The handlers are not part of SWFUpload but are part of my website and control how
	
	
	
	
//  my website reacts to the SWFUpload events.
	
	
	
	
swfupload_preload_handler : preLoad,
	
	
	
	
swfupload_load_failed_handler : loadFailed,
	
	
	
	
file_queue_error_handler : fileQueueError,
	
	
	
	
file_dialog_complete_handler : fileDialogComplete,
	
	
	
	
upload_progress_handler : uploadProgress,
	
	
	
	
upload_error_handler : uploadError,
	
	
	
	
upload_success_handler : uploadSuccess,
	
	
	
	
upload_complete_handler : uploadComplete,

	
	
	
	
// Button Settings
	
	
	
	
button_image_url : "./includes/multiupload2/images/SmallSpyGlassWithTransperancy_17x18.png",
	
	
	
	
button_placeholder_id : "spanButtonPlaceholder",
	
	
	
	
button_width: 180,
	
	
	
	
button_height: 18,
	
	
	
	
button_text : '<span class="button">Select Images <span class="buttonSmall">(2 MB Max)</span></span>',
	
	
	
	
button_text_style : '.button { font-family: Helvetica, Arial, sans-serif; font-size: 12pt; } .buttonSmall { font-size: 10pt; }',
	
	
	
	
button_text_top_padding: 0,
	
	
	
	
button_text_left_padding: 18,
	
	
	
	
button_window_mode: SWFUpload.WINDOW_MODE.TRANSPARENT,
	
	
	
	
button_cursor: SWFUpload.CURSOR.HAND,
	
	
	
	

	
	
	
	
// Flash Settings
	
	
	
	
flash_url : "./includes/multiupload2/swfupload/swfupload.swf",
	
	
	
	
flash9_url : "./includes/multiupload2/swfupload/swfupload_fp9.swf",

	
	
	
	
custom_settings : {
	
	
	
	
	
upload_target : "divFileProgressContainer",
	
	
	
	
	
thumbnail_height: 800,
	
	
	
	
	
thumbnail_width: 800,
	
	
	
	
	
thumbnail_quality: 100
	
	
	
	
},
	
	
	
	

	
	
	
	
// Debug Settings
	
	
	
	
debug: false
	
	
	
});
	
	
};
	
</script>
</head>
<body>
<div id="content">
	
<h2>Multiupload</h2>
	
<form>
	
	
<div style="width: 180px; height: 18px; border: solid 1px #7FAAFF; background-color: #C5D9FF; padding: 2px;">
	
	
	
<span id="spanButtonPlaceholder"></span>
	
	
</div>
	
</form>

	
<div id="divFileProgressContainer" style="height: 75px;"></div>


3.1 such nach:

<input type="reset" value="{lang_reset}" class="button" />
  </
p>
</
form>


füg danach folgendes ein:

</div>
</
body>
</
html>



3.2 such nach:

	
	
	
	
	
thumbnail_height800,
	
	
	
	
	
thumbnail_width800,
	
	
	
	
	
thumbnail_quality100


hier kannst du die größe der Bilder eingeben, die du danach erhalten willst. In meinem Fall ist das 800x800.

4. offne: root\templates\your templates\style.css und füge am Schluss folgendes ein:

/*--Mutliupload-----------------------------------------------*/
/*--Mutliupload-----------------------------------------------*/

/* -- Form Styles ------------------------------- */
form {
	

	
margin0;
	
padding0;
}



div.fieldset {
	
border:  1px solid #afe14c;
	
margin10px 0;
	
padding20px 10px;
}
div.fieldset span.legend {
	
positionrelative;
	
background-color#FFF;
	
padding3px;
	
top: -30px;
	
color#73b304;
}

div.flash {
	
width375px;
	
margin10px 5px;
	
border-color#D9E4FF;

	
-
moz-border-radius-topleft 5px;
	
-
webkit-border-top-left-radius 5px;
    -
moz-border-radius-topright 5px;
    -
webkit-border-top-right-radius 5px;
    -
moz-border-radius-bottomleft 5px;
    -
webkit-border-bottom-left-radius 5px;
    -
moz-border-radius-bottomright 5px;
    -
webkit-border-bottom-right-radius 5px;

}

button,
input,
select,
textarea 
	
border-width1px
	
margin-bottom10px;
	
padding2px 3px;
}



input[disabled]{ border1px solid #ccc } /* FF 2 Fix */


label 
	
width150px
	
text-alignright
	
display:block;
	
margin-right5px;
}

#btnSubmit { margin: 0 0 0 155px ; }

/* -- Table Styles ------------------------------- */
td {
	
vertical-aligntop;
}

.
progressWrapper {
	
width357px;
	
overflowhidden;
}

.
progressContainer {
	
margin5px;
	
padding4px;
	
bordersolid 1px #E8E8E8;
	
background-color#F7F7F7;
	
overflowhidden;
}
/* Message */
.message {
	
margin1em 0;
	
padding10px 20px;
	
bordersolid 1px #FFDD99;
	
background-color#FFFFCC;
	
overflowhidden;
}
/* Error */
.red {
	
bordersolid 1px #B50000;
	
background-color#FFEBEB;
}

/* Current */
.green {
	
bordersolid 1px #DDF0DD;
	
background-color#EBFFEB;
}

/* Complete */
.blue {
	
bordersolid 1px #CEE2F2;
	
background-color#F0F5FF;
}

.
progressName {
	
font-weight700;
	
color#555;
	
width323px;
	
height14px;
	
text-alignleft;
	
white-spacenowrap;
	
overflowhidden;
}

.
progressBarInProgress,
.
progressBarComplete,
.
progressBarError {
	
font-size0;
	
width0%;
	
height2px;
	
background-colorblue;
	
margin-top2px;
}

.
progressBarComplete {
	
width100%;
	
background-colorgreen;
	
visibilityhidden;
}

.
progressBarError {
	
width100%;
	
background-colorred;
	
visibilityhidden;
}

.
progressBarStatus {
	
margin-top2px;
	
width337px;
	
font-familyArial;
	
text-alignleft;
	
white-spacenowrap;
}

a.progressCancel {
	
font-size0;
	
displayblock;
	
height14px;
	
width14px;
	
background-imageurl(../images/cancelbutton.gif);
	
background-repeatno-repeat;
	
background-position: -14px 0px;
	
floatright;
}

a.progressCancel:hover {
	
background-position0px 0px;
}


/* -- SWFUpload Object Styles ------------------------------- */
.swfupload {
	
vertical-aligntop;
}



jetzt seit ihr fertig, viel Spaß damit.

zusätzlich würde ich noch diesen MOD empfelen:
http://www.4homepages.de/forum/index.php?topic=18564.0
« Last Edit: July 10, 2012, 08:16:03 PM by auftrip »

Offline Scarala

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • www.MPS-Fotos.de - Die MPS-Fotocommunity
Re: Multiupload für user, multiple upload, ( SWF upload include )...
« Reply #1 on: November 30, 2011, 11:05:33 PM »
Habs installiert und bekommen beim aufrufen der multiupload.php folgende meldung:
Code: [Select]
No upload found in $_FILES for FiledataHab doch noch gar nichts hochgeladen?!?

Offline auftrip

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Multiupload für user, multiple upload, ( SWF upload include )...
« Reply #2 on: December 01, 2011, 07:41:34 PM »
Quote
Habs installiert und bekommen beim aufrufen der multiupload.php folgende meldung:

Quote
No upload found in $_FILES for Filedata

du darfst auch nicht die multiupload.php öffnen, alles is genauso wie davor. mach alles ganz normal wie beim alten upload, d.h. geh auf ne bilder kategorie und klick auf den upload button. da kommt dann oben der neue multiupload automatisch. und unten siehst du dann noch den alten.

des ganze schaut dann ungefär so wie unten auf dem bild aus

aber wie gesagt im admin control panel musst du dann nach den upload noch die neuen bilder checken, damit sie dann in deiner gallerie angezeigt werden

Offline Scarala

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • www.MPS-Fotos.de - Die MPS-Fotocommunity
Re: [MOD] Multiupload für user, multiple upload, ( SWF upload include )...
« Reply #3 on: December 02, 2011, 12:18:21 PM »
Danke für die Info. Uploaden hat super funktionert. Nur noch ein paar anregungen, weil es so für mich noch nicht nutzbar ist.

1. Muss ich im Admin-Menü erstmal auf 'Neue Bilder checken'... bei über 400 Kategorien is das ne menge arbeit...
   Schöner wäre es, wenn die Bilder direkt unter 'Bilder Freischalten' auftauchen würden.

2. Habe ich den auto-image-resizer bei Upload auf meiner Seite aktiv, der mir bei Upload die Bilder automatisch verkleinert und n Thumbnail erstellt.
    Gibts die möglichkeit, das zu integrieren?

Liebe Grüße

Scar

Offline auftrip

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] Multiupload für user, multiple upload, ( SWF upload include )...
« Reply #4 on: December 02, 2011, 02:26:22 PM »
Quote
Danke für die Info. Uploaden hat super funktionert. Nur noch ein paar anregungen, weil es so für mich noch nicht nutzbar ist.

1. Muss ich im Admin-Menü erstmal auf 'Neue Bilder checken'... bei über 400 Kategorien is das ne menge arbeit...
   Schöner wäre es, wenn die Bilder direkt unter 'Bilder Freischalten' auftauchen würden.

2. Habe ich den auto-image-resizer bei Upload auf meiner Seite aktiv, der mir bei Upload die Bilder automatisch verkleinert und n Thumbnail erstellt.
    Gibts die möglichkeit, das zu integrieren?

Liebe Grüße

Scar
zum punkt 1: prinzipiell wäre das schon möglich, aber des kann ich leider nicht mit meinen php kenntnissen.

punkt 2: also den auto-image-resizer beim Upload könnte ich glaub ich schon integrieren, aber das mit den thumbnails leider nicht. das wäre aber nicht so schlimm, da diese doch automatisch beim "Neue Bilder checken" erstellt werden.

wenn du an dem auto-image-resizer intersse hast, dann kann ich mich ja mal damit beschäftigen wenn du willst.


edit: den auto-image-resizer von swf upload hab ich grad ausprobiert. den gibts im moment nur als beta und der is noch zu verbugged. desswegen musst du noch warten bis sie ihn gefixt haben.
« Last Edit: December 02, 2011, 04:39:16 PM by auftrip »

Offline Scarala

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • www.MPS-Fotos.de - Die MPS-Fotocommunity
Re: [MOD] Multiupload für user, multiple upload, ( SWF upload include )...
« Reply #5 on: December 02, 2011, 07:25:52 PM »
Echt super, danke schon mal. Freue mich, wenn das mit dem auto-image-resizer klappt, dafür bin ich gerne bereit zu warten :)

Und zum Punkt 1: Vielleicht fühlt sich ja jemand anderes dazu in der Lage... Würde mich total freuen, denn bei mir reichts grad mal so zum seiten an meine bedürfnisse anpassen, aber nicht wirklich zum selbst Coden...

Offline auftrip

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] Multiupload für user, multiple upload, ( SWF upload include )...
« Reply #6 on: December 16, 2011, 03:11:10 PM »
Quote
Echt super, danke schon mal. Freue mich, wenn das mit dem auto-image-resizer klappt, dafür bin ich gerne bereit zu warten Smile

also die ham jetzt ein fix raus gebracht, den werd ich mal die oder nächste woche einbauen:)

Offline Scarala

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • www.MPS-Fotos.de - Die MPS-Fotocommunity
Re: [MOD] Multiupload für user, multiple upload, ( SWF upload include )...
« Reply #7 on: December 30, 2011, 10:47:36 PM »
Und, hats schon geklappt?