Zisal
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Multi File Uploader] Filesize is not visible in the MediaForum: Plugins
In reply to: [WP Multi File Uploader] Filesize is not visible in the MediaForum: Plugins
In reply to: [WP Multi File Uploader] How toPlease Please Please Dholloran, could you please please please help!! Please!
Forum: Plugins
In reply to: [WP Multi File Uploader] How toI’ve try to make it connect form wp-admin Media Library before… but..
Forum: Plugins
In reply to: [WP Multi File Uploader] How tothe upload is photo showing in [ Media Library ] wp-admin/upload.php
but the “Attached to” says Unattached….
Forum: Plugins
In reply to: [WP Multi File Uploader] How toThis is the form-review.php code….
<form id="add-review-form" action="<?php echo site_url( 'wp-comments-post.php' ); ?>" method="post"> <input type="hidden" name="comment_post_ID" value="<?php echo get_the_ID(); ?>" /><?php wp_comment_form_unfiltered_html_nonce(); ?> <input type="hidden" name="comment_type" value="<?php echo VA_REVIEWS_CTYPE; ?>" /> <label><?php _e( 'Review', APP_TD ); ?> <span class="label-helper">(<?php _e( 'required', APP_TD ); ?>)</span> <textarea name="comment" id="review_body" class="required"></textarea> </label> <?php wp_multi_file_uploader(); ?> <input type="submit" value="<?php esc_attr_e( 'Submit Review', APP_TD ); ?>" /> </form>
I upload it, and right click to view the HTML page source code… but it didn’t show the hidden input…. orz
<form id="add-review-form" action="wp-comments-post.php" method="post"> <input type="hidden" name="comment_post_ID" value="117" /> <input type="hidden" id="_wp_unfiltered_html_comment_disabled" name="_wp_unfiltered_html_comment_disabled" value="2acad068e9" /><script>(function(){if(window===window.parent){document.getElementById('_wp_unfiltered_html_comment_disabled').name='_wp_unfiltered_html_comment';}})();</script> <label>Review <span class="label-helper">(required)</span> <textarea name="comment" id="review_body" class="required"</textarea> </label> <ul id="wp_multi_file_uploader" class="unstyled" data-filecount="1" data-mimetypes="jpg,jpeg,jpe,gif,png,bmp,tif,tiff,ico,asf,asx,wmv,wmx,wm,avi,divx,flv,mov,qt,mpeg,mpg,mpe,mp4,m4v,ogv,webm,mkv,txt,asc,c,cc,h,csv,tsv,ics,rtx,css,htm,html,vtt,mp3,m4a,m4b,ra,ram,wav,ogg,oga,mid,midi,wma,wax,mka,rtf,js,pdf,class,tar,zip,gz,gzip,rar,7z,doc,pot,pps,ppt,wri,xla,xls,xlt,xlw,mdb,mpp,docx,docm,dotx,dotm,xlsx,xlsm,xlsb,xltx,xltm,xlam,pptx,pptm,ppsx,ppsm,potx,potm,ppam,sldx,sldm,onetoc,onetoc2,onetmp,onepkg,odt,odp,ods,odg,odc,odb,odf,wp,wpd,key,numbers,pages" data-maxsize="64" data-postid="117" data-ajaxurl="./wp-admin/admin-ajax.php"></ul> <input type="submit" value="Submit Review" /> </form>
and still don’t know how to display the image on reviews-listing.php …
Forum: Plugins
In reply to: [WP Multi File Uploader] How tonot working…? <—— wp-multi-file-uploader.php
update_option( "wpmfu_{$post->ID}", array( "allowed_mime_types" => $allowed_mime_types, "max_file_size" => $max_file_size, "postmeta" => $postmeta )); $GLOBALS["allowed_mime_types"] = $allowed_mime_types; $GLOBALS["max_file_size"] = $max_file_size; $GLOBALS["postmeta"] = $postmeta; // Merge attributes $default_atts = array( 'allowed_mime_types' => $allowed_mime_types, 'max_file_size' => $max_file_size, 'postmeta' => $postmeta ); $atts = shortcode_atts( $default_atts, $atts ); if ( $shortcode ) { return $wpmfu_plugin->build_form( $atts ); } else { echo $wpmfu_plugin->build_form( $atts ); return ''; } } // wp_multi_file_uploader()
Forum: Plugins
In reply to: [WP Multi File Uploader] How toThanks Dan, I try to upload “test.jpg”, but the url not shows any prefix
“./wp-content/uploads/2014/06/test.jpg”
…
Forum: Plugins
In reply to: [WP Multi File Uploader] How toHelp Help Help Please Dan, I’ve try many way but no one works….
Forum: Plugins
In reply to: [WP Multi File Uploader] How toThanks Dan for your comment, I put this in comments.php
<form> <?php wp_multi_file_uploader(); ?> <input type='hidden' name='prefix_1' value='24'> <!-- upload 1 --> <input type='hidden' name='prefix_2' value='25'> <!-- upload 2 --> <input type='hidden' name='prefix_3' value='26'> <!-- upload 3 --> </form>
And I try to put this in reviews.php
<?php $multi_upload = $_POST['prefix_1']; $multi_upload2 = $_POST['prefix_2']; $multi_upload3 = $_POST['prefix_3']; echo $multi_upload.'<br />'.$multi_upload2.'<br />'.$multi_upload3; /* or Images */ echo '<img src="'.$multi_upload.'"/><br /><img src="'.$multi_upload2.'"/><br /><img src="'.$multi_upload3.'"/><br />'; ?>
But it show nothing or any picture…
Forum: Plugins
In reply to: [WP Multi File Uploader] How tocomments.php
<?php wp_multi_file_uploader(); ?>reviews.php
<p itemprop=”description” name=”wp_multi_file_uploader_[NUMBER]”><?php echo nl2br($review->comment_content); ?></p>it looks not working ^^”
Forum: Plugins
In reply to: [WP Multi File Uploader] How toI’m bad in English….. sorry not really understand Dan ^^’