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
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- Guite responded to »Remove contents of nuke_sc_anticracker from Database« 01:30 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
- jmvaughn responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 08. Feb
- eledril created topic »Where can I download BBCode and BBSmile?« 08. Feb
- Paustian responded to »Need Feedback« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
PnProfile
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
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 -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: May 30, 2007
- 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
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
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
- Moderated by:
- Support
