| Author |
Message |
Tizwit Involved


Joined: Aug 29, 2004 Posts: 324 Location: New Mexico
|
Posted:
Fri Jan 23, 2009 1:51 pm |
|
Does anyone happen to have a working NukeProjects? Or know of any one that is working to get a compatable version for RN? |
|
|
|
 |
nuken RavenNuke(tm) Development Team

Joined: Mar 11, 2007 Posts: 1536 Location: North Carolina
|
Posted:
Fri Jan 23, 2009 2:47 pm |
|
I just installed Nuke Projects 2.0 on a test site running RN 2.30.00 and it seems to work correctly. |
|
|
|
 |
Susann Moderator

Joined: Dec 19, 2004 Posts: 3143 Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Fri Jan 23, 2009 2:54 pm |
|
You need to test weblinks and other modules and add there e.g. a new catgory: Php-Nuke Developers |
|
|
|
 |
nuken RavenNuke(tm) Development Team

Joined: Mar 11, 2007 Posts: 1536 Location: North Carolina
|
Posted:
Fri Jan 23, 2009 3:33 pm |
|
|
|
 |
Tizwit Involved


Joined: Aug 29, 2004 Posts: 324 Location: New Mexico
|
Posted:
Fri Jan 23, 2009 4:26 pm |
|
I did all the suggested Fixes listed in the Forums and none have corrected the issue with the newest RN. |
|
|
|
 |
testy1 Involved


Joined: Apr 06, 2008 Posts: 483
|
Posted:
Sat Jan 24, 2009 1:23 am |
|
what is the problem exactly.....
Also make sure in file: modules/Projects/admin/index.php
Find:
| Code: |
$modname = basename(str_replace("/admin", "", dirname(__FILE__)));
|
Change To:
| Code: |
$modname = 'Projects';
|
|
|
|
|
 |
jaded Theme Guru

Joined: Nov 01, 2003 Posts: 1006
|
Posted:
Sat Jan 24, 2009 8:45 am |
|
I have just implimented this change that testy1 mentioned, Brian. See if that helps. If it does not, please post a detailed description about what is happening as I do not believe that people understand it completely. Perhaps this change will fix it. |
|
|
|
 |
Tizwit Involved


Joined: Aug 29, 2004 Posts: 324 Location: New Mexico
|
Posted:
Sat Jan 24, 2009 1:34 pm |
|
I have retested and tried to modify the category in the weblinks that was changed to "Projects" to what it should be.
After doing the modification I tried to create another category in the admin menu and this appears:
ERROR: The Category Projects already exist!
Somehow the NukeProjects is overriding the weblinks categories, as well as the Weblinks name.
If you go to this site:
and go to the weblinks section you can see what I mean.
Thank you all for the help. |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Jan 24, 2009 1:51 pm |
|
I'll download it now and take a look at it. |
|
|
|
 |
Tizwit Involved


Joined: Aug 29, 2004 Posts: 324 Location: New Mexico
|
Posted:
Sat Jan 24, 2009 2:06 pm |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Jan 24, 2009 4:42 pm |
|
I am still looking into the weblinks issue, but I have cleaned up a few warnings and notices. It is not neccessary to make these changes unless you want too. I am just posting them for posterity's sake.
************************************
Ok I am going to include all fixes found here on the forums here and recommended by me. Sorry to anyone if I forget to reference a post of mention a name.
The fixes below are just related to installation so they really are not necessary as the installation still works, but I do not like warning/notices at all .
This fix is proposed here by testy1.
Do a search and replace with the following in /nsnpj_installer/install.php:
| Code: |
if(in_array($prefix."
|
replace with:
| Code: |
if(isset($nsnwb) && in_array($prefix."
|
In /nsnpj_installer/index.php:
Find:
| Code: |
$pagetitle = $pagename;
|
After add:
| Code: |
if (!isset($oldname)) $oldname = '';
|
In /includes/nsnpj_func.php:
Find:
| Code: |
function pjget_configs(){
global $prefix, $db;
|
After add:
Ok that should take care of the "unnecessary" changes! Any changes below this should be done.
In /modules/Projects/admin/links.php:
Find:
| Code: |
global $admin_file;
|
Change to:
| Code: |
global $admin_file, $pj_config;
|
/modules/Projects/admin/PJProjectAdd.php on line 32
| Code: |
echo "<td><select name='allowrequests'><option value='0'$reqn>"._PJ_NO."</option>\n";
|
Change to:
| Code: |
echo "<td><select name='allowrequests'><option value='0'>"._PJ_NO."</option>\n";
|
In /language/nukeprojects/lang_english.php:
Find:
| Code: |
define("_PJ_DOWN","Down one");
|
After add:
| Code: |
define("_PJDOWN","Down one");
|
Find:
| Code: |
define("_PJ_UP","Up one");
|
After add:
| Code: |
define("_PJUP","Up one");
|
Probably would be better to replace all references to _PJDOWN and _PJUP, but this is much faster and we won't miss any .
There are three files that you need to edit here.
/modules/Projects/admin/PJReportList.php
/modules/Projects/admin/PJRequestList.php
/modules/Projects/admin/PJTaskList.php
Find:
| Code: |
if(!$page) $page = 1;
if(!$per_page) $per_page = 25;
if(!$column) $column = "project_id";
if(!$direction) $direction = "desc";
|
Change to:
| Code: |
if(empty($page)) $page = 1;
if(empty($per_page)) $per_page = 25;
if(empty($column)) $column = "project_id";
if(empty($direction)) $direction = "desc";
|
|
|
|
|
 |
jaded Theme Guru

Joined: Nov 01, 2003 Posts: 1006
|
Posted:
Sat Jan 24, 2009 4:59 pm |
|
Brian,
I have implimented these changes. Thank you very much, Palbin. Please do let us know what you find about the weblinks and any changes that need to be made. |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Jan 24, 2009 11:38 pm |
|
Here are some additional fixes.
In /modules/Projects/public/PJProject.php:
Find line 94-95:
| Code: |
if(!$column1) $column1 = "task_name";
if(!$direction1) $direction1 = "asc";
|
Change to:
| Code: |
if(empty($column1)) $column1 = "task_name";
if(empty($direction1)) $direction1 = "asc";
|
Find line 154-15:
| Code: |
if(!$column2) $column2 = "report_name";
if(!$direction2) $direction2 = "asc";
|
Change to:
| Code: |
if(empty($column2)) $column2 = "report_name";
if(empty($direction2)) $direction2 = "asc";
|
Find line 214-215:
| Code: |
if(!$column3) $column3 = "request_name";
if(!$direction3) $direction3 = "asc";
|
Change to:
| Code: |
if(empty($column3)) $column3 = "request_name";
if(empty($direction3)) $direction3 = "asc";
|
That should take care of all the "visible" notices there are others, but I don't want to waste anymore time on them. |
Last edited by Palbin on Sun Jan 25, 2009 11:43 am; edited 1 time in total |
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Jan 24, 2009 11:45 pm |
|
This should solve the problems with weblinks and any other module.
This fix came partially from this topic.
The problem is with the case.php and links.php. They have a bunch of code at the top of them that is supposed to check for admin status and stuff. None of this is needed. The index.php already does this and there is no need to hide the link in the admin because the core takes care of this already.
open /modules/Projects/admin/case.php and replace the entire file with this
| Code: |
<?php
/********************************************************/
/* NukeProject(tm) */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/* http://www.nukescripts.net */
/* Copyright © 2000-2005 by NukeScripts Network */
/********************************************************/
if (!defined('ADMIN_FILE')) {
die ('Access Denied');
}
global $pj_config;
$module_name = 'Projects';
$modname = $pj_config['location'];
switch ($op) {
case "PJConfig":
case "PJConfigUpdate":
case "PJLoadError":
case "PJMain":
case "PJMemberAdd":
case "PJMemberDelete":
case "PJMemberEdit":
case "PJMemberInsert":
case "PJMemberList":
case "PJMemberPositionAdd":
case "PJMemberPositionDelete":
case "PJMemberPositionEdit":
case "PJMemberPositionFix":
case "PJMemberPositionInsert":
case "PJMemberPositionList":
case "PJMemberPositionOrder":
case "PJMemberPositionRemove":
case "PJMemberPositionUpdate":
case "PJMemberRemove":
case "PJMemberUpdate":
case "PJProjectAdd":
case "PJProjectConfig":
case "PJProjectConfigUpdate":
case "PJProjectDelete":
case "PJProjectEdit":
case "PJProjectFix":
case "PJProjectInsert":
case "PJProjectList":
case "PJProjectMembers":
case "PJProjectOrder":
case "PJProjectPriorityAdd":
case "PJProjectPriorityDelete":
case "PJProjectPriorityEdit":
case "PJProjectPriorityFix":
case "PJProjectPriorityInsert":
case "PJProjectPriorityList":
case "PJProjectPriorityOrder":
case "PJProjectPriorityRemove":
case "PJProjectPriorityUpdate":
case "PJProjectRemove":
case "PJProjectReports":
case "PJProjectRequests":
case "PJProjectStatusAdd":
case "PJProjectStatusDelete":
case "PJProjectStatusEdit":
case "PJProjectStatusFix":
case "PJProjectStatusInsert":
case "PJProjectStatusList":
case "PJProjectStatusOrder":
case "PJProjectStatusRemove":
case "PJProjectStatusUpdate":
case "PJProjectTasks":
case "PJProjectUpdate":
case "PJReportCommentDelete":
case "PJReportCommentEdit":
case "PJReportCommentRemove":
case "PJReportCommentUpdate":
case "PJReportConfig":
case "PJReportConfigUpdate":
case "PJReportDelete":
case "PJReportEdit":
case "PJReportImport":
case "PJReportImportInsert":
case "PJReportList":
case "PJReportMembers":
case "PJReportPrint":
case "PJReportRemove":
case "PJReportStatusAdd":
case "PJReportStatusDelete":
case "PJReportStatusEdit":
case "PJReportStatusFix":
case "PJReportStatusInsert":
case "PJReportStatusList":
case "PJReportStatusOrder":
case "PJReportStatusRemove":
case "PJReportStatusUpdate":
case "PJReportTypeAdd":
case "PJReportTypeDelete":
case "PJReportTypeEdit":
case "PJReportTypeFix":
case "PJReportTypeInsert":
case "PJReportTypeList":
case "PJReportTypeOrder":
case "PJReportTypeRemove":
case "PJReportTypeUpdate":
case "PJReportUpdate":
case "PJRequestCommentDelete":
case "PJRequestCommentEdit":
case "PJRequestCommentRemove":
case "PJRequestCommentUpdate":
case "PJRequestConfig":
case "PJRequestConfigUpdate":
case "PJRequestDelete":
case "PJRequestEdit":
case "PJRequestImport":
case "PJRequestImportInsert":
case "PJRequestList":
case "PJRequestMembers":
case "PJRequestPrint":
case "PJRequestRemove":
case "PJRequestStatusAdd":
case "PJRequestStatusDelete":
case "PJRequestStatusEdit":
case "PJRequestStatusFix":
case "PJRequestStatusInsert":
case "PJRequestStatusList":
case "PJRequestStatusOrder":
case "PJRequestStatusRemove":
case "PJRequestStatusUpdate":
case "PJRequestTypeAdd":
case "PJRequestTypeDelete":
case "PJRequestTypeEdit":
case "PJRequestTypeFix":
case "PJRequestTypeInsert":
case "PJRequestTypeList":
case "PJRequestTypeOrder":
case "PJRequestTypeRemove":
case "PJRequestTypeUpdate":
case "PJRequestUpdate":
case "PJTaskAdd":
case "PJTaskConfig":
case "PJTaskConfigUpdate":
case "PJTaskDelete":
case "PJTaskEdit":
case "PJTaskInsert":
case "PJTaskList":
case "PJTaskMembers":
case "PJTaskPriorityAdd":
case "PJTaskPriorityDelete":
case "PJTaskPriorityEdit":
case "PJTaskPriorityFix":
case "PJTaskPriorityInsert":
case "PJTaskPriorityList":
case "PJTaskPriorityOrder":
case "PJTaskPriorityRemove":
case "PJTaskPriorityUpdate":
case "PJTaskRemove":
case "PJTaskStatusAdd":
case "PJTaskStatusDelete":
case "PJTaskStatusEdit":
case "PJTaskStatusFix":
case "PJTaskStatusInsert":
case "PJTaskStatusList":
case "PJTaskStatusOrder":
case "PJTaskStatusRemove":
case "PJTaskStatusUpdate":
case "PJTaskUpdate":
include("modules/".$modname."/admin/index.php");
break;
}
?>
|
open /modules/Projects/admin/links.php and replace the entire file with this
| Code: |
<?php
/********************************************************/
/* NukeProject(tm) */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/* http://www.nukescripts.net */
/* Copyright © 2000-2005 by NukeScripts Network */
/********************************************************/
if (!defined('ADMIN_FILE')) {
die ('Access Denied');
}
global $admin_file, $pj_config;
$module_name = 'Projects';
$modname = $pj_config['location'];
adminmenu($admin_file.".php?op=PJMain", _PJ_TITLE, "nukeproject.png");
?>
|
|
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Jan 24, 2009 11:48 pm |
|
Let me know if that fixes it. |
|
|
|
 |
jaded Theme Guru

Joined: Nov 01, 2003 Posts: 1006
|
Posted:
Sun Jan 25, 2009 8:47 am |
|
Palbin,
I was implimenting these changes for him. However, in your post here
Posted: Sun Jan 25, 2009 1:38 am
--------------------------------------------------------------------------------
Here are some additional fixes.
In /modules/Projects/admin/links.php:
None of those lines are in his modules/Projects/admin/links file nor are they in the replacement file that you gave in the next post. Did you intend for those changes to be made to a different file and not admin/links by mistake?
I will have him test the weblinks, etc now and get back to you about the status.
Thank you so much for all of your hard work with this. |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sun Jan 25, 2009 11:43 am |
|
| jaded wrote: | Palbin,
I was implimenting these changes for him. However, in your post here
Posted: Sun Jan 25, 2009 1:38 am
--------------------------------------------------------------------------------
Here are some additional fixes.
In /modules/Projects/admin/links.php:
None of those lines are in his modules/Projects/admin/links file nor are they in the replacement file that you gave in the next post. Did you intend for those changes to be made to a different file and not admin/links by mistake?
I will have him test the weblinks, etc now and get back to you about the status.
Thank you so much for all of your hard work with this. |
Sorry about that. It should have read /modules/Projects/public/PJProject.php.
I have edited my post above. |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Sun Jan 25, 2009 11:46 am |
|
Just so everyone knows. the only edits that are really needed are the case.php and the links.php edits. The others are purely optional. They will stop errors from being entered into your error log. |
|
|
|
 |
jaded Theme Guru

Joined: Nov 01, 2003 Posts: 1006
|
Posted:
Sun Jan 25, 2009 11:49 am |
|
Thank you, Palbin. I have made these changes for you, Brian. Please post here the results when you test the site. |
|
|
|
 |
Tizwit Involved


Joined: Aug 29, 2004 Posts: 324 Location: New Mexico
|
Posted:
Sun Jan 25, 2009 2:26 pm |
|
Thank you Jaded. I have been gone and away from the computer for most of the weekend. I will test now. |
|
|
|
 |
Tizwit Involved


Joined: Aug 29, 2004 Posts: 324 Location: New Mexico
|
Posted:
Sun Jan 25, 2009 2:29 pm |
|
It looks like this has fixed everything.
Thank you so much Palbin and Jaded. |
|
|
|
 |
jaded Theme Guru

Joined: Nov 01, 2003 Posts: 1006
|
Posted:
Sun Jan 25, 2009 2:55 pm |
|
That is excellent, again thank you Palbin. I have recomplied the module and given it to Raven to add to this site's download section. I am also placing it in mine. This way others can easily impliment this module. |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3038 Location: United Kingdom
|
Posted:
Sun Jan 25, 2009 3:14 pm |
|
Palbin, I am getting the following error after making the above edits:
Warning: include(modules/admin/admin/PJMain.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\RN\modules\Projects\admin\index.php on line 35
Warning: include() [function.include]: Failed opening 'modules/admin/admin/PJMain.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\RN\modules\Projects\admin\index.php on line 35
The good news Web Links appears to be OK now. Good job.  |
|
|
|
 |
jakec Site Admin

Joined: Feb 06, 2006 Posts: 3038 Location: United Kingdom
|
Posted:
Sun Jan 25, 2009 3:15 pm |
|
Oh yeah, this error is displayed when trying to access the Nuke Project admin area. |
|
|
|
 |
jaded Theme Guru

Joined: Nov 01, 2003 Posts: 1006
|
Posted:
Sun Jan 25, 2009 3:16 pm |
|
We are not getting any errors on Tizwit's site after these edits. What version of RN are you using? |
|
|
|
 |
|
|
|
|