Results 1 to 3 of 3

Thread: Admin >> Misc Settings >> Notify User

  1. #1

    Default Admin >> Misc Settings >> Notify User

    I think there might be a problem with this setting.

    After the 2.4 upgrade, this was set to "Yes" by default. After a user uploaded, they were taken to an "Upload Success" page that told them the video was being processed and would be available in a few minutes.

    I liked the old style better, where they were taken to a page that allowed them to enter the date and location of the video, so I changed the setting to "No".

    The next video I uploaded was exactly what I hoped for. After upload, I was taken to the old style page, where I could enter the date of the video. But it only worked for the next upload. After that, it started taking me back to the page that says it is being processed.

    I dont like that page because I can just picture users sitting there forever while they wait for it to be processed. If there some way that I can make the code for this page the same as the other one, so that they still get the page that allows them to enter more info and tells them how to send it to a friend? That page is much better and I would really like that to be what people see.
    This member is now known as Sitting Out

  2. #2

    Default

    I tried to take a crack at working around this, but failed. Actually, I tried twice to edit the upload_success.tpl, but neither effort got me anywhere.

    In my first attempt, I simply tried to remove:

    From the top:

    Code:
    {if $video_processed eq 1}
    and from the bottom:

    Code:
    {else}
    
    
    
    Your video is currently being processed and will be available to view in a few minutes.</p>
    
    {/if}
    This almost worked. It got me the page layout that I wanted, but the urls that it listed for permalink and embed were not correct. So that did me no good.

    In my second attempt, I left the codes in place, only for the "else" code at the bottom, I duplicated everything from the whole top portion of the file. I thought this would generate the same page no matter what. It did not. I got the exact same result again, where the page didn't put the correct link for permalink.

    I dont mean any offense by this, but I just really do not like the page that says the upload is being processed. I would really like them to be taken to the other page. Is there anything at all I can try in order to get this working?
    This member is now known as Sitting Out

  3. #3

    Default

    I hate to keep replying to myself, but I had one quick update here.

    Purely by accident I noticed that if I leave the page and then click back, I see the page that I am wanting my users to land on. Do you suppose that if I put something in the "else" section of the code that will refresh the page after a second, they will see what I am wanting them to see?


    Update...

    In the words of Borat, GREAT SUCCESS!!!

    I just changed the "else" section at the bottom of upload_success.tpl to be:

    Code:
    {else}
    
    
    
    Your video is currently being processed and will be available to view in a few minutes.</p>
    
    
    
    Want to upload more videos? Click here</p>
    
    <script type=text/javascript>
    setTimeout(' document.location=document.location' ,5000);
    </script>
    
    {/if}
    This refreshes the page after 5,000 milliseconds (5 seconds). So the person has just enough time to read the message that their video is being processed, then the page refreshes and they see the page I want, where they can enter the date and place of the video, get embedding codes, etc.
    This member is now known as Sitting Out

Similar Threads

  1. Admin adds a new user
    By alan081954 in forum General Discussions
    Replies: 0
    Last Post: 09-29-2008, 04:40 PM
  2. ADMIN -- SITE SETTINGS -- SYSTEM -- ????
    By EinfachClicken in forum Installation Support
    Replies: 2
    Last Post: 09-23-2008, 10:51 AM
  3. :Admin panel :Member /User status::
    By touchsaver in forum Feature Requests
    Replies: 0
    Last Post: 01-16-2008, 09:41 PM
  4. Package Settings
    By dirtyporntube in forum Template Modifications
    Replies: 0
    Last Post: 11-24-2007, 11:55 PM
  5. Package settings
    By nocomp in forum Installation Support
    Replies: 0
    Last Post: 04-30-2007, 02:28 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
  •