Portal Themes, PHPnuke Themes and PostNuke themes Themes Home Page Profile Free Nuke theme Downloads Nuke theme Support Forums Nuke Themes Store
spacer image spacer image
Featured
Call of Duty 4 Nuke Theme

Call of Duty 4 Nuke Theme

Call of Duty 4 PHPNuke Theme, Call of Duty 4 PostNuke Theme, Call of Duty 4 Evo Theme, Call of Duty ...

$15.00
Enter Store ]
spacer image
Main Menu
spacer image
Site Status
spacer image Welcome Guest
Join us!
spacer image
spacer imagespacer imagespacer image
spacer image
Registration is free and gives full access to site
spacer image
spacer image Register
spacer image Login:
User:

spacer image
Password:

spacer image
Remember me
spacer image
spacer imageMembers:
Last: Today New:0
Last: Yesterday:0
Last: Total:7536
Last: Last:
maxfoot
Members: Online
Members: Members:0
Guests: Guests:45
Total: Total:45
spacer image Online Members
No online members
spacer image
Past News
Older articles
spacer image


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
GlueBeardOffline
Post subject: [[[ Question ]]] Regarding the Number of Stories Displayed  PostPosted: Sep 02, 2004 - 02:24 PM
Pirate Critic


Joined: Aug 18, 2004
Posts: 347
Location: The Isle of GlueBeard
Status: Offline
I wish to change the number of stories displayed on the front page of my site and anyone given time from 5 to 3.

What file or files do I need to edit?

I have tried editing the modules/NS-Settings/admin.php file, which appeared to be the one that I would want to change, but having edited it, and having changed my settings in the administraion panel/Settings panel from 5 to 3, it still displays more than 3 stories at a time.

Any ideas?
 
 View user's profile Send private message  
Reply with quote
marsOffline
Post subject:   PostPosted: Sep 02, 2004 - 02:28 PM
Site Admin


Joined: Aug 15, 2004
Posts: 4277

Status: Offline
You also need to reset that number for all registered members.
When a person registers, it sets that number in their profile, so even after you make a change it still is set for them.
 
 View user's profile Send private message  
Reply with quote
GlueBeardOffline
Post subject:   PostPosted: Sep 02, 2004 - 02:50 PM
Pirate Critic


Joined: Aug 18, 2004
Posts: 347
Location: The Isle of GlueBeard
Status: Offline
Well, I found this after I asked the question:

look in My Account - it is your user setting overriding what is in admin>settings

But, how do I reset the number for all users, if that is possible?
 
 View user's profile Send private message  
Reply with quote
marsOffline
Post subject:   PostPosted: Sep 02, 2004 - 05:45 PM
Site Admin


Joined: Aug 15, 2004
Posts: 4277

Status: Offline
I always just run SQL update queries to do stuff like that.
You would need PHPMyAdmin installed though.

I do this to change the themes to a new one on my sites that I allow visitors to preview themes on as well. Smile
 
 View user's profile Send private message  
Reply with quote
GlueBeardOffline
Post subject:   PostPosted: Sep 02, 2004 - 06:02 PM
Pirate Critic


Joined: Aug 18, 2004
Posts: 347
Location: The Isle of GlueBeard
Status: Offline
I have access to PHPMyAdmin. I am just not very familiar with it.
 
 View user's profile Send private message  
Reply with quote
marsOffline
Post subject:   PostPosted: Sep 02, 2004 - 06:31 PM
Site Admin


Joined: Aug 15, 2004
Posts: 4277

Status: Offline
Code:
UPDATE  `nuke_users`  SET pn_storynum = 3;
 
 View user's profile Send private message  
Reply with quote
madpeterOffline
Post subject:   PostPosted: Dec 10, 2004 - 05:39 AM



Joined: Dec 10, 2004
Posts: 11
Location: UK
Status: Offline
your you could edit the ns-settings module and give more options like i had to do now i can set it so when people are not log'd in only 1 news item shows Smile (ty to postnuke helpers)

marz do you know how to remove the option for people to set the number of news items they see and to have it allways at 1?
 
 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger  
Reply with quote
GlueBeardOffline
Post subject:   PostPosted: Jan 14, 2005 - 05:20 PM
Pirate Critic


Joined: Aug 18, 2004
Posts: 347
Location: The Isle of GlueBeard
Status: Offline
Mars,

Since I am using AutoTheme now, how do I get rid of the stories displayed on my front page, and only display the story titles/headlines?
 
 View user's profile Send private message  
Reply with quote
marsOffline
Post subject:   PostPosted: Jan 14, 2005 - 08:50 PM
Site Admin


Joined: Aug 15, 2004
Posts: 4277

Status: Offline
Edit summary.html and remove everything except <!-- [cat-title] -->
 
 View user's profile Send private message  
Reply with quote
GlueBeardOffline
Post subject:   PostPosted: Jan 15, 2005 - 03:24 AM
Pirate Critic


Joined: Aug 18, 2004
Posts: 347
Location: The Isle of GlueBeard
Status: Offline
Well, that worked, except it placed the story headlines side by side, insteadof one on top of the other.
 
 View user's profile Send private message  
Reply with quote
marsOffline
Post subject:   PostPosted: Jan 15, 2005 - 03:36 AM
Site Admin


Joined: Aug 15, 2004
Posts: 4277

Status: Offline
<table>
<tr>
<td><!-- [cat-title] --></td>
</tr>
</table>

Razz
 
 View user's profile Send private message  
Reply with quote
GlueBeardOffline
Post subject:   PostPosted: Jan 15, 2005 - 05:03 AM
Pirate Critic


Joined: Aug 18, 2004
Posts: 347
Location: The Isle of GlueBeard
Status: Offline
Thanks, Mars. I managed to fiddle around with it, and figured it out. But, I eventually opted for something a little different, and decided to have them scroll.

I just wish I could get them to scroll with one after another, but it automatically places them one above the other, and scrolls them all at the same time.

I went with the scroll effect, in the hope that site users will notice the stories more, and then click on them.

Again, much appreciated, though. I had come back just now to post to you that I figured it out, but you beat me to it, it seems.
 
 View user's profile Send private message  
Reply with quote
Display posts from previous:     
Jump to:  
All times are GMT - 5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits
spacer image spacer image

Welcome to www.PortalThemes.com, Your #1 Source for

Zikula Themes

,

PHP-Nuke themes

,

MD-Pro Themes

,

Nuke Evolution Themes

,

Platinum Nuke Themes

,

Xanthia Themes

,

AutoThemes and

Joomla Templates
World of Warcraft and Blizzard Entertainment are all trademarks or registered trademarks of Blizzard Entertainment in the United States and/or other countries. These terms and all related materials, logos, and images are copyright Blizzard Entertainment. This site is in no way associated with or endorsed by Blizzard Entertainment
SiteMap SiteMap 2 SiteMap 3