SW:Rebellion NetworkHosted by the SW:Rebellion Network
Welcome to Evaders Squadron Coding [ESC]
phpNuke, phpBB, and other scripts Expert - Evaders Squadron Coding - Coding Services
Home Forums Nuke Patched Core Coding Services Webmaster Services Personal
  Login/Create an Account    

Forums
· Forums FAQ
· Search
· Usergroups
· Profile
· Private Messages

Support Us
This site runs with your support. Please donate:

User Info/Login
Welcome, Anonymous
Nickname
Password
Security Code: Security Code
Type Security Code

(Register)
Membership:
Latest: melvin
New Today: 0
New Yesterday: 0
Overall: 9108

People Online:
Visitors: 20
Members: 0
Total: 20

Link to Us

Affliates
RPG Boards Hosting

Evaders Squadron Coding [ESC] :: View topic - Limiting News Articles on main page
Limiting News Articles on main page

 
Post new topic   Reply to topic    Evaders Squadron Coding [ESC] Forum Index -> Nuke Patched Core 7.6/7/8 + 7.5
View previous topic :: View next topic  
Author Message
LupinOne
Newbie
Newbie


Joined: Nov 03, 2006
Posts: 5

PostPosted: Fri Nov 03, 2006 4:41 pm    Post subject: Limiting News Articles on main page Reply with quote

PHP Nuke 8.0NP | bbtonuke 2.0.21

Hi evaders! Well after dealing with the stupid flood protection issue on the forums admin things run much better. I did have a quick question though as I have a site that I want to limit only the most recent news article to display on the main page.

I have edited the ../admin/modules/settings.php file to add in the option for "1" in the itemstop, storyhome, and oldstories options list.

Even after I select 1 (and verified the setting via phpmyadmin) I'm still getting more than one news article on the main page.

Any thoughts?

Site: jumpgatepirateradio.com
Theme: Alienware

Regards,

LupinOne
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Evaders99



Joined: Jan 11, 2002
Posts: 3063
Location: USA

PostPosted: Sat Nov 04, 2006 12:53 am    Post subject: Reply with quote

Check that it is also set in the users table for each user. You may need to logout/login for that to take effect
_________________
Evaders99
SW:Rebellion Fans! Webmaster
Star Wars roleplaying community! Administrator

Fighting is terrible, but not as terrible as losing the will to fight.
- SW:Rebellion Network - Evaders Squadron Coding -

The cake is a lie.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
LupinOne
Newbie
Newbie


Joined: Nov 03, 2006
Posts: 5

PostPosted: Sat Nov 04, 2006 1:11 am    Post subject: Reply with quote

Thanks, yeah I had to go run a quick query to set everyone.

Code:
UPDATE `nuke_users` SET `user_theme` = NULL ,
`storynum` = '1',
`user_emailtime` = NULL ,
`user_newpasswd` = NULL WHERE `user_id` >1;


That did the trick.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Evaders Squadron Coding [ESC] Forum Index -> Nuke Patched Core 7.6/7/8 + 7.5 All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

^Top
Home Your Account Forums Downloads F.A.Q. Submit News Hosting Contact Us

© 2005 - 2007 by Evaders99. All Rights Reserved.
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters.
You can syndicate our news using the file backend.php
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 5.31 Seconds