From: <ni...@fo...> - 2002-06-27 11:43:55
|
Hello Martin et al Yes the portal system I use is myphpnuke. I have it set up so that visitors have to register before they can access the site. The example is still under construction but you are welcome to log in (http://rgu- sim.rgu.ac.uk/research/intranet/portal ). Once you log in you can try out the Test survey (the links are in the left hand panel). Porting phpESP into myphpnuke is not difficult but I had to make a few changes to phpESP. Basically the cookies used by myphpnuke are decoded and the username (or nickname) is the information which is entered into the "Response" table for phpESP. That way you can have code which checks if the person filling in the survey is a registered on the portal, they can only fill in the survey once and they can only view the results once they have filled in the survey. If anyone is using myphpnuke I can let you have copies of my code and also the changes I made to the phpESP pages. Cheers Nick Ananin 26/06/2002 22:00:02, Mar...@ur... wrote: > > > > > >Hello Nick, hello James,hi flobee hello all, > > >Zitat von php...@li...: > >Message: 2; was Integrating phpESP into a portal: phpESP into myPHPnuke ;))) > >From: ni...@fo... >To: php...@li..., "homerlex" ><ph...@ho...> >Date: Tue, 25 Jun 2002 23:27:17 +0100 >Subject: Re: [phpesp-general] Cookie support? > > >Hello Nick, hello James, hello all, > > >good news to hear from you! You integrated phpESP into a portal!!! > >>>>>>>>>>>>>>>> >Hi > >I implemented cookies/cookie decoding by integrating phpESP into a portal (I >use MyphpNuke). When someone is registered on the portal they can access and >fill in the survey and once they complete it they can view the results. The php >coding I used also recognises if they have already filled in the survey so >they can only fill it in once. Using cookies is a good way of doing what you >want If you have any problems let me know and I can maybe help with the code >Cheers > >Nick Ananin >>>>>>>>>>>>>>>>>>>> > > >WELL, i am actually very interested in your work, cause some german guys and me >want to do the same work with PostNuke ! >The PostNuke provides a PostNuke API with a nice Command Reference > >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/post- >nuke/postnuke_official/docs/pnAPI.html?rev=HEAD&content-type=text/html > >and a module-developer-guide > >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/post- >nuke/postnuke_official/docs/pnMDG.html?rev=HEAD&content-type=text/html > > >can we see your integration; it would be great to have a quick view on it. > >thanks in advance > >best regards >martin > > > > |