Title: Member upload video
Last modified: August 21, 2016

---

# Member upload video

 *  Resolved [hoa.buiduy](https://wordpress.org/support/users/hoabuiduy/)
 * (@hoabuiduy)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/)
 * Hi all,
    How can I make a page for members add their video. Who can give me a
   idea.
 * Thank all.
 * [http://wordpress.org/plugins/contus-video-gallery/](http://wordpress.org/plugins/contus-video-gallery/)

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/member-upload-video/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/member-upload-video/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/member-upload-video/page/2/?output_format=md)

 *  [karthikeyani](https://wordpress.org/support/users/karthikeyani/)
 * (@karthikeyani)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218145)
 * Hi,
 * By default our plugin will support add videos option for the following user roles“
   Editor”, “Administrator”, “Super User”. To enable this option for “subscriber”,
   Please install [“User Role Editor” plugin](http://wordpress.org/plugins/user-role-editor/)
   and set the access level to “Edit_pages” for subscriber and open the file in 
   the path \wp-content\plugins\contus-video-gallery\admin\views\video\video.php
   and find the code “<div class=”admin_short_video_info”>”. Now add the following
   code above “<div class=”admin_short_video_info”>”
 * <?php
    function get_current_user_role() { global $current_user; get_currentuserinfo();
   $user_roles = $current_user->roles; $user_role = array_shift($user_roles); return
   $user_role; }; $user_role = get_current_user_role(); if($user_role!=’subscriber’){?
   >
 * No w close the curly braces after the form tag “</form>”
 * <?php } ?>
 * If you have any other queries feel free to contact us.
 *  Thread Starter [hoa.buiduy](https://wordpress.org/support/users/hoabuiduy/)
 * (@hoabuiduy)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218148)
 * Hi Karthikeyani,
    I did it and it work very well. How can I move the member add
   video page to front folder? (Or Show videos page only) Thank u so much.
 *  [karthikeyani](https://wordpress.org/support/users/karthikeyani/)
 * (@karthikeyani)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218149)
 * Hi,
 * Please note that, you cannot move the member add video page to front folder. 
   Add video page will be displayed in admin panel and we can restrict the pages
   to the members using user role. If you have used the above mentioned steps, the
   restricted users can access only the add video page. If he try to access the 
   other pages, it will display restricted access error message.
 * If you have any other queries feel free to contact us.
 *  Thread Starter [hoa.buiduy](https://wordpress.org/support/users/hoabuiduy/)
 * (@hoabuiduy)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218150)
 * Hi,
    When I do with your step. It works ok, But the Page menu still show. How
   can I hide it? And when user add video. The add category button should be hided.
 * Thank u
 *  [karthikeyani](https://wordpress.org/support/users/karthikeyani/)
 * (@karthikeyani)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218151)
 * Hi,
 * Please open \wp-content\plugins\contus-video-gallery\admin\views\video\addvideo.
   php and find `onclick="playlistdisplay()"`. Now you can find the below code.
 * `<a style="cursor:pointer" onclick="playlistdisplay()"><?php _e('Create New','
   video_gallery') ?></a></h4>`
 * Replace with the following code.
 *     ```
       <?php
               function get_current_user_role() {
           global $current_user;
           get_currentuserinfo();
           $user_roles = $current_user->roles;
           $user_role = array_shift($user_roles);
           return $user_role;
       };
       $user_role = get_current_user_role();
       if($user_role!='subscriber'){
       ?>
       <a style="cursor:pointer"  onclick="playlistdisplay()"><?php _e('Create New', 'video_gallery') ?></a>
       <?php } ?>
       </h4>
       ```
   
 * Now “Add category” will be restricted to the members. But please note that you
   cannot hide the menu. When you click on the menu, it will display “All Videos”
   Page only.
 *  Thread Starter [hoa.buiduy](https://wordpress.org/support/users/hoabuiduy/)
 * (@hoabuiduy)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218152)
 * Hi,
    My mean is the Pages management page ( on left menu) should hide. Show only
   All Videos page. Because I still see it appear.
 * Thank 😀
 *  [karthikeyani](https://wordpress.org/support/users/karthikeyani/)
 * (@karthikeyani)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218153)
 * Hi,
 * It is not possible to hide the “video gallery” menu in the left side [http://screencast.com/t/nBBlXgTs5D4e](http://screencast.com/t/nBBlXgTs5D4e).
   If you try to hide the menu, then member cannot have an option to go to add videos
   page.
 *  Thread Starter [hoa.buiduy](https://wordpress.org/support/users/hoabuiduy/)
 * (@hoabuiduy)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218154)
 * Hi K,
    I would like to hide the “Pages” menu item above “Video Gallery” item.
   [http://content.screencast.com/users/duyhoa07k4038/folders/Images/media/3787ef1e-5f8b-49ed-92e3-cf657c1e069c/2013-10-23_1149.png](http://content.screencast.com/users/duyhoa07k4038/folders/Images/media/3787ef1e-5f8b-49ed-92e3-cf657c1e069c/2013-10-23_1149.png)
 * You can see the orange rectangle
 * Thank
 *  [karthikeyani](https://wordpress.org/support/users/karthikeyani/)
 * (@karthikeyani)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218155)
 * Hi,
 * Please open \wp-content\plugins\contus-video-gallery\hdflvvideoshare.php and 
   find `function videogallery_addpages() {` inside the function you can find the
   below code.
 *     ```
       add_menu_page("Video Gallery", "Video Gallery", 'edit_pages', "video", "videogallery_menu", APPTHA_VGALLERY_BASEURL . "/images/apptha.png");
           add_submenu_page("video", "Video Gallery", "All Videos", 'edit_pages', "video", "videogallery_menu");
           add_submenu_page("", "New Videos", "", 'edit_pages', "newvideo", "videogallery_menu");
       ```
   
 * replace with the following code.
 *     ```
       add_menu_page("Video Gallery", "Video Gallery", 'read', "video", "videogallery_menu", APPTHA_VGALLERY_BASEURL . "/images/apptha.png");
           add_submenu_page("video", "Video Gallery", "All Videos", 'read', "video", "videogallery_menu");
           add_submenu_page("", "New Videos", "", 'read', "newvideo", "videogallery_menu");
       ```
   
 * Please deactivate the “User Role Editor” plugin in your admin and check.
 *  Thread Starter [hoa.buiduy](https://wordpress.org/support/users/hoabuiduy/)
 * (@hoabuiduy)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218156)
 * I fixed it.
    Thank u so much, karthikeyani
 *  [karthikeyani](https://wordpress.org/support/users/karthikeyani/)
 * (@karthikeyani)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218157)
 * Hi,
 * Happy to hear that you have fixed it. If you have any other queries feel free
   to contact us.
 *  [Saptadeep Bhowmik](https://wordpress.org/support/users/saptadeep-bhowmik/)
 * (@saptadeep-bhowmik)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218166)
 * Thank you, Karthikeyani.
 * But I have two questions :
 *  1. What you have said,by that a user can publish or un-publish anyone else’s
   video.
    What is the solution for that ?
 *  2. Can we use a moderator here, so that any user can flag any video if found
   inappropriate and moderator can act upon?
 *  [karthikeyani](https://wordpress.org/support/users/karthikeyani/)
 * (@karthikeyani)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218167)
 * Hi,
 * Please note that user cannot edit, publish/ Unpublish and view other’s video.
   Admin only can access the all the videos. We are on the progress of integrating
   member upload option in our plugin. So, this feature will be available in our
   next release.
 *  [Saptadeep Bhowmik](https://wordpress.org/support/users/saptadeep-bhowmik/)
 * (@saptadeep-bhowmik)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218168)
 * Thank you, Karthikeyani.
 * But when a user is going to the video gallery, then all the videos posted by 
   all users are available for view at the bottom of the page.
 * Also, they have option to publish or un-publish them.
 *  [Damz101](https://wordpress.org/support/users/damz101/)
 * (@damz101)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/member-upload-video/#post-4218182)
 * i cant seem to get this plugin to work.
 * 1. How do i allow registered user to upload videos to the gallery
    2. How do 
   i get the videos to play? the videos in the demo just takes me back to the home
   page of my site
 * PLEASE HELP!!!

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/topic/member-upload-video/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/member-upload-video/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/member-upload-video/page/2/?output_format=md)

The topic ‘Member upload video’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contus-video-gallery_ba544b.svg)
 * [WORDPRESS VIDEO GALLERY](https://wordpress.org/plugins/contus-video-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contus-video-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contus-video-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/contus-video-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contus-video-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contus-video-gallery/reviews/)

 * 31 replies
 * 4 participants
 * Last reply from: [karthikeyani](https://wordpress.org/support/users/karthikeyani/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/member-upload-video/page/3/#post-4218200)
 * Status: resolved