Author |
Message |
partyhunden2
New Member


Joined: Jan 02, 2006
Posts: 9
|
Posted:
Thu Feb 02, 2006 2:24 pm |
|
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:
http://www.it-info.dk/index.php
A news article
http://www.it-info.dk/index.php?op=NEArticle&sid=18
Hope some one can help  |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Thu Feb 02, 2006 10:14 pm |
|
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 search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
partyhunden2

|
Posted:
Fri Feb 03, 2006 1:20 am |
|
Now i am not using the center blocks enhancement.
I have noticed that my topics also are being showed with the center blocks. |
|
|
|
 |
kguske

|
Posted:
Fri Feb 03, 2006 6:07 am |
|
It sounds like your theme OR modules.php also displaying center blocks, in addition to them being displayed on the index page. |
|
|
|
 |
partyhunden2

|
Posted:
Sun Feb 05, 2006 2:05 pm |
|
I have uploaded an unedited version of modules.php and theme.php and it still shows op wrong |
|
|
|
 |
kguske

|
Posted:
Sun Feb 05, 2006 2:13 pm |
|
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

|
Posted:
Sun Feb 05, 2006 2:24 pm |
|
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  |
|
|
|
 |
kguske

|
Posted:
Sun Feb 05, 2006 2:31 pm |
|
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

|
Posted:
Sun Feb 05, 2006 2:43 pm |
|
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  |
|
|
|
 |
kguske

|
Posted:
Sun Feb 05, 2006 2:48 pm |
|
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

|
Posted:
Sun Feb 05, 2006 2:53 pm |
|
The new block is also duplicated |
|
|
|
 |
kguske

|
Posted:
Sun Feb 05, 2006 3:01 pm |
|
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

|
Posted:
Sun Feb 05, 2006 3:06 pm |
|
Okay thank you! Very much!  |
|
|
|
 |
kguske

|
Posted:
Sun Feb 05, 2006 3:32 pm |
|
Which version / distribution of Nuke are you using? |
|
|
|
 |
kguske

|
Posted:
Sun Feb 05, 2006 4:26 pm |
|
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

|
Posted:
Mon Feb 06, 2006 1:18 am |
|
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


Joined: Dec 27, 2005
Posts: 296
|
Posted:
Thu Oct 12, 2006 2:41 pm |
|
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. |
|
|
|
 |
partyhunden2

|
Posted:
Thu Oct 12, 2006 2:50 pm |
|
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

|
Posted:
Thu Oct 12, 2006 3:25 pm |
|
Hmm, ok. Well thanks for the fast reply! |
|
|
|
 |
|