| Author |
Message |
GlueBeard |
|
Post subject: [[[ Question ]]] Regarding the Number of Stories Displayed
Posted: 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? |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: 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. |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: 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? |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: 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.  |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: 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. |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Sep 02, 2004 - 06:31 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
|
Code:
UPDATE `nuke_users` SET pn_storynum = 3;
|
|
|
| |
|
|
|
 |
madpeter |
|
Post subject:
Posted: 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 (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? |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: 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? |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: 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] --> |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: 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. |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Jan 15, 2005 - 03:36 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
<table>
<tr>
<td><!-- [cat-title] --></td>
</tr>
</table>
 |
|
|
| |
|
|
|
 |
GlueBeard |
|
Post subject:
Posted: 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. |
|
|
| |
|
|
|
 |
|
|