PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
partyhunden2
New Member
New Member


Joined: Jan 02, 2006
Posts: 9

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

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 to the forums!

A news article
Only registered users can see links on this board!
Get registered or login to the forums!

Hope some one can help Crying or Very sad
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

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

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.
View user's profile Send private message
partyhunden2
New Member
New Member


Joined: Jan 02, 2006
Posts: 9

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

Now i am not using the center blocks enhancement.
I have noticed that my topics also are being showed with the center blocks.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

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

It sounds like your theme OR modules.php also displaying center blocks, in addition to them being displayed on the index page.
View user's profile Send private message
partyhunden2
New Member
New Member


Joined: Jan 02, 2006
Posts: 9

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

I have uploaded an unedited version of modules.php and theme.php and it still shows op wrong
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

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

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.
View user's profile Send private message
partyhunden2
New Member
New Member


Joined: Jan 02, 2006
Posts: 9

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

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

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

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?
View user's profile Send private message
partyhunden2
New Member
New Member


Joined: Jan 02, 2006
Posts: 9

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

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

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

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.
View user's profile Send private message
partyhunden2
New Member
New Member


Joined: Jan 02, 2006
Posts: 9

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

The new block is also duplicated
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

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

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.
View user's profile Send private message
partyhunden2
New Member
New Member


Joined: Jan 02, 2006
Posts: 9

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

Okay thank you! Very much! Very Happy
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

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

Which version / distribution of Nuke are you using?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

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

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.
View user's profile Send private message
partyhunden2
New Member
New Member


Joined: Jan 02, 2006
Posts: 9

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

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
View user's profile Send private message
srhh
Involved
Involved


Joined: Dec 27, 2005
Posts: 296

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

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
New Member
New Member


Joined: Jan 02, 2006
Posts: 9

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

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
View user's profile Send private message
srhh
Involved
Involved


Joined: Dec 27, 2005
Posts: 296

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

Hmm, ok. Well thanks for the fast reply!
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum