Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN News
Author Message
partyhunden2
New Member
New Member



Joined: Jan 02, 2006
Posts: 9

PostPosted: Thu Feb 02, 2006 2:24 pm Reply with quote

Hello
I don't now if this is the right place to post but I can't find at forum on NSN so
now I am looking for help at ravenphpscripts.
The problem is that I have installs NSN News on php-nuke 7.8. Now when I press the Read More link underneath my Lead Text at my index page, it opens
the Body Text underneath the other things I got on my index page, I would like
it to open as it did with the standard news system.
You can se the problem here:
Index: [ Only registered users can see links on this board! Get registered or login! ]
A news article [ Only registered users can see links on this board! Get registered or login! ]
Hope some one can help Crying or Very sad
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6421

PostPosted: Thu Feb 02, 2006 10:14 pm Reply with quote

Are you also using the center blocks enhancement? It appears to be displaying the article correctly, but the center blocks are being displayed not only on articles but also on other modules that display modules on the right.

_________________
I google, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
partyhunden2







PostPosted: Fri Feb 03, 2006 1:20 am Reply with quote

Now i am not using the center blocks enhancement.
I have noticed that my topics also are being showed with the center blocks.
 
kguske







PostPosted: Fri Feb 03, 2006 6:07 am Reply with quote

It sounds like your theme OR modules.php also displaying center blocks, in addition to them being displayed on the index page.
 
partyhunden2







PostPosted: Sun Feb 05, 2006 2:05 pm Reply with quote

I have uploaded an unedited version of modules.php and theme.php and it still shows op wrong
 
kguske







PostPosted: Sun Feb 05, 2006 2:13 pm Reply with quote

Just for kicks, try using a default theme that came with PHP-Nuke. If you still have the problem, you'll know it's not the theme.

You may also wish to check the blocks administration to see if the block is somehow duplicated.
 
partyhunden2







PostPosted: Sun Feb 05, 2006 2:24 pm Reply with quote

It aren’t the theme and there isn’t any duplicated blocks
It is only the modules from NSN news that is displayed wrong now Question
 
kguske







PostPosted: Sun Feb 05, 2006 2:31 pm Reply with quote

You tried another theme?

Which version of NSN News?

Also, what happens if you insert another center block with some simple text it. Are both center blocks duplicated, or only the last one?
 
partyhunden2







PostPosted: Sun Feb 05, 2006 2:43 pm Reply with quote

Yes I tried the deepblue team, I am using the version for 7.0-7.9 the version is 2.0.

What do you mean with:

Quote:
Also, what happens if you insert another center block with some simple text it. Are both center blocks duplicated, or only the last one?


I am a bit slow at evening Embarassed
 
kguske







PostPosted: Sun Feb 05, 2006 2:48 pm Reply with quote

I did some testing on 2.0, but haven't used it on a live site yet. I'll check into that...

What I meant was, in blocks administration, add another center block with some text as the block (rather than specifying a block file). Then see if both the existing and new blocks are duplicated - or only one.
 
partyhunden2







PostPosted: Sun Feb 05, 2006 2:53 pm Reply with quote

The new block is also duplicated
 
kguske







PostPosted: Sun Feb 05, 2006 3:01 pm Reply with quote

I see that you already had multiple center blocks - and that they are all shown. Let me look at the source for NSN News 2.0.
 
partyhunden2







PostPosted: Sun Feb 05, 2006 3:06 pm Reply with quote

Okay thank you! Very much! Very Happy
 
kguske







PostPosted: Sun Feb 05, 2006 3:32 pm Reply with quote

Which version / distribution of Nuke are you using?
 
kguske







PostPosted: Sun Feb 05, 2006 4:26 pm Reply with quote

It could be related to this code in the index.php file in each module:
Code:
$index = 1; // For < Patched 3.1

define('INDEX_FILE', true); // For Patched 3.1 +

If you change that to:
Code:
$index = 0; // For < Patched 3.1

#define('INDEX_FILE', true); // For Patched 3.1 +

It should disable the right blocks and center blocks. The second line (the define statement) must be commented out, since the logic checks to see whether its been defined, rather than checking the value.

The reason I asked which distribution you were using is that I haven't seen anything display center blocks - other than on the index page, regardless of how the $index variable is defined or whether the definition exists.
 
partyhunden2







PostPosted: Mon Feb 06, 2006 1:18 am Reply with quote

It only disables the right block the center block is still displayed

I am using nuke sentile (newest version), admin secure and patch 3.1 if this can be any help
 
srhh
Involved
Involved



Joined: Dec 27, 2005
Posts: 296

PostPosted: Thu Oct 12, 2006 2:41 pm Reply with quote

Hi,
I noticed you got the center blocks to stop displaying when you click the "Read More".
I used kgukes suggestion and while it disabled the right blocks, the center blocks are still displaying. What did you do to get rid of the center blocks and messages?

Edit: I also checked my theme to make sure it wasn't that. I switched to fisubice and the center blocks and messages were still displaying.
 
View user's profile Send private message
partyhunden2







PostPosted: Thu Oct 12, 2006 2:50 pm Reply with quote

sorry didn't acutely find at solution I switched over to an other type of nuke called nuke-evolution were all those modules already are preinstalled and working. Sorry that i can't help you
 
srhh







PostPosted: Thu Oct 12, 2006 3:25 pm Reply with quote

Hmm, ok. Well thanks for the fast reply!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NSN News

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 ©