fvila789
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Everything works except show postDon’t bother answering..
I uninstalled WordPress in view of reinstalling
now my wget doesn’t work anymore
I’m resinstalling Ubuntu from scratchForum: Plugins
In reply to: [Frontend Uploader] works with shortcode in content, not in templateAfter unchecking Suppress default fields it works !
Thanks so much for such fast responses!
Giving you 5stars!Forum: Plugins
In reply to: [Frontend Uploader] works with shortcode in content, not in templatewhich default fields? in the plugin, in the theme, in wordpress…
Forum: Plugins
In reply to: [Frontend Uploader] works with shortcode in content, not in templateI don’t see any plupload js libraries in the list of script files
Here’s the html it generates:
<div class="ugc-inner-wrapper"> <h2>Submit a new post</h2> <input id="" class="" type="hidden" name="post_ID" value="903"> <input id="" class="" type="hidden" name="action" value="upload_ugc"> <input id="" class="" type="hidden" name="form_layout" value="image"> <input id="fu_nonce" type="hidden" value="02bb7afca7" name="fu_nonce"> <input type="hidden" value="/wordpress/2014/10/toto-2/" name="_wp_http_referer"> <input type="hidden" value="2ffb3bb4b1fa7cf572a5076cf4359d5b" name="ff"> <input type="hidden" value="903" name="form_post_id"> <div class="clear"></div> </div>
Forum: Plugins
In reply to: [Frontend Uploader] works with shortcode in content, not in template“Suppress default fields” is checked
WordPress 4.0 “Benny” September 4, 2014Forum: Plugins
In reply to: [Frontend Uploader] works with shortcode in content, not in templateHi,
- I switched to 2014
- I removed all plugins except Frontend Uploader
- In footer.php of twentyfourteen, I replaced:
<?php wp_footer(); ?>
with
<?php echo do_shortcode('[fu-upload-form]'); wp_footer(); ?>
I still get “Submit a new post”
Regards,
FrancisForum: Plugins
In reply to: [JQuery Html5 File Upload] file upload produces json textTried with 2014 theme, yes it works!
However the images don’t seem to be attached to the post: when I edit the post > Add media > Media attached to this post, the list is empty. Is that the expected behavior?Forum: Plugins
In reply to: [JQuery Html5 File Upload] file upload produces json text(added to the above)
The 0 is in the admin edit post page, the json text is in the view pageForum: Plugins
In reply to: [JQuery Html5 File Upload] file upload produces json textWell I updated and the problem seems to persist. If I ask for too many files, I get an empty page with a 0. When the files do upload I get a json text, for example:
{“files”:[{“name”:”P1040305 (10).JPG”,”size”:4222126,”type”:”image\/jpeg”,”url”:”http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/P1040305%20%2810%29.JPG”,”thumbnailUrl”:”http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/thumbnail\/P1040305%20%2810%29.JPG”,”deleteUrl”:”http:\/\/127.0.0.1\/wordpress\/wp-admin\/admin-ajax.php?file=P1040305%20%2810%29.JPG”,”deleteType”:”DELETE”},{“name”:”P1040311 (10).JPG”,”size”:3720115,”type”:”image\/jpeg”,”url”:”http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/P1040311%20%2810%29.JPG”,”thumbnailUrl”:”http:\/\/127.0.0.1\/wordpress\/wp-content\/uploads\/files\/2\/thumbnail\/P1040311%20%2810%29.JPG”,”deleteUrl”:”http:\/\/127.0.0.1\/wordpress\/wp-admin\/admin-ajax.php?file=P1040311%20%2810%29.JPG”,”deleteType”:”DELETE”}]}
Forum: Plugins
In reply to: [JQuery Html5 File Upload] file upload produces json textthanks Sinash, I’ll try it out
Forum: Plugins
In reply to: [Frontend Uploader] Missing data for $_POST in fu_after_upload actionThanks for your answer Rinat, I’ll check out the $_FILES variable as soon as I can get back to my project
Forum: Plugins
In reply to: [Client Side Image Resize] Plugin not workingSame here!
And I’m left in the dark as to how this would be supposed to work, as documentation is really minimal.
Tried uploading via Add media in the admin dashboard: full-size image was uploaded.
Tried uploading via front-end in my own theme: no change
Tried changing theme to 2014 – couldn’t see anything on front page, Add media unchanged.
I’m using WP 3.9.2Forum: Plugins
In reply to: [Frontend Uploader] uploaded images don't appear in get_postsFound it: image attachments were marked as private. I changed the code to
global $post; $a = get_posts(array ( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'numberposts' => -1, 'post_mime_type' => 'image/jpeg', 'post_status' => 'private' )); if ( $images = $a)
and it works. I don’t know whether there’s any problem with leaving the attachments private, the users have a simplified front-end interface and don’t need to go into the WP admin pages.
Forum: Plugins
In reply to: [Frontend Uploader] uploaded images don't appear in get_postsAlso when I look into phpmyadmin I can see the attachments:
SELECT * FROMwp_posts
WHEREpost_parent
=”11371″
returns a whole list, and
SELECT * FROMwp_posts
WHEREID
=”11371″
is my postForum: Plugins
In reply to: [Frontend Uploader] Missing data for $_POST in fu_after_upload actionAdded info:
the file uploaded with the headerPhoto is in fact lumped in at the end of the $attachment_ids array. But I have no way of knowing whether the last image in the $attachment_ids array comes from the headerPhoto field or from the multiple image upload.