Readme: Tucb newsadder Written by: James Hart http://www.stormer.com 1. open addnews.cgi 2. first line: path of perl correct? suggestion, leave it alone. Its mostly correct and wont need to be changed. 3. Variables 1. $linetempl -- leave this line alone. 2. $addfile ----- This is the file that the news will be "written" to. Specify what ever html page you want. Suggestion: Use the html page that comes with the script till you understand it. 3. $lockfile----- Leave this alone. This is if you have alot of people posting news. "Doubtful". This prevents people from writting to the same page at the exact same time. 4. $dir---------- this is the unix path to the location of ALL YOUR NEWS SCRIPT FILES, EXCEPT FOR ADDNEWS.CGI. (which should be in your cgi-bin) You can find the unix path by using ws_ftp and looking at the top right hand side. 5. $locking------ If you want to use $lockfile set this to: 1 6. $utest ------- ??? no one knows but TUCB. leave it alone. Doesnt do anything. 4. Save/close addnews.cgi 5. This file needs to be uploaded in ASCII mode. And Chmodded 755. If you use ws_ftp you can right click on the file, once it is uploaded, and chmodd it. You will want the top three boxes checked, left box on the middle checked, and all the bottom boxes checked. 6. Open addnews.htm 1. View source. 2. Find the line that says this: 3. Dont ever touch that line or your server will be wiped. (just kidding) Below that line is where all your news will be added. If you remove that line.. "no news" 7. Modify the html/design anyway you want. Just leave that line alone. 8. Upload this file to your server and chmodd it 666. If using ws_ftp, right click and goto chmod. All top boxes checked. All middle boxes checked. All bottom boxes left "unchecked". 9. Open addnewsadmin.htm 1. View source. 2. Make sure formaction equals the location of addnews.cgi 10.Close addnewsadmin.htm and upload to a "secure" area of your website. (no chmodding required on this page) 11.Open linktmpl file with a test editor. 12.This is how your news will be displayed on the addnews.htm when it is processes by the addnews.cgi 13.Upload this file in ascii mode. No chmodding required. Put it in the SAME DIRECTORY AS YOUR ADDNEWS.HTM 14.TIPS 1. If you look at the addnewsadmin.htm form names of the text areas.. you will see in the linktmpl file that they are simply the same names.. except they have a $symbol in front of them. 2. You can have as many different input areas in the addnewsadmin as you like. With each name simply add a $ in front of the name in the linktmpl file. 3. Dont understand yet? Get it working first. Then experiment. And once you get it working, make a back up. Make small changes. Upload. If failure, then upload the good version. Then make another small change till you figure out what your doing wrong. 4. Post on the message board at: http://www.stormer.com Good luck. James Hart Stormer Web Designs http://www.stormer.com stormer@stormer.com