Support » Plugin: WordPress File Upload » Any way to show uploaded files to the user?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author nickboss



    Only admins can see the uploaded files through the Dashboard. A new version is on its way to allow users to view their uploaded files as well.

    For the moment, the plugin cooperates with a 3rd party plugin called WPFileBase to list files to the users. Put filebaselink=”true” to the shortcode and adjust uploadpath to send files in WPFileBase folders (usually “wp-content/uploads/filebase”). WPFileBase can be adjusted to list only the files of the logged user. However, there is not way to list files of a user who is not logged in (guest).


    Hello! Any news on this new feature to avoid requiring WPFileBase to show uploaded files to the users?

    Hi! I couldn’t get WPFileBase to work; it seems like it’s broken. It just doesn’t show the uploaded files.

    In its support forum you can read that its author has abandoned development:

    So, your update intgrating the option allowing admins to browse/download/delete uploaded files is our only salvation.

    Hope you can get it working soon.
    Best regards

    Is this feature ready? Great plugin. Looks like I’ll have to abandon it now. I need a way to show the attachments to users.

    No more news since my last message 🙁
    I had to solve it by using a private login page with Gravity Gorms’ file upload functions. Not what I’d really wanted to implement, but, since this plugin is not ready, I had no choice…

    Best regards

    Actually, I got it working:

    There are two thing you need to do:

    1) Set the id of the page you want the files to appear on
    2) Ensure the directory for the WordPress File Upload plugin and the WP-FIlebase plugin match.

    Let me know if you need more details.

    Yes! I also need to be able to upload different files and make them available to specific, logged-in, users, to see and download, but I couldnt do that with this plugin. Do you know any other solution to this?

    You can tell filebase to show the files on any page. I’m not sure what your exact requirements are but perhaps you could adjust the permissions for the page accordingly.

    I think I’ll do better with s2member plugin, cause I also need to upload specific files to be available to specific registered users. Don’t think this is possible using this plugin… right?

    The best I can tell is files can only be shown on one page with WP-Filebase.

    I added this filter to my theme’s functions.php that triggers when the content is displayed. It shows a list of the uploaded files with a link to download them and to modify the description (it would be great if you could write descriptions of the file on upload). Here is the code (note that uploaded file appears on the list when post/page is refreshed):

    add_filter('the_content', 'wpfu_slip_footer');
    function wpfu_slip_footer( $content ) {
    	$haystack = '-' . $content;
    	if (stripos( $haystack , '[wordpress_file_upload')){
    		global $post;
    		$id = $post->ID;
    		$args = array (
    			'post_type' => 'attachment',
    			'post_status' => 'inherit',
    			'post_parent' => $id,
    			'order_by' => 'date',
    			'order' => 'ASC'
    		$loop = new WP_Query($args);
    		if ($loop->have_posts()){
    			$content = $content . ' <h5>List of uploaded files:</h5><ol>';
    			while ($loop->have_posts()){
    	 			$modify = get_edit_post_link();
    	 			$content = $content . ' <li><a href="' . wp_get_attachment_url( $loop->post->ID ) . '">' . get_the_title() . '</a> '
    				. get_the_content() . ' <a class="post-edit-link" href="' . $modify . '">Modifica</a></li>';
    			$content = $content . ' </ol>';
    	return $content;
    Plugin Author nickboss


    for the moment the plugin does not offer the feature to show the files to the users, only to admins.

    a future release will allow it, in some days from now hopefully…

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Any way to show uploaded files to the user?’ is closed to new replies.