Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11

Thread: Website help

  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Website help

    i got question for u guys that own site with videos anways if u could please answer im bout to start my own website using basic html do u guys use a script like when u update for tomm which would be 2/02/07 how do u guys make 2/1/07 to go to the second page and so on... pages 3 4 and u know the rest do u manually do it or u guys use some sort of tool?

  • #2
    Regular Coder Troy297's Avatar
    Join Date
    Oct 2006
    Location
    Earth
    Posts
    314
    Thanks
    10
    Thanked 0 Times in 0 Posts
    Um.... I would be able to help if I had any idea what your talking about....? Please explain further - and what does "2/02/07" represent within your site?
    Everyone hears what you say, friends listen to what you say, best friends listen to what you don't say.
    Radio DJ Panel v3 - It's Here!

  • #3
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The dates for instance lets say i have 50 videos 10 per page meaning Page 1 Page 2 page 3 Page 4 Page 5 ok lets say tomm i update.. Page 1 has to move to were Page 2 is and so on id have to manually do it im just askin if theres a script that can do it for u automatically cuz lets say later on i get 100 pages ima have to change it manually each one know what i mean?

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adirondacks
    Posts
    516
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Upload your index.html page

    Tomorrow, rename that with a date.
    name the pages with the day's date
    IE
    020107.html(or feb012007.html)
    013107.html
    013007.html etc

    upload current index.html

    1,2,3 fix each day
    Last edited by FJbrian; 02-02-2007 at 09:31 AM.

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adirondacks
    Posts
    516
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by jaredin952 View Post
    The dates for instance lets say i have 50 videos 10 per page meaning Page 1 Page 2 page 3 Page 4 Page 5 ok lets say tomm i update.. Page 1 has to move to were Page 2 is and so on id have to manually do it im just askin if theres a script that can do it for u automatically cuz lets say later on i get 100 pages ima have to change it manually each one know what i mean?
    followup to above reply, for this

    IN HTML lookup an orderred list.
    (ol and il tags)
    That'll number them 1 thru whatever without you having to change #s


    That should answer your Q
    May I make another suggestion?
    there's 8 zillion calendar scripts on the web that you just paste into your site. Put a calendar on your site and just use the date as the clickable link.

  • #6
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i see thanks for the help

  • #7
    Regular Coder Karen S. Garvin's Avatar
    Join Date
    Nov 2006
    Location
    Maryland
    Posts
    227
    Thanks
    5
    Thanked 2 Times in 2 Posts
    FYI, not to be nasty, but it's really hard to understand what you are asking. I read your post three times and still didn't know what you were talking about. Please try to write in sentences and use correct spelling so we can follow what's going on.
    ----------------------------------------------
    Karen S. Garvin
    http://ksgarvin.wordpress.com

  • #8
    Regular Coder
    Join Date
    Oct 2006
    Posts
    181
    Thanks
    1
    Thanked 6 Times in 6 Posts
    i think i know what he is asking for...

    he has a video site...

    he adds new videos every day...

    when he adds new videos tommorrow, he wants the videos to be at the top of the list (top of page 1), and all of the other videos to be moved down to page 2.. etc...

    -------------

    1 solution, dont know how practical it is...

    do you have PHP ???

    create a PHP file which has a list of all the video URLs in it and numbered 1 to .....

    PHP Code:
    <?

    $url
    [1] = 'www.video1.wmv'
    $url[2] = 'www.video2.wmv'
    $url[3] = 'www.video3.wmv'
    $url[4] = 'www.video4.wmv'

    // then add your new videos to the end of the list...

    ?>
    then in your main page where the videos will be displayed

    PHP Code:
    <?

    include('abovepage.php');

    for (
    $counter=9999$counter >= 1$counter--) 
    {
        if (
    $url[$counter] <> '')
        {
            echo 
    "<EMBED SRC=/"" . $url[$counter] . "/"></EMBED>";
             } 

    }


    ?>
    this might not be the most practical, but itshould work, with some tweeks to the code..

    this will look at the list of URL's, and start a counter from 9999, it will only add the video or link of the movie if a url exists in the list, it will then drop to 9998 etc, etc, etc...

    therefore any videos at the bottom of the list will appear first...

    dunno if this helps any...

    also, a database might be more apropriate than a php file for the URL's...
    Quote Originally Posted by Excavator
    write it for firefox then hack it for IE

  • #9
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adirondacks
    Posts
    516
    Thanks
    4
    Thanked 4 Times in 4 Posts
    duh, sorry there's a calendar script right here
    http://www.codingforums.com/showthread.php?t=104756

  • #10
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yep shoot2kill exactly what i was talking about

  • #11
    Regular Coder
    Join Date
    Oct 2006
    Posts
    181
    Thanks
    1
    Thanked 6 Times in 6 Posts
    Quote Originally Posted by jaredin952 View Post
    Yep shoot2kill exactly what i was talking about
    glad to help..

    if you used a database it would be better, as you could store lots of info about each video,

    • Title
    • URL
    • Author
    • Date Added
    • etc
    • etc
    • etc

    and within a PHP file, this could get messy...
    Quote Originally Posted by Excavator
    write it for firefox then hack it for IE


  •  

    Posting Permissions

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