display_signup_form

Discussion in 'Customization & add-ons' started by dbelrose, Sep 26, 2008.

  1. dbelrose

    dbelrose New Member

    Joined:
    Mar 21, 2008
    Messages:
    2
    Hi,

    I have a customer that needs a conditional multi page signup form depending on if they already are in another table. I have a plugin that already checks to see if they exist or not, but if they don't exist he wants to collect more information.

    I was looking through signup.php and I saw a reference to plugins_display_signup_form() which I tracked down to plugins.inc.php.

    This references $__hooks['display_signup_form']. What does this do? Is it an undocumented method in plugins? Is this consumable by plugins? What is it's purpose?

    Thanks!
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    By the sounds of it, it triggers when the signup form is displayed. Probably useful for pop overs, etc.

    One way to find out, create a quick plugin and just add that hook along with an echo statement :)
  3. dbelrose

    dbelrose New Member

    Joined:
    Mar 21, 2008
    Messages:
    2
    It doesn't seem to do anything, I'll have to dig deeper.

    I'll keep you informed. Thanks skippy.

Share This Page