Author |
Message |
neodesc
New Member


Joined: Jun 20, 2005
Posts: 18
|
Posted:
Mon Aug 01, 2005 9:15 am |
|
Hi, I'm trying to install GT-NextGen 0.4 on PHP-Nuke 7.6.0.3.1 and I don't know how to edit the modules.php file.
The install readme:
- Open modules.php (Located in main nuke directory)
Find:
if (isset($name)) {
After this and on a new line, add:
$nextgen_name = $name;
Code should now resemble the following:
if (isset($name)) {
$nextgen_name = $name;
global $nukeuser;
Save modules.php and upload
The modules.php file:
Code:<?php
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/* */
/************************************************************************/
/* Additional security checking code 2003 by chatserv */
/* http://www.nukefixes.com -- http://www.nukeresources.com */
/************************************************************************/
define('MODULE_FILE', true);
require_once("mainfile.php");
//$module = 1;
if (isset($name) && $name == $_REQUEST['name']) {
$name = addslashes(trim($name));
$modstring = strtolower($_SERVER['QUERY_STRING']);
if (stripos_clone($name, "..") OR ((stripos_clone($modstring,"&file=nickpage") || stripos_clone($modstring,"&user=")) AND ($name=="Private_Messages" OR $name=="Forums" OR $name=="Members_List"))) header("Location: index.php");
global $nukeuser, $db, $prefix, $user;
if (is_user($user)) {
$nukeuser = base64_decode($user);
$nukeuser = addslashes($nukeuser);
} else {
$nukeuser = "";
}
$result = $db->sql_query("SELECT active, view FROM ".$prefix."_modules WHERE title='$name'");
list($mod_active, $view) = $db->sql_fetchrow($result);
$mod_active = intval($mod_active);
...
|
Could someone edit this with the readme information? I have tried it several times but I think I'm doing something wrong.
Thanks in advance. |
|
|
|
 |
VinDSL
Life Cycles Becoming CPU Cycles

Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com
|
Posted:
Mon Aug 01, 2005 10:49 am |
|
I suppose I would try...
Code:<?php
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/* */
/************************************************************************/
/* Additional security checking code 2003 by chatserv */
/* http://www.nukefixes.com -- http://www.nukeresources.com */
/************************************************************************/
define('MODULE_FILE', true);
require_once("mainfile.php");
//$module = 1;
if (isset($name) && $name == $_REQUEST['name']) {
$name = addslashes(trim($name));
$nextgen_name = $name;
$modstring = strtolower($_SERVER['QUERY_STRING']);
if (stripos_clone($name, "..") OR ((stripos_clone($modstring,"&file=nickpage") || stripos_clone($modstring,"&user=")) AND ($name=="Private_Messages" OR $name=="Forums" OR $name=="Members_List"))) header("Location: index.php");
global $nukeuser, $db, $prefix, $user;
if (is_user($user)) {
$nukeuser = base64_decode($user);
$nukeuser = addslashes($nukeuser);
} else {
$nukeuser = "";
}
$result = $db->sql_query("SELECT active, view FROM ".$prefix."_modules WHERE title='$name'");
list($mod_active, $view) = $db->sql_fetchrow($result);
$mod_active = intval($mod_active);
...
|
|
_________________ .:: "The further in you go, the bigger it gets!" ::.
.:: 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! ::. |
|
 |
 |
neodesc

|
Posted:
Mon Aug 01, 2005 11:41 am |
|
Thanks VinDSL. I think there is a problem with the sourveys module, you can see it on my website: http://nooticias.com
Before I thought it was a GT-NextGen problem but now I don't know... maybe I'm doing something wrong, has someone installed the PHP-Nuke 7.6.0.3.1 without the GT? I will try it tomorrow. |
|
|
|
 |
neodesc

|
Posted:
Tue Aug 02, 2005 8:16 am |
|
I have tried only the PHP-Nuke 7.6.0.3.1 (without GT-NextGen or any other modification) in http://bajandoelinks.com and the problem with the survey module continues. |
|
|
|
 |
neodesc

|
Posted:
Wed Aug 03, 2005 6:01 am |
|
|
|
 |
NukeBling
New Member


Joined: Mar 29, 2005
Posts: 7
|
Posted:
Thu Aug 18, 2005 2:07 am |
|
Hi neodesc,
Where did you download your googletap for PHP-Nuke 7.6.0.3.1 from ??
The one's I've tried have been riddled with bugs
Please send link ;-p |
_________________ 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! | 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! |
|
|
 |
|