Best Way to do this? FirstVisit Start Page  Bottom

Go to page [-1] 1 - 2 - 3:

  • I figured it out. Had to go betwen the pnUserLogIn and the redirect.

    It works pretty well. The Admin has to define the target URL as an actual URL, because it's conceivable that the Admin would want to send the user to a specific item in a module rather than to the module itself, and I don't think there's an easy way to do it other wise. But it works.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Mark, Michael, what about the suggestion to put there a generic solution? Something like a hook; as this could be used for other things as well (sending admin-mail for example)

    Jörg
  • I'm not clear on the hook thing, so maybe Mark can address that. Where would a hook for this come in to play?

    --
    Home Page | Find on Facebook | Follow on Twitter
  • My idea is as follows: We have several "user events": registration, logging in, logging out, maybe even more. A module could register to these events (just like the hook thing now), and when some of these events occur, the registered function is fired.
    Makes sense?
  • Jorg,

    See my comments in this thread for my thoughts on some account management hooks as a method to 'bridge' third party apps but are equally relevant here.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Ah! Sometimes I should have a look in the forums, even if the main subject is of no interest to me :mrgreen:

    May I ask how far you got right now?

    Jörg
  • Jorg,

    Early planning stages - although the concept seems sound. The main issue currently comes down to time. I need to spend some time writing a bridge module to a third party application to prove that the theory translates into practice. I don't want to include hook calls in the code that I haven't proved deliver on thier aims. Even though this wouldn't impact of operability of the product itself it does put into a place requirements for a support mechanism on some code that doesn't necessarily function as required.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Hi Mark,

    I definitely want to be involved with this to make sure that X-User will continue to work with the hook calls. If you need anything from me, please let me know.

    Co
  • Coho,

    Drop me an e-mail to markwest at postnuke dot com so I have a valid e-mail address. This is something i've been thinking on for about six months so the concepts are sound. If I do it right then there should be no impact on any third party at all. It will simply be an option that is available. I'd like to get these hook calls into PN .8 but as i've said elsewhere this is dependant on me having sufficient development time to 'port' an application as a test.

    I believe this will work and work well but need more than that to fufill my own personal requirements for a solution.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • OK - Will do.
  • This discussion is a bit above me, but I think it may help with a problem I have. Please let me know if it will.

    I have a couple of generic user accounts (one for students and one for parents) and I do not want them to do most of the functions in user.php (Add comments to their profile, change homepage, change password)

    I have set the permissions so they can not access user.php via the My Account menu item. I have also added a hack so they can not access their profile thru pnPHPBB2.

    It still defaults to user.php the first time they login on a new computer (I think this part is true .... (on a new computer").

    Is this a result of a first visit to the portal? ... from a new computer?

    What might I modify to prevent these 2 users (group name: ViewOnly) from accessing user.php?

    thanks in advance
  • It is often a problem to get a third party module to recognize a user registered at the site. examples are pnTresmailer and at least some of the forum modules.
    It would be convenient for some sites to have the first visit process register the user with one or more modules, as an option.
  • I could see how that'd be useful, but not very easy to do. It would require putting in code to check for all the modules that this is an issue for and running it. Though this, along with pnGroups & some other things I have in mind for pnGroups could tie together for a totally revamped user system. If I do get that ambitious, I'll do it like I did pnGroups where it doesn't change any existing data structures, but may add in fields.

    --
    Home Page | Find on Facebook | Follow on Twitter

Go to page [-1] 1 - 2 - 3:

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