Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN All Other Issues
Author Message
Eduardo
Worker
Worker



Joined: Jul 20, 2004
Posts: 189
Location: Italy

PostPosted: Sat May 23, 2009 2:17 pm Reply with quote

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



Joined: Jan 17, 2009
Posts: 272
Location: Missouri

PostPosted: Sat May 23, 2009 2:50 pm Reply with quote

From my experience it works but it has some problems, in any case you backup first and should be fine testing it.
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sat May 23, 2009 8:11 pm Reply with quote

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







PostPosted: Sat May 23, 2009 10:52 pm Reply with quote

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

PostPosted: Sun May 24, 2009 4:19 am Reply with quote

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");

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
Eduardo







PostPosted: Sun May 24, 2009 5:03 am Reply with quote

The installer has completed the installation but the module does not let me to see the blocks.
 
nuken







PostPosted: Sun May 24, 2009 5:27 am Reply with quote

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







PostPosted: Sun May 24, 2009 5:31 am Reply with quote

Also, I believe I used the NSN_Center_Blocks_71-77_220 when I installed it.
 
Eduardo







PostPosted: Sun May 24, 2009 9:20 am Reply with quote

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







PostPosted: Sun May 24, 2009 9:30 am Reply with quote

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
Involved



Joined: Nov 19, 2003
Posts: 282

PostPosted: Wed May 27, 2009 1:06 am Reply with quote

I wonder how that would work with the blocks by module hack..... Confused
 
View user's profile Send private message
horrorcode







PostPosted: Wed May 27, 2009 9:35 am Reply with quote

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







PostPosted: Fri Jun 05, 2009 1:40 pm Reply with quote

The best solution is to install the following module: Tricked Out News Version 2

http://trickedoutnews.com/downloads-cat5.html

a great script for RN 2.3.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Jun 06, 2009 9:34 am Reply with quote

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

OffTopic

??

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
nuken







PostPosted: Sat Jun 06, 2009 12:26 pm Reply with quote

I think he had NSN center blocks confused with NSN News....
 
Eduardo







PostPosted: Sat Jun 06, 2009 12:49 pm Reply with quote

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:
www.nuovogiangurgolo.it
 
horrorcode







PostPosted: Sat Jun 06, 2009 5:43 pm Reply with quote

What problems are you having with NSN Center Blocks?
 
Eduardo







PostPosted: Sun Jun 07, 2009 8:25 am Reply with quote

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







PostPosted: Sun Jun 07, 2009 5:53 pm Reply with quote

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, THIS 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







PostPosted: Mon Jun 08, 2009 8:59 am Reply with quote

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







PostPosted: Tue Jun 09, 2009 8:49 pm Reply with quote

I'll try and look at it. I currently have a lot to do so don't count on anything.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN All Other Issues

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 ©