I installed the module pnProfile to my site. I have it activated. I'm trying to get the pnProfile page to display instead of the PostNuke core user module. Its telling me to do the following....
Insert in user.php in PostNuke's Root-directory after finding the core op=userinfo in the file the following modificated code.:
return pnRedirect(pnModURL('pnProfile','user','display',array('uname'=>pnVarCleanFromInput('uname'))));
So do I completely take out the op=userinfo and replace wit with all of that or so I insert it after the op=userinfo
Please help me with this Im stuck and confused
Forum Activity
- Upgrade Old Postnuke Site on Mar 16
- Chat module? on Mar 16
- Redirect variable. on Mar 16
- problems with timeIT pop-up calender not inserting/applying date - maybe ??? on Mar 16
- how to change the format of shorturls on Mar 15
- the meta options in news are not showing the dates on Mar 15
- new theme 3TBase available on Mar 15
Zikula Blog
- How to Become a HipHop Fan on Feb 03
- HTML5 on Feb 02
- Support Free Software on Jan 22
- Module Files available on Dec 13
- Why I love Zikula (Reason #768) on Nov 11
- Theme Creator? on Nov 08
- Time to Embrace PHP 5 on Nov 08
Login
PnProfile
-
- Rank: Professional
- Registered: 21.03.03
- last visit: 08.03.10
- Posts: 917
1. pnProfile is a new module which is probably not used by a lot of people
2. It's not a core module
3. I know how frustating it can be when something is not working... but please understand, it's weekend...
4. go to pnRoot/modules/User/user.php and in that file try to find "op=userinfo"
5. no need to open up two topic for the same question
- Igor
--
Have a nice day
zikulapro.com is currently running
Zikula 1.1.2
pagesetter.net
-
**unknown user**
- Rank: Freshman
- Registered: 16.03.02
- last visit: 30.05.07
- Posts: 29
I opened up the second topic because I seen i posted it in the core modules instead of the third party and it doesnt say to change anything in the modules/User/user.php Its telling me to change the user.php in the root dir. When I do I get an error
-
- Rank: Professional
- Registered: 21.03.03
- last visit: 08.03.10
- Posts: 917
True, I misinterpreted the user.php. It is actually in the pnRoot/user.php you have to change something. I've read the *.pdf file, but my German language is not thát great.
After the line
Code
insert
Code
return pnRedirect(pnModURL('pnProfile','user','display',array('uname'=>pnVarCleanFromInput('uname'))));
So, if you put the last code line after the first one, and mind the { and if it doesn't work, then there's something wrong and you should try to contact the author.
- Igor
--
Have a nice day
zikulapro.com is currently running
Zikula 1.1.2
pagesetter.net
- Moderated by :
- Support
