|
Access: Admin
Total posts: 116
Status: Offline
| |
|
#1 Posted on 10:18am 12th Apr 08 - N-13 News 3.0
|
|
Features
- New user groups
Now you have the ability to create your own user groups. This gives you complete control over which sections of the script users can access.
You can also define which posts that user can access
- Their own
- Their own and all users with an access level below them
- All posts
- Private messaging
Now users can communicate with each other via the private messaging system
- BBCode
BBCode has been added to both adding/editing news and private messaging
- Integrating news is now easier than ever. If you want to show a certain category when including your news simply add
PHP Code:
<?php $cat = "Category name"; include 'news/index.php'; ?>
This will show all the posts within that category. If a category isn't specified the default category is displayed. If you want to display all categories change cat to all, $cat = "all";
PHP Code:
<?php $author = "Author name"; include 'news/index.php'; ?>
This will display all posts for the specified author, if no author is specified all authors posts are shown.
PHP Code:
<?php $template = "Template name"; include 'news/index.php'; ?>
This will use a certain template, if no template is specified whichever template is selected as default will be used.
PHP Code:
<?php $template = "Template name"; $author = "Author name"; $cat = "Category name": include 'news/index.php'; ?>
You can always mix and match the above methods.
- Restructuring templates
Now you have the ability to completely restructure how each news element is displayed, for example if you wanted the news pagintation to be displayed above as well as below news posts this is now possible.
- Quite a few other fixes and changes for a complete list visit this page
|
_______________ Chris - Network-13 Last edited by Chris at 03:45am 20th May 08 |
|
Access: Member
Total posts: 12
Status: Offline
| |
|
#2 Posted on 08:10pm 12th Apr 08 - Re: N-13 News 3.0
|
|
i have a bit of a problem.. when i go to install it.. it says db.php is missing.. it wasn't provided... or do i just create it? cause it doesn't say anywhere
|
_______________ -Tyler |
|
Access: Member
Total posts: 12
Status: Offline
| |
|
#3 Posted on 08:16pm 12th Apr 08 - Re: N-13 News 3.0
|
|
i tried creating db.php and making it 777 chmod, but didn't work
|
_______________ -Tyler |
|
Access: Admin
Total posts: 116
Status: Offline
| |
|
#4 Posted on 08:26pm 12th Apr 08 - Re: N-13 News 3.0
|
|
did you run install.php?
|
_______________ Chris - Network-13 |
|
Access: Member
Total posts: 12
Status: Offline
| |
|
#5 Posted on 11:12pm 12th Apr 08 - Re: N-13 News 3.0
|
|
yea... and when i get to the end of it.. it says like can't find db.php... i even looked in the install file and it had a php include for db.php but u never included into the folder...
|
_______________ -Tyler |
|
Access: Member
Total posts: 12
Status: Offline
| |
|
#6 Posted on 11:17pm 12th Apr 08 - Re: N-13 News 3.0
|
|
this is what i get...
Warning: include(db.php) [function.include]: failed to open stream: No such file or directory in /www/zxq.net/w/e/f/wefckingown/htdocs/n-13news/install.php on line 57
Warning: include() [function.include]: Failed opening 'db.php' for inclusion (include_path='.:/usr/share/php') in /www/zxq.net/w/e/f/wefckingown/htdocs/n-13news/install.php on line 57
right after i click install after step 2....
|
_______________ -Tyler Last edited by Calamity at 11:18pm 12th Apr 08 |
|
Access: Admin
Total posts: 116
Status: Offline
| |
|
#7 Posted on 07:19am 13th Apr 08 - Re: N-13 News 3.0
|
|
Ah it seemed to be a permission problem, when developing I had full permissions on my dev machine so I forgot to add a check to see if the script was able to create the db.php file, I've done a few more tests and also added a blank db.php file with the script now, it should also give you a warning if the file isn't writable. What I'd suggest you do is re-download it (I've updated it slightly) and try again, hopefully it'll work this time
|
_______________ Chris - Network-13 |
|
Access: Member
Total posts: 12
Status: Offline
| |
|
#8 Posted on 09:25am 13th Apr 08 - Re: N-13 News 3.0
|
|
lol, thx.. let me try now... hopefully it works.. thx alot 
Edit:
it didn't work.. now i get this
Access denied for user 'vhostswww'@'10.10.124.196' (using password: NO)
------------------------
I didn't have trouble with version 2..?
|
_______________ -Tyler Last edited by Calamity at 09:32am 13th Apr 08 |
|
Access: Admin
Total posts: 116
Status: Offline
| |
|
#9 Posted on 04:20pm 13th Apr 08 - Re: N-13 News 3.0
|
|
Sorted.
|
_______________ Chris - Network-13 |
|
Access: Member
Total posts: 12
Status: Offline
| |
|
#10 Posted on 06:06pm 13th Apr 08 - Re: N-13 News 3.0
|
|
haha thx alot for the help earlier... you really helped me... and btw i added a different index page where you have to select what browser you are using at the time... so if they are using firefox or something else the navigation works =D
http://wefckingown.zxq.net
|
_______________ -Tyler |