Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Direct Uploader - NOW WITH YOUTUBE

  1. #11
    Join Date
    Jun 2007
    Posts
    197

    Default CLEANER MYSQL CONNECTION

    FOR ALL USING THE SCRIPT PLEASE READ BELOW:

    An error has occured on sites that are using this saying the the connection failed etc... to fix this please do the following

    In the file processyoutube.php find:

    $test = youtube_t($_GET['youtube']);
    $con = mysql_connect("$db_host","$db_name","$db_pass");
    if (!$con)
    {
    die('Could not connect: ' . mysql_error());
    }mysql_select_db("$db_user", $con);$sql="INSERT INTO process_queue (user, title, description, keywords, channels, type, status, url, file, vid, user_ip)
    VALUES
    ('$_GET[user]','$_GET[title]','$_GET[description]','$_GET[tag]','1','public','$_POST[status]','$test','$_POST[file]','$_POST[vid]','$_POST[user_ip]')";if (!mysql_query($sql,$con))
    {
    die('Error: ' . mysql_error());
    }
    mysql_close($con);
    AND REPLACE WITH THIS:

    $test = youtube_t($_GET['youtube']);
    $conn = mysql_connect($db_host, $db_user, $db_pass) or die('Error connecting to mysql');
    mysql_select_db("$db_user", $con);$sql="INSERT INTO process_queue (user, title, description, keywords, channels, type, status, url, file, vid, user_ip)
    VALUES
    ('$_GET[user]','$_GET[title]','$_GET[description]','$_GET[tag]','1','public','$_POST[status]','$test','$_POST[file]','$_POST[vid]','$_POST[user_ip]')";if (!mysql_query($sql,$conn))
    mysql_close($conn);
    An in urlsuccess.php do the following:

    Replace:

    $con = mysql_connect("$db_host","$db_name","$db_pass");
    if (!$con)
    {
    die('Could not connect: ' . mysql_error());
    }mysql_select_db("$db_user", $con);$sql="INSERT INTO process_queue (user, title, description, keywords, channels, type, status, url, file, vid, user_ip)
    VALUES
    ('$_POST[user]','$_POST[field_myvideo_title2]','$_POST[field_myvideo_descr2]','$_POST[field_myvideo_keywords2]','$_POST[listch]','$_POST[field_privacy]','$_POST[status]','$_POST[url]','$_POST[file]','$_POST[vid]','$_POST[user_ip]')";if (!mysql_query($sql,$con))
    {
    die('Error: ' . mysql_error());
    }
    mysql_close($con)
    With the following:

    $conn = mysql_connect($db_host, $db_user, $db_pass) or die('Error connecting to mysql');
    mysql_select_db("$db_user", $con);$sql="INSERT INTO process_queue (user, title, description, keywords, channels, type, status, url, file, vid, user_ip)
    VALUES
    ('$_POST[user]','$_POST[field_myvideo_title2]','$_POST[field_myvideo_descr2]','$_POST[field_myvideo_keywords2]','$_POST[listch]','$_POST[field_privacy]','$_POST[status]','$_POST[url]','$_POST[file]','$_POST[vid]','$_POST[user_ip]')";if (!mysql_query($sql,$con)) mysql_close($conn);
    This will sort any issues...

    Regards,
    Mat.
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

  2. #12

    Default

    Quote Originally Posted by galnet
    It allows a user to use a direct URL of a media file to upload from, instead of having to download the file and then reupload it the servers do all the work.

    Saves Alot of Time!!!
    Does this work only with Youtube?

  3. #13
    Join Date
    Jun 2007
    Posts
    197

    Default

    No if you know the URL to any video it will work.. etc.. avi, mpeg, mov, mp4 etc...

    Does not work for GOOGLE, etc.
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

  4. #14

    Default Re:

    Quote Originally Posted by galnet
    No if you know the URL to any video it will work.. etc.. avi, mpeg, mov, mp4 etc...

    Does not work for GOOGLE, etc.
    I just bought this today. However when I upload vids, it goes but never hits the admin process queue. I assumed the JS file went in the JS folder. HEELP...lol

  5. #15

    Default Re: Direct Uploader - NOW WITH YOUTUBE

    does anyone else have this mod???

  6. #16
    Join Date
    Sep 2007
    Posts
    1

    Default Re: Direct Uploader - NOW WITH YOUTUBE

    Hey, is there any way other than via paypal to buy this script? Also, does it include YouTube branding, or does it remove it? Thanks.

    Stephon

  7. #17

    Default Re: Direct Uploader - NOW WITH YOUTUBE

    I bought this script and uploaded it, but the videos never seem to appear. I do have a cron job set, so what gives? Is tehre anybody that can offer support for this?

  8. #18
    Join Date
    Jun 2007
    Posts
    197

    Default Re: Direct Uploader - NOW WITH YOUTUBE

    Support is available via [email protected]

    It seems as though some servers require a simple re-write in order for the script to work correctly. If you send your issues to the above email address and include your FTP settings we will be more than happy to help you.

    Regards,
    Mat.
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

  9. #19
    Join Date
    Sep 2007
    Posts
    2

    Default Re: Direct Uploader - NOW WITH YOUTUBE

    so as the original coder of some of the youtube software you use to grab the .flvs (going by your fixes), am i entitled to a copy of this script free? :P I'd like to see if you credited me or not?

  10. #20
    Join Date
    Jun 2007
    Posts
    197

    Default Re: Direct Uploader - NOW WITH YOUTUBE

    Quote Originally Posted by GoglGourd
    so as the original coder of some of the youtube software you use to grab the .flvs (going by your fixes), am i entitled to a copy of this script free? :P I'd like to see if you credited me or not?
    Please PM Me
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Change uploader name?
    By Amelie in forum General Discussions
    Replies: 1
    Last Post: 12-11-2008, 07:02 PM
  2. Ajax style uploader?
    By dealspiggy in forum Feature Requests
    Replies: 0
    Last Post: 10-23-2008, 03:59 AM
  3. Uber Uploader - Title bar
    By zmoore in forum Template Modifications
    Replies: 2
    Last Post: 01-14-2008, 02:17 AM
  4. Flash Uploader
    By nightmage in forum Feature Requests
    Replies: 2
    Last Post: 09-19-2007, 08:02 PM
  5. Replies: 3
    Last Post: 08-01-2007, 11:05 PM

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
  •