We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31037
    • 358 Posts
    @plavet,

    To get the register form in main content, create a new document and add a wlpe call in the main content on that page to this:

    [!WebLoginPE? &type=`register`!]

    Then, in your wlpe snippet call for the side bar, add the &regHomeId parameter which will forward the user to the register page you just created:

    [!WebLoginPE? &regHomeId=`document id of the register page you created`!]

    @anyone who can: Wlpe *really* needs its own subforum tongue
      • 23491 ☆ A M B ☆
      • 1,056 Posts
      Quote from: Soshite at Sep 13, 2007, 03:38 PM

      I noticed an bug while just installing 1.3.0 (haven’t converted from PPP to WLPE yet). Seems [+user.lastlogin+] isn’t parsing at all. This was working in 1.1.1, IIRC.

      Total # of Logins works like it should, however.


      OK, here’s the fix:

      http://modxcms.com/forums/index.php/topic,18271.msg115384.html#msg115384
        Mike Reid - www.pixelchutes.com
        MODx Ambassador / Contributor
        [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
        ________________________________
        Where every pixel matters.
        • 28033
        • 925 Posts
        Gah. How do you make a direct link to someone’s WLPE profile, without having to go through the Users List?

        In my site, I have a "Welcome back, USERNAME". link. I need to convert this over from how PPP did it to WLPE.
          My Snippets
          -> PopUpChunk v1.0
          • 23491 ☆ A M B ☆
          • 1,056 Posts
          In the snippet, starting @ line # 304:

          			case 'deleteprofilesimple':
          				if (in_array('deleteprofile', $disableServices)){return;}
          				return $displayProfileDeleteTpl;
          				break;
          


          Should this be:

          			case 'deleteprofilesimple':
          				if (in_array('deleteprofilesimple', $disableServices)){return;} // NOTE: added simple to in_array check
          				return $displayProfileDeleteTpl;
          				break;
          


          ???


          Or, could it even be:

          			case 'deleteprofilesimple':
          				if (in_array($service, $disableServices)){return;} // NOTE: Using the $service variable 
          				return $displayProfileDeleteTpl;
          				break;
          


          Sample w/ lines 309-310:

                      case 'confirmdeleteprofilesimple':
                          if (in_array('confirmdeleteprofile', $disableServices)){return;} // <-- Why not confirmdeleteprofilesimple?
          


          would it be:
                      case 'confirmdeleteprofilesimple':
                          if (in_array($service, $disableServices)){return;}
          


          Not sure if it makes a difference, just an observation looking for confirmation. I’m not totally sure...
            Mike Reid - www.pixelchutes.com
            MODx Ambassador / Contributor
            [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
            ________________________________
            Where every pixel matters.
            • 28033
            • 925 Posts
            If someone has MODx setup where their URL’s have both of the "Friendly URL" settings active, they will get something like this...

            /mysymphonic/mysymphonic/user.......

            All it requires is adding / in front of the [~[*id*]~]. This was also an issue in PPP for me. I haven’t been able to check if 1.3.0 made a variable to fix this automatically or not, though.
              My Snippets
              -> PopUpChunk v1.0
              • 22303 MODX Staff
              • 10,725 Posts
              When using friendly alias paths, you must have a base href in your HEAD with the site URL to avoid this issue. Adding a / in front simply makes the path absolute to the web root, and thus, not portable.
                • 28033
                • 925 Posts
                Quote from: OpenGeek at Sep 13, 2007, 04:54 PM

                When using friendly alias paths, you must have a base href in your HEAD with the site URL to avoid this issue. Adding a / in front simply makes the path absolute to the web root, and thus, not portable.

                So since this is in a "folder" called /mysymphonic, I would need to make a template just for it, and put in the base href?
                  My Snippets
                  -> PopUpChunk v1.0
                  • 23491 ☆ A M B ☆
                  • 1,056 Posts
                  Quote from: Soshite at Sep 13, 2007, 05:13 PM

                  So since this is in a "folder" called /mysymphonic, I would need to make a template just for it, and put in the base href?

                  Simply place the following in the <HEAD> section of your Template:

                      <base href="[(site_url)]"/>
                  
                    Mike Reid - www.pixelchutes.com
                    MODx Ambassador / Contributor
                    [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                    ________________________________
                    Where every pixel matters.
                    • 28033
                    • 925 Posts
                    Hmm...a quick question about custom fields.

                    Since I’m using a custom table, if I let WLPE know that (via the parameter for it), when I make a new field that doesn’t exist right now in &customfields, like the emailprivate, I assume that WLPE will create that field and populate it? Or do I have to create the field myself? PPP made you create the fields before you could populate them.

                    (Sorry for all of the questions lately...this script is a LOT more complex than PPP was.)
                      My Snippets
                      -> PopUpChunk v1.0
                      • 23491 ☆ A M B ☆
                      • 1,056 Posts
                      Quote from: Soshite at Sep 13, 2007, 05:34 PM

                      Hmm...a quick question about custom fields.

                      Since I’m using a custom table, if I let WLPE know that (via the parameter for it), when I make a new field that doesn’t exist right now in &customfields, like the emailprivate, I assume that WLPE will create that field and populate it? Or do I have to create the field myself? PPP made you create the fields before you could populate them.

                      (Sorry for all of the questions lately...this script is a LOT more complex than PPP was.)

                      Pretty sure it makes the field for you...
                        Mike Reid - www.pixelchutes.com
                        MODx Ambassador / Contributor
                        [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                        ________________________________
                        Where every pixel matters.