Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Pages: [1] 2 3 ... 6

Author Topic: sNews 1.4 RC1 (Release Candidate 1)  (Read 47813 times)

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
sNews 1.4 RC1 (Release Candidate 1)
« on: February 08, 2006, 12:21:46 AM »

sNews 1.4 Release Candidate 1

snews 1.4 is mostly ready...
moste bugs have been squashed, some new features have been added and every more have been scheduled for next version!
this is a release candidate. this means that if there are no bugs found in a small timeframe it will be considered stable and released.

This version has been checked and we couldn't find any major bugs etc. but you are MORE than welcome to try! ^_^
That's what this is for...


What's new:
Timezones
You can choose your timezone to match your time with the server's time. There is no need to know what timezone your server is in... If you live in Barbados for example you just enter America/Barbados and everything is done for you.
http://snews.noodles.gr/timezones.html

Language files:
Translators now can just put all the translated variables in a file and then when a user wants to change the language of his/her site can just download the file , place it in the same folder as snews.php and change a variable.
If some variables were not translated the default english ones will be used.

Javascript:
Some basic javascript has been added for helping users make clear SEF urls and also be warned when trying to delete something. (article, comment, category, image).
If a user doesn't like/want javascript s/he can disable it changing one variable.

SEF titles:
When the user tries to post an article or create a category, and s/he writes an wrong SEF url that might cause problems s/he gets warned and the SEF is cleaned.
Also if the user has enabled Javascript has the option to create the sef when adding the article or category.

Login/logout link:
The user has the option to include instead of a login link so when s/he is logged in it will display logout and when s/he is not logged in will display login.
(login/logout will be taken from the language variables)

Comment Word Filter:
You have the option to include a word list file, and enable the word filter.
This way when a user enters any word found in the file the word will be replaced with something you choose.

Don't lose stuff any more: (not much anyway! ;)
If you forget to type a title sef url or something when writing a big article, you don't lose it... you see an error and you keep on typing! ^_^
1
.htaccess fixed:
There should not be any problems with directories/subdomains etc any more...

Security:
Some security issues have been fixed, also users can no longer use XSS scripts to mess with your comments. all javascript will be cleaned from comments and also all cookie/mouse related stuff...

Download:
You can download sNews 1.4 RC1 from here!
*Again, this is NOT a stable version... (at least we are not 100% sure it is)... Try to crash it, kill it, make it a mess... ;)

MySQL:
Code: [Select]
CREATE TABLE articles (
  id INT PRIMARY KEY AUTO_INCREMENT,
  title VARCHAR(100) DEFAULT NULL,
  seftitle VARCHAR(100) DEFAULT NULL,
  text LONGTEXT,
  textlimit INT(5) NOT NULL DEFAULT '0',
  date DATETIME DEFAULT NULL,
  category INT(8) NOT NULL DEFAULT '0',
  position CHAR(3),
  displaytitle CHAR(3) NOT NULL DEFAULT 'YES',
  displayinfo CHAR(3) NOT NULL DEFAULT 'YES',
  commentable VARCHAR(5) NOT NULL,
  image varchar(30) DEFAULT NULL,
  published INT(3) NOT NULL DEFAULT '1'

);


CREATE TABLE categories (
  id int(8) PRIMARY KEY AUTO_INCREMENT,
  name varchar(40) NOT NULL,
  seftitle VARCHAR(100) DEFAULT NULL,
  description varchar(100) NOT NULL,
  published varchar(4) NOT NULL DEFAULT 'YES'
);


CREATE TABLE comments (
  id INT(11) PRIMARY KEY AUTO_INCREMENT,
  articleid INT(11) DEFAULT '0',
  name varchar(50) DEFAULT '',
  comment TEXT,
  time DATETIME DEFAULT NULL
);
*Thnx sam for reminding me! ^_^

Stuff that will be fixed/added/removed until the stable version:
Some more comments on the code, spelling/grammar check of the default language. Documentation on how to upgrade from 1.3 or 1.4 beta.

How to:
How to make a translation:
Get this file:
http://snews.noodles.gr/snews_english.txt
edit all variables, and then save it as snews_**your language**.php
(all low case please)...
that's it!

Please:
Please DO not post feautre requests, is-this-going-to-be-added, or any non BUG related thingie! ^_^
Let's keep this as clean as possible for the next 24 or so hours when if all goes ok 1.4 will be publicly released! :)

Everyone please try if this works on your servers and stuff and tell us if there are any problems!
If you don't want to try it out you will be able to help in a couple of hours. I'll make 2-3 working copies with different options so you can try them out...

thanx! ;)
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

Sam

  • Newbie
  • *
  • Karma: 0
  • Posts: 24
    • http://henawi.com
sNews 1.4 RC1 (Release Candidate 1)
« Reply #1 on: February 08, 2006, 02:32:51 AM »

Hi,
What about the SQL Tables?
Should I use this?!:

Code: [Select]
CREATE TABLE articles (
  id INT PRIMARY KEY AUTO_INCREMENT,
  title VARCHAR(100) DEFAULT NULL,
  seftitle VARCHAR(100) DEFAULT NULL,
  text LONGTEXT,
  textlimit INT(5) NOT NULL DEFAULT '0',
  date DATETIME DEFAULT NULL,
  category INT(8) NOT NULL DEFAULT '0',
  position CHAR(3),
  displaytitle CHAR(3) NOT NULL DEFAULT 'YES',
  displayinfo CHAR(3) NOT NULL DEFAULT 'YES',
  commentable VARCHAR(5) NOT NULL,
  image varchar(30) DEFAULT NULL,
  published INT(3) NOT NULL DEFAULT '1'

);


CREATE TABLE categories (
  id int(8) PRIMARY KEY AUTO_INCREMENT,
  name varchar(40) NOT NULL,
  seftitle VARCHAR(100) DEFAULT NULL,
  description varchar(100) NOT NULL,
  published varchar(4) NOT NULL DEFAULT 'YES'
);


CREATE TABLE comments (
  id INT(11) PRIMARY KEY AUTO_INCREMENT,
  articleid INT(11) DEFAULT '0',
  name varchar(50) DEFAULT '',
  comment TEXT,
  time DATETIME DEFAULT NULL
);  
Logged

Jason Kingery

  • Sr. Member
  • ****
  • Karma: 1
  • Posts: 298
    • http://denial-design.com
sNews 1.4 RC1 (Release Candidate 1)
« Reply #2 on: February 08, 2006, 03:03:08 AM »

im probabbly doing something wrong. But all the links go to a directory. instead of index.php?blah

http://2gng.net

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
sNews 1.4 RC1 (Release Candidate 1)
« Reply #3 on: February 08, 2006, 03:18:41 AM »

@Sam:
I posted the mysql tnx! ;)

@DENiAL:
This is one of the big changes of 1.4 ... SEF Urls (Search engine firendly)...
You will need an apache server with mod_rewrite...
We still haven't found a way to do this on MS IIS...

Please open a new thread about this so we can help you out since this is just for debuggin...! ^_^
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

Jason Kingery

  • Sr. Member
  • ****
  • Karma: 1
  • Posts: 298
    • http://denial-design.com
sNews 1.4 RC1 (Release Candidate 1)
« Reply #4 on: February 08, 2006, 03:26:18 AM »

Quote from: analyzerx
@Sam:
I posted the mysql tnx! ;)

@DENiAL:
This is one of the big changes of 1.4 ... SEF Urls (Search engine firendly)...
You will need an apache server with mod_rewrite...
We still haven't found a way to do this on MS IIS...

Please open a new thread about this so we can help you out since this is just for debuggin...! ^_^

Yeah I figured that out. But you posted before I could edit my post. Thanks though!

bramsyuur

  • Hero Member
  • *****
  • Karma: 23
  • Posts: 873
    • http://snews.vietbee.net
sNews 1.4 RC1 (Release Candidate 1)
« Reply #5 on: February 08, 2006, 06:35:38 PM »

I've created my translation for sNews 1.4RC1 (I've been posting into translations)
And I've put my file into the same directory as sNees and named as: snews_catalan.php but seems not working...
Any suggestions?
Thanks!
Logged
La comunidad sNews en tu idioma!
Comunidad sNews en Español

Mario

  • Newbie
  • *
  • Karma: 0
  • Posts: 43
sNews 1.4 RC1 (Release Candidate 1)
« Reply #6 on: February 08, 2006, 06:43:42 PM »

Quote from: bramsyuur
I've created my translation for sNews 1.4RC1 (I've been posting into translations)
And I've put my file into the same directory as sNees and named as: snews_catalan.php but seems not working...
Any suggestions?
Thanks!

Maybe double translations? There are still some language variables left into the snews.php file: see language variable header and admin language variable header in snews.php.
Logged

bramsyuur

  • Hero Member
  • *****
  • Karma: 23
  • Posts: 873
    • http://snews.vietbee.net
sNews 1.4 RC1 (Release Candidate 1)
« Reply #7 on: February 08, 2006, 07:01:18 PM »

Solved!!
I've an error inserting the correct name into
Code: [Select]
$s['language'] = " ";I've previosly entered the name of the translated file ex: snews_catalan.php and I've modified by
Code: [Select]
$s['language'] = "catalan";I'm sorry guys!  ;D
Now It's working correct! ;)
Logged
La comunidad sNews en tu idioma!
Comunidad sNews en Español

Rehuel Lobato de Mesquita

  • Jr. Member
  • **
  • Karma: 0
  • Posts: 61
sNews 1.4 RC1 (Release Candidate 1)
« Reply #8 on: February 08, 2006, 07:57:14 PM »

 :'( Missing the picture resize posibility.

Oh well, I'll have to add it to my snews myself then... :(
Logged
Stretsh Out...

Procrastination is like masturbation. You do it till you figure out you're only screwing yourself!

Jochum Meester

  • Sr. Member
  • ****
  • Karma: 1
  • Posts: 309
    • JochumMeester.com
sNews 1.4 RC1 (Release Candidate 1)
« Reply #9 on: February 08, 2006, 09:27:56 PM »

Just checked the snews.php file and found a minor glitch:

$l['error_article_title_exists'] = "The article title allready exists. etc etc etc
should be already

I'm a loser for pointing that out :P

Edit: Oh and another thing: in my comments ( http://www.iseeyou-designs.com/projects/snewstest/ » used same mySQL table as I did for 1.4beta, dont know if that could cause problems? mysql operations are the same ) promishing gets filtered, probably because there's 'shi+' in the bad_words.txt file.
Logged

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
sNews 1.4 RC1 (Release Candidate 1)
« Reply #10 on: February 09, 2006, 07:29:10 AM »

I suck at spelling! :P

using an 1.4 beta mysql should NOT create problems... ^_^
did anyone found any bugs?
who ever did actually tried it out please say how it worked out... tnx! :)
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

albert

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 405
    • http://www.oswt.co.uk/
sNews 1.4 RC1 (Release Candidate 1)
« Reply #11 on: February 09, 2006, 08:20:56 AM »

Hi all

if you are testing in a directory other than the ROOT you will need to add this:

In your .htaccess file

Code: [Select]
#  Albert say's
#  Uncomment following line RewriteBase # if your webserver's URL
#  is not directly related to physival file paths.
#  Update Your Directory (just / for root) only.

# RewriteBase /test  



this will help a lot

Albert


Logged
Albert
http://snews.awddesign.co.uk/snews/ site: v1.3
http://snews.awddesign.co.uk/           site: v1.2 http://www.awddesign.co.uk/
“Putting together the largest collection of sNews 1.5 designs. Coming very soon :)

Tjobbe

  • Full Member
  • ***
  • Karma: 0
  • Posts: 112
    • http://www.farstyle.com
sNews 1.4 RC1 (Release Candidate 1)
« Reply #12 on: February 09, 2006, 11:10:40 AM »

Quote from: albert
Hi all

if you are testing in a directory other than the ROOT you will need to add this:

Code: [Select]
#  Albert say's
#  Uncomment following line if your webserver's URL
#  is not directly related to physival file paths.
#  Update Your Directory (just / for root)

# RewriteBase /test



this will help a lot

Albert

On which page / line / file do we need to add this??
Logged

Luka

  • Administrator
  • ULTIMATE member
  • ******
  • Karma: 36
  • Posts: 1716
    • http://www.snewscms.com
sNews 1.4 RC1 (Release Candidate 1)
« Reply #13 on: February 09, 2006, 11:17:20 AM »

Quote from: Tjobbe
Hi all

if you are testing in a directory other than the ROOT you will need to add this:

Code: [Select]
#  Albert say's
#  Uncomment following line if your webserver's URL
#  is not directly related to physival file paths.
#  Update Your Directory (just / for root)

# RewriteBase /test
this will help a lot

Albert

On which page / line / file do we need to add this??
In your .htaccess file
Logged

Tjobbe

  • Full Member
  • ***
  • Karma: 0
  • Posts: 112
    • http://www.farstyle.com
sNews 1.4 RC1 (Release Candidate 1)
« Reply #14 on: February 09, 2006, 12:45:47 PM »

Thanks Luka  ;)

It looks and feels great, not encountered any problems at all just yet, its fantastic!
Logged
Pages: [1] 2 3 ... 6