PDA

View Full Version : YANS



Invent
01-10-2007, 09:15 PM
Hi,

I've decided to pursue my PHP dream of coding an advanced News System.

I've decided to call it YANS which stands for: Yet Another News System.

I decided to call it this as Danny said he is going to make one, then Tom made one, then Caleb said he is going to make one and now I've decided to make one :P

So yeah, this is the feature plan so far:


- Script installer
- User login
- File CHMOD'der

- News
- Post news [journalist/editor/admin]
- Edit news [editor/admin]
- Edit news content
- Move to different category
- Delete news [admin]

- Configuration
- Panel config
- Panel URL
- Template(s)
- Edit template(s)
- User administration
- Add a user
- Remove a user
- Edit a user
- Edit username/password/level
If you have any other feature ideas, please tell me them!

So far I've coded the login. The system is coded in PHP using SQL as the storage system. The user sessions are recorded in well..php sessions. A cookies option will be available in BETA 2.

The whole system is coded using PHP Classes which makes the script easier to debug for me and other developers.

So yeah, I'll post some screenies soon to give you an idea of what BETA 1 will be like :)

Thanks!,
-Simon

Jamieb
01-10-2007, 09:16 PM
Sounds good.. Will there be copy write at bottom of so i wont be using.

Invent
01-10-2007, 09:22 PM
Yes there will be, as I think I deserve credit for making the script :)

Xarea
02-10-2007, 03:22 PM
Sounds good. Will people be able to comment? ^_^

Invent
02-10-2007, 03:23 PM
Post news is done,
I'm working on edit news now.

I've also set up show_news.php which is what will be used to display the information.
The current tags you can use in the template system are:

{title}
{author}
{short-story}
{full-story}

and some other ones which vB removed when I posted them... o.O

Also, Yeah there will be a commenting system and a rate system :)

Luckyrare
02-10-2007, 06:23 PM
To be honest I dont have time to do a new project myself. If you want me to do some converters for other news systems just send me the MySQL table map and I will do it ;)

I will do some developement on the classes aswell once you have done the basic framework, if you wish and if I have time x]

Eccentric
02-10-2007, 06:28 PM
Looks good, i think i may see what its like when complete ;)

Invent
02-10-2007, 06:32 PM
http://79.72.254.210/yans/show_news.php?template=1
http://79.72.254.210/yans/show_news.php?template=2

That's how the show_news.php file is looking so far.

LegendOfNoob
02-10-2007, 07:12 PM
Sweet i can list a few features idea

-Section Edit(Using iFrames or PHP Get)
Have Sections to easily edit you want like lets see
you whanna edit your mid content and you edit it
but you also whanna edit your bulletins
or News Slideshoe (As seen on habbo.com & Bluebobble.com (before changes) )

And a Staff Page That Lists The News Reporters Possibly Mixed With They Status
of if they're on the site and/or adding or editting news

maybe more ideas coming from me

just what i thought of the top of my head

Invent
13-10-2007, 01:11 AM
Edit news is now coded.
WYSIWYG is now optional (can choose between tinyMCE, FCKEditor or textarea).

I've also coded the filter system & filter configuration pages. They use AJAX. There won't be a non-ajax version in the first beta. MAYBE in the second+ im not sure.

Live previews coming soon :}

VistaBoy
13-10-2007, 05:52 AM
Cool this sounds very good.

Assassinator
13-10-2007, 07:06 PM
Good luck simon, you could use it on Mini-I:P

Invent
13-10-2007, 07:09 PM
Local IP so v.slow.

http://79.72.197.254/yans

u: Simon
p: yans

Try out the filter configuration page :)

Also, you may get a timeout error on post/edit news as I'm working on them.

Assassinator
13-10-2007, 07:16 PM
Local IP so v.slow.

http://79.72.197.254/yans

u: Simon
p: yans

Try out the filter configuration page :)

Also, you may get a timeout error on post/edit news as I'm working on them.

That looks amazing

Invent
13-10-2007, 07:20 PM
Thanks a lot :)

Also, there is a copyright message by default on the show_news.php, but it is removeable by editing a variable on the page.

You just change:


$copyright = 1;


to:


$copyright = 0;

Sunny.
13-10-2007, 07:21 PM
Might want to add a uploader so you can upload images and maybe comment form. How about a rate article function too.

Just some of my ideas :)

And also it looks very good so far (Y) :)

Hayd93
13-10-2007, 08:26 PM
looks good as always simon could you maybe make this to work whith powerpanel ?

Assassinator
13-10-2007, 08:29 PM
What about a spoiler function?:D

Invent
14-10-2007, 07:27 PM
I've added a sort of unique feature, tags.

There is a tags search tool aswell. (You display tags on the articles using the variable {tags} in the show_news template editor).

http://79.72.250.7/yans/tag_search.php
To see the tag search :)

Only keywords used so far are: "v17, update, habbo, sulake, uk" in the same article :P

EDIT: Now added a message if you don't enter a tag to search for & the tag now has to be over 3 characters to avoid people searching for "a", etc. If this was allowed it would slow down the server because of lots of queries.

Want to hide these adverts? Register an account for free!