» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 92
0 members and 92 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Rimonabant
www.rimonabant-weight-loss.com
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on Can I change the modules.php code... within the Nuke 7.x - Modules forums, part of the PHP-Nuke 7.x category; module.php code Line 19: require_once("../../ PHP-Nuke-7.4 /html/mainfile.php"); My folder name & hierarchy ...



Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - Modules

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-18-2004, 04:12 AM
Junior Member
 
Join Date: Nov 2004
Posts: 4
Can I change the modules.php code...
module.php code
Line 19: require_once("../../PHP-Nuke-7.4/html/mainfile.php");

My folder name & hierarchy is www.mydomain.com/phpnuke74/html/mainfile.php

and my phpnuke is not sitting in the root of my domain.

I have a few errors happening - is this one of them, and should I change all necessary code that relies on the root domain hierarchy?

Sorry if this sounds stupid, but i'm scared if i change things (like b4) I may have to uninstall and intall again - twice already!

Thanks 4 any response.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-18-2004, 05:03 AM
Junior Member
 
Join Date: Nov 2004
Posts: 4
Sorry, me again.

What I meant is, it seems I need to edit a file, don't know which one, so that my file hierarchy can be correctly referenced. P-Nuke 7.4 is always pointing to mydomain.com/modules etc.

There must be one field i need to edit here to change - hello - there's 1000's+ of em!

Thanks 4 any response.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-18-2004, 01:53 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
http://www.yoursite.com/admin.php now go to Preferences and set the correct path to your site there and all your problems should be fixed
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-19-2004, 08:48 AM
Junior Member
 
Join Date: Nov 2004
Posts: 4
Yes I did change the path in preferences but this doesn't seem to be fixing the problem. The auto-email is collating a link back to the site which assumes the module.php is in the root directory?

It is happening for 'usergroups', 'submission' and I am thinking it will happen for any email configurated message. Hmm...

Nukemods auto link back is exactly what my link back looks like - ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-14-2004, 09:32 PM
Junior Member
 
Join Date: Dec 2004
Location: France
Posts: 10
Send a message via MSN to Rica
Did you changed it also in your phpBB preferences ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-14-2004, 10:25 PM
Junior Member
 
Join Date: Nov 2004
Posts: 4
What seems to me to be the prob' is the forward slashes; in PhpBB and Php Nuke. In preferences, if I include or delete the forward slash at the end or beginning of the path it will build from that, but then the PhpBB screws it up and vice versa.

I'm sure this is just a matter of tweaking and correcting a few slashes in the code till both Php brothers are happy!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Member change change nick directly. web_design Nuke 7.x - General 1 02-24-2006 06:12 AM
when i change theme code my blocks are not ordered =( C5C6 Theme packs 10 04-24-2005 03:04 PM
Disabling Inactive modules in modules block Krutch Nuke 7.x - Modules 2 12-14-2004 10:43 AM
How can I change the order of modules??? Matt22 Nuke 7.x - General 16 11-21-2004 10:46 PM
Change rank images with theme change Dauthus Nuke 6.5 to 6.9 - Themes 4 07-13-2003 03:57 AM


All times are GMT -5. The time now is 02:58 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31