We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29181
    • 480 Posts
    Has anyone had to integrate search for user functionality in conjunction with WebLoginPE as yet?

    I would be very interested as to how you went about it.

    Thanks, Taff
      Adrian Lawley: www.adrianlawley.com
      • 23383
      • 138 Posts
      I’ve made a snippet integrating datagrid class :
      In the first part of the snippet, I just output a search form and in the second part I’ve made a custom sql query. The columns returned by the query have a link on them to see the user profile/manage the user profile. I’m then passing the columns to the datagrid class to have a nice output.
      It’s a little dirty but it works wink
        • 29181
        • 480 Posts
        Pikachu,
        thanks for the reply, sounds interesting

        I don’t mind dirty if it works!

        Are you using a custom table from webloginpe?

        How have you built the search form? Are you using a separate one or the AjaX_search?

        Fancy sharing the SQL query with a mysql virgin?

        Thanks again, for any depth you can go into.

          Adrian Lawley: www.adrianlawley.com
          • 23383
          • 138 Posts
          I’m using a custom table, and searching into it. My search field is just a form with a <input type="text" /> inside wink
          I haven’t done a good snippet for it (my fields are hardcoded), but I can if you want.

          EDIT : I’m doing it for you wink
          EDIT 2 : Done a alpha version for you, I’ll post it here or by pm, as you wish.
            • 23383
            • 138 Posts
            Here is a first version.
            If you want a ajax one, it’s not hard, I can do it if you want.
              • 29181
              • 480 Posts
              Great thanks!

              That will be fine, just to get a basic idea of how you accomplished such a feat. I’m sure other will need something similar.

              Cheers,
              Taff
                Adrian Lawley: www.adrianlawley.com
                • 23383
                • 138 Posts
                I think the snippet needs changes for exemple for the ’where’ stuff, but for the moment I’m a little busy, sorry. If you need it, I can take a little time to do it.
                  • 29181
                  • 480 Posts
                  I noticed that, but you have documented the code very well, so even I can make changes as needed.

                  Thanks again for your help with this Pikachu.

                  Taff
                    Adrian Lawley: www.adrianlawley.com