...

View Full Version : Website help



jaredin952
02-02-2007, 02:58 AM
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?

Troy297
02-02-2007, 03:13 AM
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?

jaredin952
02-02-2007, 03:16 AM
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?

FJbrian
02-02-2007, 09:27 AM
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

FJbrian
02-02-2007, 09:30 AM
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.

jaredin952
02-02-2007, 06:26 PM
i see thanks for the help

Karen S. Garvin
02-02-2007, 08:14 PM
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. :confused:

Shoot2Kill
02-02-2007, 09:44 PM
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 .....



<?

$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



<?

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...

FJbrian
02-02-2007, 11:17 PM
duh, sorry there's a calendar script right here
http://www.codingforums.com/showthread.php?t=104756

jaredin952
02-03-2007, 12:06 AM
Yep shoot2kill exactly what i was talking about

Shoot2Kill
02-03-2007, 01:46 PM
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...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum