ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Member registering and Flash form

June 26, 2008 10:42am

Subscribe [2]
  • #1 / Jun 26, 2008 10:42am

    evasion

    58 posts

    I’m currently working on some website which will use a flash form to register members. I want to use the Member module to register new members.

    I’m really stuck on how to do that ! Templating isn’t really a problem, but dealing with error message and form validation seems complicated.

    Does someone has some advice on how to start ? Shall I use some custom code to register members instead of using EE’s module ?

    Thanks in advance for your support !

  • #2 / Apr 21, 2009 10:06am

    Jolle

    38 posts

    I have the very same question, but since no one has responded to the ‘how’, for starters I’d love to know IF it is even possible to integrate registering and logging in to an EE installation from Flash. Anyone ever had any success with this to begin with? I’ve searched the knowledge base, the wiki, the forums, the rest of the internet and absolutely nothing is mentioned anywhere. Seems like the EE+Flash combination stops at XML templates.

  • #3 / Apr 21, 2009 10:33am

    evasion

    58 posts

    Hi Jolle,

    I’ve finally found a solution on how to register member using EE and flash.

    It’s not the perfect solution, but it may do the trick. Here are some advice :

    - You may communicate between flash and PHP with AMFPHP : http://amfphp.org/

    - I’ve found no way to directly use built-in member registration, so I’ve coded my own module using EE classes. Most part of the module is directly copy/paste from the Member Module.

    - I’ve modified EE files to add some custom trigger. Ie: when you reach http://site.com/register/check_email, it will load check_email function of the register class.

    - Each function output some date like :

    echo "&valid=false&error=Email unaivailable";

    - Use flash to display information, then communicate again until it validate.

    Hope this may help !

    Cheers 😊

  • #4 / Apr 21, 2009 11:18am

    Jolle

    38 posts

    Hi Evasion,

    Thanks so much for your reply, good to see you found a working solution. I’m not much of a PHP programmer but your method may just be feasable for me. Certainly worth looking into!

    Still do wish there was a bit more native EE support for this, I know many developers hate Flash out of SEO and accessibility reasons, but for entertainment experience focused websites it does have a legitimate place on the web. The combination of Flash with EE’s powerful package of native and third party modules would certainly do well with plenty of Flash developers and clients alike so it would be nice to see a more proactive stance from Ellis Labs, starting with adding info to the Docs and Knowledge base. I guess I’ll write them directly to see if this is an option.

    Thanks again,
    Jolle

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases