Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
djw2
Regular
Regular



Joined: Sep 19, 2003
Posts: 95
Location: St. Louis, MO

PostPosted: Tue Apr 27, 2004 8:53 pm Reply with quote

Hey kids,

I have an easy one... maybe. Wink

I'm using PHP Nuke 7.1.

I set my nuke to display 20 news stories on the home page, but the old stories block is still picking up at 10 stories.


Any ideas?


Peace,

Dan
 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Apr 27, 2004 8:59 pm Reply with quote

In Nuke preferences set this setting to 20
Stories in Old Articles Box:
 
View user's profile Send private message
djw2







PostPosted: Tue Apr 27, 2004 9:45 pm Reply with quote

Hey,

No, I mean I did that already... and the Old Stories block didn't change. The first ten stories on the block are exactly the same as the bottom half of my home page... the overlap.

I tried resetting the blobk by deactivating it and then reactivating it but it came back the same way.

Quote:
Stories Number in Home: 20

Stories in Old Articles Box: 30


So... home should show 20, Old Articles should pick up at 21 and show 30 past stories... right?


Thanks,

Dan


PS [ Only registered users can see links on this board! Get registered or login! ]
 
djw2







PostPosted: Thu Apr 29, 2004 5:01 am Reply with quote

Any ideas why the preferences change wouldn't update the block?


Thanks,

Dan
 
Raven







PostPosted: Thu Apr 29, 2004 5:11 am Reply with quote

Try this

Number of Items in Top Page: 20
Stories Number in Home: 20
Stories in Old Articles Box: 30

If that isn't working I don't know. Just for grins and giggles you might try flushing your cache and deleting your cookies. That never hurts anyway.
 
djw2







PostPosted: Thu Apr 29, 2004 12:17 pm Reply with quote

Okay, now it's getting weird.

I deleted my cookies and temp internet files and pulled up my page and it looked great. The Old Articles block only listed from story 21 on.

I was thrilled... then I logged into my account.

Rolling Eyes

All the stories are back. Question

How could that be, and could it be only me?


Peace!

Paxil
 
djw2







PostPosted: Thu Apr 29, 2004 12:39 pm Reply with quote

It isn't just me... but it is only when a user is logged on.

When a user is not logged in the Old Articles block starts at 21, when logged in it starts at 11.

Any ideas as to why?


Thanks,

Dan
 
Anubis_The_Jackal
Court Jester



Joined: Sep 20, 2003
Posts: 106

PostPosted: Thu Apr 29, 2004 1:13 pm Reply with quote

my nuke that was 7.1 that i upgraded has flipped out too. i try to set only 5 articles on the home page, and 10 in the old box, and it does not respond! Also none of my scrolling blocks work, and all kinds of funky stuff is going down :S

But my other nuke site which started at nuke 6.5, and upgraded all the way to 7.1 has no problems. Question

I dont get it. I dont want to reset my site AGAIN.
 
View user's profile Send private message Send e-mail
djw2







PostPosted: Thu Apr 29, 2004 8:22 pm Reply with quote

I had commented out the Your Home option in Your Account so people couldn't change the story number or home page. Unfortunately, That's where I need to change my logged in story number. Apparently the default for a logged in user is ten and I want twenty.


Now, this is the setting for $storyhome, and the only thing I can fine is this...

Code:
if ($user_news == 1) {

   echo "<b>"._NEWSINHOME."</b> "._MAX127." "
       ."<input type=\"text\" name=\"storynum\" size=\"4\" maxlength=\"3\" value=\"$userinfo[storynum]\">"
       ."<br><br>";
    } else {
   echo "<input type=\"hidden\" name=\"storynum\" value=\"$storyhome\">";
    }


What I can't figure out is where the registered user default of ten is set at.

I searched my files and found that $storyhome appears in the mainfile.php, and I thought I had hit the jackpot but I didn't really find anything.

Any ideas?


Peace!

Dan
 
Raven







PostPosted: Thu Apr 29, 2004 8:40 pm Reply with quote

It is set in the nuke_users table schema:
storynum tinyint(4) NOT NULL default '10'
 
Anubis_The_Jackal







PostPosted: Tue May 04, 2004 3:06 am Reply with quote

my nuke is still haywire

Edit: "And then the gods brought forth a might bolt of lighting, and fixed my humble script"
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©