Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
crabdance
Regular
Regular


Joined: Oct 20, 2006
Posts: 56

PostPosted: Thu Nov 30, 2006 7:38 am Reply with quote

Hello all,

I've been searching RavenNuke for a couple of days now and can't find what I need so I'm going to post the question here.

I'm looking for a classifieds module/block that would (hopefully) be able to run as the center block of my home page. Also looking for one that is free if possible.

I've searched the net for NukeC and most of the pages no longer handled the product. I WAS able to come up with NukeC 3.0 but I believe that it's supposed to be an upgrade because some of the files are missing (per the install instructions).

NukeC may be what I am looking for but won't know until I can find an older version that is complete for install.

Anyway, any suggestions would be appreciated. Very Happy
thanks in advance for any help;

I'm using RavenNuke 7.6 v2.2.2
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Nov 30, 2006 9:19 am Reply with quote

try this..... Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
crabdance
PostPosted: Thu Nov 30, 2006 10:45 pm Reply with quote

hitwalker wrote:
try this..... Only registered users can see links on this board! Get registered or login!


Thank you for the suggestion, hitwalker. I like NukeC a lot. It was "sorta" easy to install (for me) and things went pretty smooth. Smile

I'm still getting used to it and hopefully will have things going well pretty soon.

thanks for the help! I DO appreciate it!
 
hitwalker
PostPosted: Fri Dec 01, 2006 5:08 am Reply with quote

ok this is weird....
as i received the reply on this,the text in the mail is different.
you asked also......

Quote:
Is there a way to make
\"http://www.mysite.com/modules.php?name=NukeC30\"
my home page? That would be great if that''s possible.


answer, yes you can...
if you go to modules admin and then set the nukeC in HOME ,instead news (whitch is now)
 
crabdance
PostPosted: Fri Dec 01, 2006 8:30 am Reply with quote

hitwalker wrote:
ok this is weird....
as i received the reply on this,the text in the mail is different.
you asked also......

Quote:
Is there a way to make
\"http://www.mysite.com/modules.php?name=NukeC30\"
my home page? That would be great if that''s possible.


answer, yes you can...
if you go to modules admin and then set the nukeC in HOME ,instead news (whitch is now)


Hi hitwalker,
Yes, I did ask the question about the homepage but thought that it might be a "dumb" question so I edited that part of my response. I'm happy that you got the mail because now I know that I can change it to my home page.

You're a great help! Thank you very much!
 
crabdance
PostPosted: Fri Dec 01, 2006 8:36 am Reply with quote

Quick Reply... After I set "NukeC" in HOME, I get the following error message when going to the home page.

You can't access this file directly...

Any ideas?
 
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Fri Dec 01, 2006 10:59 pm Reply with quote

That usually happens when the module index.php file has logic to check for something that doesn't exist - in this case, maybe a module definition variable from modules.php that isn't in the root index.php file. You might need to modify the NukeC module index.php to check for either the module or the index definition, so it can work with as the home module.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
crabdance
PostPosted: Sat Dec 02, 2006 5:34 am Reply with quote

Hi kguske,

Thank you for your reply. I'm new at phpnuke so I need further explaination about what to do with the code. I'm an x-software developer but I don't know php. Here is the line that causes the error:

if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
die ("You can't access this file directly...");
}

You said that I could check for either the module or the "index" definition... how do I modify the above code to check for the index definition?

Help from anyone is welcome. If I can get past this little roadblock I believe that my web site will be complete (from a design standpoint) Smile
 
crabdance
PostPosted: Sat Dec 02, 2006 5:55 am Reply with quote

Hi again,

I found that when I commeted out the "if" statement, it showed the page fine. Is there a down side to commenting out the "if" statement? It seems to be working fine but I'm just worried that there might be a "gotcha" there somewhere. Smile

Thanks
 
kguske
PostPosted: Sat Dec 02, 2006 8:17 am Reply with quote

The problem with commenting out the if statement is that it disables a form of security.

If your patch version is greater than 2.9, you can change it to:
Code:
if(!defined('MODULE_FILE')) { header("Location: ../../index.php");  die(); }
 
crabdance
PostPosted: Sat Dec 02, 2006 8:24 am Reply with quote

I used your code snippet and everything is still working fine. Thanks for the information and help with the code. I believe that the problem is now solved.

thanks Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

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 ©