UGN Security

News Scripts Refresh

Posted By: Gremelin

News Scripts Refresh - 11/23/06 01:24 AM

I found a couple of errors in the news scripts today that was pulling too many stories and some responses versus their parents.

This was an easy enough fix, and has been fixed (by replacing $max_news_stories with $stories since $stories was the trigger that chose how many there where in the first place versus the max you have and the other was an error in my include code).

so the main page is sane again (no more 20 site news stories where there was only supposed to be 5).

I've taken a look at Ian's improvements that he's made to his news script today and the boy has already blown my implimentation out of the water lol...
© 2018 UGN Security Forum