Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Tweak for the new progress bar

  1. #1

    Default Tweak for the new progress bar

    If you want to change the title, and place some text on the blank webpage that appears after the upload has completed, edit the /cgi-bin/uu_lib.pm file.
    This is a part of my file:
    Code:
    print "<!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN\">\n";
    	print "<html>\n";
    	print "  <head>\n";
    	print "    <title>Your video is being processed, please wait a moment.<\/title>\n";
    	print "      <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\n";
    	print "      <meta http-equiv=\"Pragma\" content=\"no-cache\">\n";
    	print "      <meta http-equiv=\"CACHE-CONTROL\" content=\"no-cache\">\n";
    	print "      <meta http-equiv=\"expires\" content=\"-1\">\n";
    	print "      <meta name=\"robots\" content=\"none\">\n";
    	print "  <\/head>\n";
    	print "  <body style=\"background-color: #EEEEEE; color: #000000; font-family: arial, helvetica, sans_serif;\">\n";
    	print "    
    \n";
    	print "    <div align='center'>\n";
    print "    
    \n";
    print "    Your video is being processed. Please wait a moment.\n";
    print "    
    \n";
    	print "    $msg\n";
    	print "    
    \n";
    	print "    \n";
    	print "    </div>\n";
    	print "  </body>\n";
    	print "</html>\n";
    	
    	if($kak_exit){ exit; }
    Now if I could just work out how to get it to point to this .gif

    Look, it's not steep till you need to stop ok !

  2. #2
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    Hey, thanks! I was wondering about that blank page!! Yeah, definately a good idea to put something on it, that's for sure! :)

    Where do we stick in this code?
    Like this?

    Put:
    Code:
    print "    
    \n"; 
    print "    Your video is being processed. Please wait a moment.\n"; 
    print "    
    \n";
    just above the

    Code:
    print "    $msg\n";
    Right?
    If it's not fun, stop doing it!

  3. #3
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    I don't know squat about this but would something like this work?

    Code:
    print "<center><img src = 'progressbar.gif'></img></center>";
    and put the animated gif in the cgi-bin?

    I got this from http://aspn.activestate.com/ASPN/Mail/M ... eb/3484698

    Where it says in the example:

    Code:
    print "<center> <img src = 'hrabargraph2.gif'></img></center>
    
    
    
    
    
    
    
    ";
    If it's not fun, stop doing it!

  4. #4
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    Well, I tried it and it didn't work. Maybe I have to add the \n to the end of it....
    If it's not fun, stop doing it!

  5. #5
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    Oh poo that didn't work either.

    Anybody else? Admin?
    If it's not fun, stop doing it!

  6. #6

    Default

    It's easy enough to get the text up grynmoors, but what is stumping me, is getting the syntax right for the script to display images. I tried using the \/ (back and forward slashes). It kinda worked for a bit.....
    I've not had time to look further to be honest. A neat idea, would be a page that displays the progress bar animated .gif, and then an auto refresh which takes the user to the upload success page. The script might still be processing the video, but it could display the page anyway I'm sure.
    Look, it's not steep till you need to stop ok !

  7. #7
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    I'm happy just to get the text up there LOL!!! But the image would be a bonus, no doubt. Maybe someone will see this post and tell us how to do it.
    If it's not fun, stop doing it!

  8. #8

    Default

    Quote Originally Posted by grynmoors
    I'm happy just to get the text up there LOL!!! But the image would be a bonus, no doubt. Maybe someone will see this post and tell us how to do it.
    The code in my original post works for text. The user gets a nice big "your vid etc", and the page title reads the same.
    Feel free to upload something to my site if you want to see it, bigger it is, the longer you'll see it :D
    http://www.skivideos.co.uk
    Look, it's not steep till you need to stop ok !

  9. #9
    Join Date
    May 2007
    Posts
    588

    Default

    When its converting the user doesn't have to be stuck on that page as it will still convert it (up until the timeout bug) even if the user leaves the page so i'm sure you could set up a redirect in the page to the upload success page. But i wouldn't spend too much time on this as next vshare on 22nd is going to have background conversion feature.

  10. #10

    Default

    Quote Originally Posted by leki
    When its converting the user doesn't have to be stuck on that page as it will still convert it (up until the timeout bug) even if the user leaves the page so i'm sure you could set up a redirect in the page to the upload success page. But i wouldn't spend too much time on this as next vshare on 22nd is going to have background conversion feature.
    That's what I thought as well. Perhaps, as I suggested, a short page with progress bar running once or twice, and a redirect. It would give the impression of speed if nothing else.
    Look, it's not steep till you need to stop ok !

Page 1 of 2 12 LastLast

Similar Threads

  1. Multi-Import Tweak Request
    By mersh in forum Feature Requests
    Replies: 1
    Last Post: 03-23-2008, 01:04 PM
  2. progress bar trouble
    By glemroy in forum Installation Support
    Replies: 1
    Last Post: 02-07-2008, 04:07 AM
  3. Progress Bar is now gone!
    By swhitinger in forum Installation Support
    Replies: 1
    Last Post: 11-24-2007, 04:50 AM
  4. progress bar
    By harvey in forum General Discussions
    Replies: 3
    Last Post: 09-30-2007, 07:31 PM
  5. Progress Bar
    By trotirider in forum Sales Questions
    Replies: 0
    Last Post: 06-21-2007, 05:49 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
  •