We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12684
    • 118 Posts
    I have been spending a lot of time with WLPE, and due to my needs for a serious directory and expanded profile pages, I am working to take this abandoned snippet and make it the snippet it deserves to be.

    *I have added all of the 50 United States and will be adding the many cities as well. I would like to have a tutorial on how to add Placeholders to the snippet and the tables so others can expand it to what they need. Or perhaps get a popular request from everyone on all the possible things it should have.

    *I have added a category section that will help a directory filter the different categories a business can fall under.

    *As above, I have added more things such as a description so members can add a long description about themselves, or a business can add info as well. Like I mentioned above a simple tutorial will show how to add more important fields. You will need access and to be comfortable with phpMyAdmin.

    *I have worked out how to add these extra fields into the backend manager section so the admin can make changes from with in the manager and be able to change these extra fields.

    *** I have figured out how to be able to allow members more images and photos. With a tutorial I can show others how to add how ever many photos they want their members to have. Or better we could set it up for lets say 15 images but be able to set the limit in the manager section (This I have no idea how to do).

    However,
    Even though I have made it this far, I want to make it clear that I am no php expert by any means. I am making my way by examining the code and copying and pasting and making adjustments as needed.

    I am looking for others who are familiar with WLPE and good with php so we can evolve this snippet into something more. I still firmly believe that this snippet is among the most important snippets for modX, however it was abandoned in a poor state compared to the other very important snippets available. This snippet could allow for directory sites to be built and furthermore it could lead to a social network snippet with tons of capabilities. I have started this change and I am doing well, but I need some one to help me make it follow through.

    If you are interested in helping please speak up.

    If you think you have some ideas for the snippet that should be included, please speak up.

    Lets not let WLPE die off.



      • 36571
      • 145 Posts
      Hey IG88,

      Your changes sound really good. Are they incorporated into the 1.3.1 version that is being put together by Soshite? If so, are they on the version

      If not, then I think it would be AWESOME if your features could be incorporated before the final release version.

      This would avoid the project forking needlessly into several different versions, which at the end of the day is detrimental to eveyone.
        • 28033
        • 925 Posts
        Feel free to use my list of bug fixes I wrote down. It has the ones I fixed, as well as some I didn’t have the knowledge to be able to fix.

        IMHO, it might be a good idea to have this be the "proper" 1.4.0 released, depending on how long it takes to introduce these changes.

        I would help, but I don’t have the knowledge of PHP to add stuff to it (although I can add bugfixes and make some minor PHP changes). I’m also up for betatesting at my website. wink

        EDIT: One thing that’s *really* needed is a way to create filters on the fly. Right now, doing this requires tons of pages, and isn’t very admin-friendly. Anyway this could be introduced?
          My Snippets
          -> PopUpChunk v1.0
          • 12684
          • 118 Posts
          Thank you soshite.

          However this forums seems to be very lacking regarding help. I know there are tons of experts around here that could easily help push this, but I get a very negative feeling toward it. Very discouraging.

          I will refer to image situation here...

          http://modxcms.com/forums/index.php/topic,27318.0.html
            • 4749
            • 623 Posts
            This would be fantastic! I think WLPE could be a fabulous tool if it had a few more capabilities. Scotty did an awesome job to begin with, but during my use of it I’ve found it to have some limitations. I wish I were a developer so I could help out. Good luck and I look forward to seeing some updates!
              The MODx has you...
              Utah Web Design
              • 19132
              • 199 Posts
              I’ll help with testing this since I really need WLPE for CRM functionality.
                MySQL: 5.0.45
                PHP: 5.2.6
                Linux 2.6.9-023stab048.6-enterprise #1
                cURL enabled
                PDO enabled
                FFox Apple 3.6.8
                Firebug DIS-abled
                • 28033
                • 925 Posts
                IG88, I dunno if you might have fixed this already, but there’s an annoying bug in 1.3.0 (and hasn’t been fixed in 1.3.1) where if you have the stuff like checkboxes outside of the WLPE account editor page, when you save the data, it’ll blank out fields unless you include them as hidden fields (check my website while logged in to see what I mean).
                  My Snippets
                  -> PopUpChunk v1.0
                  • 12684
                  • 118 Posts
                  Well I am not using checkboxes, but I may have experienced what you are talking about. correct me if I am not on the same page, but I have a problem with when a member registers and makes all of their choices then the account is saved, but if they go into their profile edit page, then some of the options are not remembered and they have to always make sure the info is either filled back in or chosen again from the drop down. Otherwise they will save and that info will be removed.

                  I know that I read in the WLPE documents that the placeholders must be there. Using hidden fields should work, but it is damn annoying. The database should remember this info and there should be no problem in calling it out.

                  Is this what you mean?
                    • 28033
                    • 925 Posts
                    Not quite. I have checkboxes for adding games to a wishlist/collection. I have to include the "defaults", else those pieces of data get wiped from the users account (avatar, signature, birthdate, etc.). This happens with registered users.

                    Only thing I can’t get to work by adding the values in is the birthdate, for some odd reason...
                      My Snippets
                      -> PopUpChunk v1.0
                      • 12684
                      • 118 Posts
                      Ok well that is sort of what I meant, but I think the problem I was explaining was a little different.

                      If you set up a page for making changes to a members account, you must include every placeholder , even if you hide it. Otherwise the information will be removed?