View Full Version : PostNuke/dotProject integration
ajdonnison
23-11-04, 05:16 PM
I've just uploaded a new PostNuke module that provides a reasonably full link between PostNuke and dotProject to SourceForge:
http://sourceforge.net/tracker/index.php?func=detail&aid=1071487&group_id=21656&a tid=372485
This module (dplink) provides login authentication at PostNuke, and copies login details and passwords across when they change, so that standalone logins into dotProject still work. It also creates new users on dotProject if they don't exist, giving them read-only rights.
Also included is a HTTP authentication mode that allows external Apache authentication to be used to control dotProject logins.
This is for 1.0.2 only, but will be provided for 2 once it hits the streets.
pmtoolbox
24-11-04, 08:10 AM
Hi,
First, thank you really much for this module! We now have all the pieces necessary to build up a powerful PMIS (ie. Project Management Information System) for free!....
Just have an error when i try to log on dotproject through postnuke:
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition cappui of the object you are trying to operate on was loaded _before_ the session was started in /home/xxxxx/public_html/labs/dotproject/dplink.php on line 107
Thanks in advance for your help
Ludovic PILET, PMP
PMToolbox.com (http://www.pmtoolbox.com/)
ajdonnison
24-11-04, 08:15 AM
Yes, I've had this reported as well. I'll shortly upload a fixed version, but in the meantime if you edit dplink.php and move the following lines to just after the error_reporting(E_ALL); line:
is_file( "./includes/config.php" )
or die( "Fatal Error. You haven't created a config file yet." );
// required includes for start-up
$dPconfig = array();
require_once( "./includes/config.php" );
require_once( "./classes/ui.class.php" );
require_once( "./includes/main_functions.php" );
pmtoolbox
24-11-04, 08:27 AM
Cool!
Thanks for your prompt answer.
Do you plan or do you already have developed some blocks for postnuke?
Ludovic PILET, PMP
PMToolbox.com
ajdonnison
24-11-04, 08:32 AM
Do you plan or do you already have developped some blocks for postnuke?
I'm not sure if you mean dotProject blocks within PostNuke, if so, then no, I haven't and I have no plans to do so. I really can't think of anything that would be appropriate as a pn block.
If you mean postnuke blocks in general, this isn't the right place to ask, but yes, I have.
pmtoolbox
24-11-04, 08:48 AM
Yes I mean dotproject block within Postnuke. Will probably be back soon with the first one (such projects statistics).
Regards
ted.freitas
30-11-04, 04:46 PM
How can I got about disabling the automatic registration of new users and display a message that says sorry, you must request access?
Thanks!
henkfikkert
29-01-05, 04:34 AM
Curious about what would it look like, I installed postnuke. You then say the link in the menu should be {dplink}. Should it be somthing like http://my_site_name/postnuke/dplink/index.php, or am I dead wrong?
regards, Henk
ajdonnison
31-01-05, 08:59 AM
No, you are not dead wrong, just a little wrong :) Postnuke has "shorthand" forms for module URLs in the Menu block. If you use [modname] then it uses modules.php?op=modload&name=modname... while the {modname} uses the index.php model (at least if my memory is correct). It is usually safer to use the shorthand forms as it is less likely to get them wrong.
henkfikkert
02-02-05, 01:06 AM
Well, thanks for your reaction! I entered the {dpLink} to the menu (using Blocks and then add it to the main menu). PN now does complain about "You must use the {} calling method in your menu, not []"(and I really entered {dPLink} ) Guess I should check the dp fora, but maybe, maybe it's obvious to you?
ajdonnison
02-02-05, 06:57 AM
Is register_globals on? I think setting this to on should solve the problem. This is a php.ini or .htaccess setting.
henkfikkert
03-02-05, 12:20 AM
Tried it in php.ini (indeed set to off), but unfortunately no luck. Thanks anyway. Will figure out if it runs on my old NT4 box.
jmartorella
23-05-06, 09:54 AM
Can someone tell me how to change the text in the DPLink block to something other than Go to DP??
thanks
trimble
25-05-06, 12:49 AM
Can someone tell me how to change the text in the DPLink block to something other than Go to DP??
Within the dplink module folder, go to pnlang/eng/info.php
line 6:
define('_MODULELINKNAME', 'Go to DP');
Change 'Go to DP' as desired.
Cheers!
jmartorella
26-05-06, 10:45 AM
thanks for bearing with the lame question - appreciate the response.
recruiterjoe
06-02-07, 03:29 PM
Hi - thank you for this work. Just curious whether or not support for .80 is in the works? I am currently testing .80 MS3 and dplink fails to locate user data in the newer PN.
Thanks again for your work!
Joe
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.