Results 1 to 9 of 9

Thread: HOW to set to PRIVATE videos in bulk from admin panel?

  1. #1
    Join Date
    Sep 2009
    Posts
    14

    Default HOW to set to PRIVATE videos in bulk from admin panel?

    i have 1000's of PUBLIC videos waiting for me to be approved from my ADMIN panel.However i want to approve all of them as PRIVATE.

    How i can do that from ADMIN or mysql database?

    thanks

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    You can do it with mysql query

    Code:
    update videos set video_active=1, video_approve=1, video_type='private' where video_approve=0;
    Take a database backup before doing this.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Sep 2009
    Posts
    14

    Default

    Take a database backup before doing this.
    my db is bigger than 160MB , what kind of backup u suggetst?
    from cpanel/backups

    or

    phpmyadmin/export

    if i am not wrong,if a restore is neede, i ll be able to import max 50 mb from there? mine is 164mb:)..

    any suggestion really appreciated:)

  4. #4
    Join Date
    Sep 2007
    Posts
    906

    Default

    Cpanel back will be better for large database. For restoring, use bigdump

    BigDump: The Staggered MySQL Dump Importer
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  5. #5
    Join Date
    Sep 2009
    Posts
    14

    Default error

    i ve tried:
    update videos set video_active=1, video_approve=1, video_type='private' where video_approve=0;

    and

    update video set video_active=1, video_approve=1, video_type='private' where video_approve=0;

    result:

    #1146 - Table '********_vshare.videos' doesn't exist
    #1054 - Unknown column 'video_approve' in 'where clause'

  6. #6
    Join Date
    Sep 2009
    Posts
    14

    Default

    any update on this.. please?

  7. #7
    Join Date
    Sep 2007
    Posts
    906

    Default

    What version of vshare you are having ?
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  8. #8
    Join Date
    Sep 2009
    Posts
    14

    Default

    it's vshare 2.6

  9. #9
    Join Date
    Sep 2007
    Posts
    906

    Default

    contact [email protected] with your cpanel login details and url of this post, we can check this.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •