We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4749
    • 623 Posts
    I would like to create accounts for users and allow their profile page to be visible by the public, but only editable by that specific user. Essentially, we want our client’s customers to have their own page that tells about their business with a link to their own site. So, all of the registered users - created by the admin - would have their "profiles/pages" visible to all who visit the site. Can I use WebLoginPE to handle this?
      The MODx has you...
      Utah Web Design
      • 28033
      • 925 Posts
      If I understand what you’re saying, then yes. That’s the default operation in WLPE (allows user to edit profile, but lets everyone else see other people’s profiles).
        My Snippets
        -> PopUpChunk v1.0
        • 4749
        • 623 Posts
        Yes. I’ve got that all sorted out, but I’m looking to create a single page site for the user. I’m pretty sure I’ve got the right idea now. I’m gonna try something and I’ll post back the results. Thanks.
          The MODx has you...
          Utah Web Design
          • 12684
          • 118 Posts
          Any reports?
            • 4749
            • 623 Posts
            Oh, didn’t post back the results. Sorry. smiley

            We didn’t end up using WLPE to achieve this. In fact, we scrapped the idea altogether. The client changed their mind mid-stream and we never finished it. But, what we were planning on doing was using the profile templates available through WPLE to customize it for our purpose then use the placeholders to create a directory (built by Ditto) where people could search and then link to the profile pages created by WPLE. The idea is sound I think and we accomplished it in early tests.

            Sorry I don’t have any real results to post back. Good luck. embarrassed
              The MODx has you...
              Utah Web Design
              • 12684
              • 118 Posts
              I would love to know how you were going to set up the directory. That is what I am doing now. I am setting up WLPE so vendors can sign up and list themselves, but I have not figured out how to set up the search feature. Any info would be greatly appreciated.
                • 4749
                • 623 Posts
                Well, we were just using the wlpe placeholders and creating a ditto template, IIRC. Then we were going to use a little sorting JS to make the table sortable. The table then had a link to the profile page of each listed profile.

                I hope that’s what you wanted to know.
                  The MODx has you...
                  Utah Web Design
                  • 12684
                  • 118 Posts
                  Yes, that does help. Really it is what I am in the process of doing now. However, being new to ModX I am trying to figure out how to make my own placeholders just like the Country one. I need to insert all the States and also a profession category. There are so many options between those 2 that using the custom call would take for ever.
                    • 4749
                    • 623 Posts
                    Well, I know WLPE has custom placeholders and as long as you’re using the right syntax your ditto call should be able to call them easy enough. But, maybe I’m not understanding what you’re trying to say when you’re talking about "those 2 custom calls taking forever."
                      The MODx has you...
                      Utah Web Design
                      • 12684
                      • 118 Posts
                      There are 2 main default Form Placeholders in WLPE now. We know them as [+form.country+] and [+form.gender+]. They pull their information from the countryCodes.php

                      I need a [+form.state+] and a [+form.category+] one, and I need to be able to add the 60+ options somewhere. But first I guess I need to make these 2 placeholders work somehow and that is where I am stuck.

                      I realize I could use the &inputHandler and &customFields parameters as listed below...

                      [!WebLoginPE? &customFields=`website,aim,msn,address1,city,favorite_color,demographic,emailprivate,aimprivate,msnprivate` &inputHandler=`Favorite Colors:userProfileFavoriteColor:favorite_color:select multiple:Red(red),Blue(blue),Green(green),Black(black),Orange(orange),Yellow(yellow)||Age Group:userDemographic:demographic:radio:Less than 13(1),14 - 18(2),19 - 30(3),31 - 40(4),41-50(5),51-65(6),65 or older(7)||Keep my email private:userProfileEmailPrivate:emailprivate:checkbox:()||Keep my AIM account private:userProfileAIMPrivate:aimprivate:checkbox:()||Keep my MSN account private:userProfileMSNPrivate:msnprivate:checkbox:()`!]


                      However doing this with 60+ options would take me forever to do and be very messy.

                      So how do I make my own placeholder so it will work as the Country and Gender one does.