News System version 1.2
Wed, 14 Jun 2006
I've finally got version 1.2 of the News script done. Here are some new features:
- Categories
- Posts can be filed under multiple categories.
- Preview function when adding and editing a post.
- Daylight savings time is now possible.
Anyone's following the World Cup? France were horrible. Don't know if they're gonna improve, but I know Pires and Giuly are laughing at home.
Posted at 08:40 pm in PHP scripts
Comments
-
i tried your news script but login and pass are wrongby One girl on Mon, 3 Jul 2006, 04:31 pm #
-
The initial username and password are "demo" and "demo".by NT on Mon, 3 Jul 2006, 08:00 pm #
-
I tried demo demo but its wrong !!!by One girl on Tue, 4 Jul 2006, 10:28 am #
-
"demo" and "demo" worked fine for me when I set mine up, maybe its a chick thing :pby christopher on Tue, 4 Jul 2006, 11:29 am #
-
Ok, its work now
But where can i edit news styleby One girl on Tue, 4 Jul 2006, 08:41 pm # -
I found it, bot now i have another problem
how can i disable linebreaksby One girl on Tue, 4 Jul 2006, 09:21 pm # -
You can't. The text is automatically formatted into paragraphs. It's a feature by the way. Don't know why you want to disable it.by NT on Tue, 4 Jul 2006, 10:05 pm #
-
Because there are two linebreaks
like this
and this
and again soby One girl on Wed, 5 Jul 2006, 07:19 am # -
They're called paragraphs. So that's normal.
However, because Windows uses "\r\n", which is basically 2 line-break chacraters, to separate a line, this makes the script confused. Unix users won't have that issue, but I'll change the script a bit in the future to resolve this anyway.by NT on Wed, 5 Jul 2006, 12:55 pm # -
And why id number of post is so long 1152090210 ???by One girl on Fri, 7 Jul 2006, 03:28 pm #
-
It's the computer time of the post. I could have made it shorter but it would require more processing time. Efficiency was my priority.by NT on Fri, 7 Jul 2006, 05:23 pm #
-
I think its best news system that i have ever seen,
including all things that i need, thx a lot for a wonderful job
but one thing that i found
If I put categories or archive before news to the left of the table it shows error, then i tried right side like http://winged.info/demo/ and it started to work
But it's ok not a big problemby One girl on Fri, 7 Jul 2006, 09:21 pm # -
>If I put categories or archive before news to the left of the table it shows error, then i tried right side like http://winged.info/demo/ and it started to work
That's a weird problem, really. Do you have the actual error message or the screenshot?
Just make sure that you "include()" the script before using those "show_archives()", "show_categories()" and "show_news()" functions.by NT on Fri, 7 Jul 2006, 11:19 pm # -
so this is on the left side:
Fatal error: Call to undefined function: show_categories() in /WWW/block_left.php on line 9
on line 9 i have
<?php show_categories(); ?>by One girl on Sat, 8 Jul 2006, 11:02 am # -
As I said. You have to "include()" the script at the *top* of your page before using any "show_*()".
<?php include('PATH/TO/NEWS/news.php'); ?>by NT on Sat, 8 Jul 2006, 04:11 pm # -
ok, but i'm using right side now :)by One girl on Sat, 8 Jul 2006, 07:08 pm #
-
I think I must have been one of the lucky one's! Mine installed straight in, no problems, no MySql database's (the reason I'm using it as I want it on my site) - got it installed and working within my page, with the templates edited to use my <H2> setting's and date / time layout, and I love it :)
A huge thank you, now back to work on my new beta design, and a backlink to you ;)by christoper on Tue, 11 Jul 2006, 09:23 am #