Author |
Message |
Eduardo
Worker


Joined: Jul 20, 2004
Posts: 189
Location: Italy
|
Posted:
Sat May 23, 2009 2:17 pm |
|
I should install the following module:
NSN_Center_Blocks_760_213pl1
Please tell me if it is possible with the RN 2.30.01 or if need modifications.
Many thanks in advance. |
|
|
|
 |
horrorcode
Involved


Joined: Jan 17, 2009
Posts: 272
Location: Missouri
|
Posted:
Sat May 23, 2009 2:50 pm |
|
From my experience it works but it has some problems, in any case you backup first and should be fine testing it. |
|
|
|
 |
Palbin
Site Admin

Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Sat May 23, 2009 8:11 pm |
|
I believe there are problems as well. As for what they are I am not sure. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
 |
Eduardo

|
Posted:
Sat May 23, 2009 10:52 pm |
|
Yes, it is so also for me.
Please, can you help me to find an alternative module or block? |
|
|
|
 |
nuken
RavenNuke(tm) Development Team

Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sun May 24, 2009 4:19 am |
|
What problems are you having? I think you can get the installer to run if you exclude the include header call in the install directory files.
example:
Code:include("header.php");
becomes
//include("header.php");
|
|
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
Eduardo

|
Posted:
Sun May 24, 2009 5:03 am |
|
The installer has completed the installation but the module does not let me to see the blocks. |
|
|
|
 |
nuken

|
Posted:
Sun May 24, 2009 5:27 am |
|
Once you have completed the modifications to the header.php, footer.php and mainfile.php, ran the installer and deleted the install directory from your server, you should see a new Center Blocks icon in your admin control panel. When you click on it, you will see 4 choices. Row 1 configuration Row 2... Row 3... Row 4.... Each one controls the placement of the blocks. I think (not sure) Row 1 only displays on home page at top, Row 2 displays on top of all modules, 3 and 4 at bottom. |
|
|
|
 |
nuken

|
Posted:
Sun May 24, 2009 5:31 am |
|
Also, I believe I used the NSN_Center_Blocks_71-77_220 when I installed it. |
|
|
|
 |
Eduardo

|
Posted:
Sun May 24, 2009 9:20 am |
|
I am not able to find in the footer.php the code:
Code: if ($home == 1) {
blocks(Down);
}
|
and in the header.php the code:
Code:if ($home == 1) {
message_box();
blocks(Center);
}
|
to make modifications.
I think that the RN 2.3.1 have not this code.
Please help me. |
|
|
|
 |
nuken

|
Posted:
Sun May 24, 2009 9:30 am |
|
in footer.php
Code:function foot() {
global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $name, $admin;
if(defined('HOME_FILE')) {
blocks('Down');
include("includes/cblocks3.php");
} else {
include("includes/cblocks4.php");
}
|
in header.php
Code:online();
head();
include_once 'includes/counter.php';
if (defined('HOME_FILE')) {
message_box();
blocks('Center');
include("includes/cblocks1.php");
} else {
include("includes/cblocks2.php");
}
?>
|
|
|
|
|
 |
draxx
Involved


Joined: Nov 19, 2003
Posts: 282
|
Posted:
Wed May 27, 2009 1:06 am |
|
I wonder how that would work with the blocks by module hack.....  |
|
|
|
 |
horrorcode

|
Posted:
Wed May 27, 2009 9:35 am |
|
Probably not very well.. I think nsncb would need to use proper block functions first... On that point it would be nice to see an entirely new block function, lets say blocks a, for arrangable, where you create many different blocks and just place the call to where you want them to be seen, but that would be off topic and I'm clueless on the approach. |
|
|
|
 |
Eduardo

|
Posted:
Fri Jun 05, 2009 1:40 pm |
|
The best solution is to install the following module: Tricked Out News Version 2
Only registered users can see links on this board! Get registered or login!
a great script for RN 2.3. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Jun 06, 2009 9:34 am |
|
Eduardo, I am confused. You opened this thread talking about Center Blocks (i.e., multiple blocks within a center block) and now you recommend a News module replacement? Has this thread just gone
?? |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
nuken

|
Posted:
Sat Jun 06, 2009 12:26 pm |
|
I think he had NSN center blocks confused with NSN News.... |
|
|
|
 |
Eduardo

|
Posted:
Sat Jun 06, 2009 12:49 pm |
|
montego, there is only one restriction: Tricked Out News operates only for the news.
In this way, I can configure with versatility all the News.
To complete my work I need a similar module with the name: Tricked Out Content, for the Content Plus.
To understand what I mean please go to:
Only registered users can see links on this board! Get registered or login! |
|
|
|
 |
horrorcode

|
Posted:
Sat Jun 06, 2009 5:43 pm |
|
What problems are you having with NSN Center Blocks? |
|
|
|
 |
Eduardo

|
Posted:
Sun Jun 07, 2009 8:25 am |
|
I can display the News only through the block "Last 5 Articles"; the News does not appear ever ordered by Topics.
All the center blocks are without the frames. From an aesthetic point of view there is great confusion.
In addition, the module will not allow me to give the title for every block.
And yet, the module uses the blocks of the system. They are statics. I thought that would use original blocks. |
|
|
|
 |
horrorcode

|
Posted:
Sun Jun 07, 2009 5:53 pm |
|
Yes the titles dont display properly, this is a flaw I tried working out but I dont have enough experience so I did a work around, but its not very simple.
Im not sure what you mean by without frames, this could be a theme issue.
If youd like to check your theme.php, NSNCB uses the function themecenterbox for blocks display, if thats what you mean it can be changed in nsncb_func.php it can easily be changed to themesidebox to display more like the standard side blocks.
It could use a different function but it might not be worth the trouble to you. Depending on what you can do, Only registered users can see links on this board! Get registered or login! might be of assistance. It should give you some understanding of how to create a new function, and the beggining is the work-around for the titles, which does work but is no longer themed properly. |
|
|
|
 |
Eduardo

|
Posted:
Mon Jun 08, 2009 8:59 am |
|
Congratulations for the efforts that you made in an attempt to recover the script.
I hope that in future Raven introducing a suitable alternative for the adoption of these vital functions.
Today I will give up. |
|
|
|
 |
Palbin

|
Posted:
Tue Jun 09, 2009 8:49 pm |
|
I'll try and look at it. I currently have a lot to do so don't count on anything. |
|
|
|
 |
|