PnProfile  Bottom

  • 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
  • Please someone help. Im going to break my computer if I cant figure this out. GRRR
  • I see that no one knows anything about pnProfile. I have only asked for help two times and neither time no one has responded. I have wasted my time with this
  • 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... icon_smile
    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 icon_wink

    - Igor
  • 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
  • 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

    if (isset($op) && ($op == 'userinfo')) {


    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
  • Thank you. That seemed to work. see it was telling me to replace the op=userinfo I didnt know I was suppose to replace it starting with the if.

This list is based on users active over the last 60 minutes.