We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13736
    • 345 Posts
    I think some image cropping and resizing would be nice for the avatar upload section. Perhaps even store the original at 300x300 in the back end for reference.

    I don’t know if something like this could be integrated somehow but in a more specific manner.
    http://www.ajaxprogrammer.com/?p=9

    Something like the way Google does it would be nice.


      • 8740
      • 36 Posts
      How about OpenID support? Since Yahoo is going to use it now and AIM does too now.
        • 32830
        • 21 Posts
        FEATURE REQUEST:

        customize the name of the login cookie.

        REASON:

        cookie by default is called "WebLoginPE"

        which is great if I’m the only person using WebLoginPE
        but as Modxcms becomes the world standard CMS of choice, and millions of sites start using WebLoginPE (if they don’t already) then the cookie for multiple sites is called WebLoginPE - will this cause a conflict - if the cookie for Retrogaming.info tries to login with the password for ratemyboobs.com which also uses webloginPE?? (Or am I missing something?)
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          No, they don’t use MODx.

          Anyway, cookies are keyed to the domain they are received from. So you can have a dozen cookies with the same name (in fact, you probably do).
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 8790
            • 526 Posts
            Hi ScottyD,


            A really needed feature suggestion :

            As far as I know, I can’t figure out how MODx handle a limited life time account (for Webuser) ..?

            I mean, does WLPE can create account with something like this:
            &duration=`8` (or &lifetime or whatever consistant)

            duration would be in ’days’ and ’0’ could mean endless account.


            May be this can be done otherway. If so, may be one can tell me how ?

            thank you
              Schtroumpf Grognon - Grouchy Smurf
              ---------------------------------
              Faites pas attention.. - Don't pay attention
              http://www.dzi-neo.net
              • 5529
              • 70 Posts
              Would like to see an official release with pagination. I know there are some unofficial mods on the forum but I’m uncomfortable adding them only to have them wiped out in the next release, especially if it doesn’t include pagination. It’s easy to see how this is useful especially for the users and manager pages with more than, say, 20 users. Thanks for everything so far!
                • 28033
                • 925 Posts
                Quote from: cmlawson at Jan 26, 2008, 05:38 PM

                Would like to see an official release with pagination. I know there are some unofficial mods on the forum but I’m uncomfortable adding them only to have them wiped out in the next release, especially if it doesn’t include pagination. It’s easy to see how this is useful especially for the users and manager pages with more than, say, 20 users. Thanks for everything so far!

                If Scotty did a 1.3.1 release w/ the bugfixes since 1.3.0, I’d imagine adding pagination wouldn’t be that difficult.

                We do need an update w/ the bugfixes included, though --- too many people have posted the same issues that were fixed a while ago, but were stuck in the 30-page topic in the Repistory topic, or in the Bug Fixes topic here.
                  My Snippets
                  -> PopUpChunk v1.0
                  • 28033
                  • 925 Posts
                  Scotty will likely remember the issues I had trying to find a way to get checkboxes to output something besides "on" or nothing at all. Well, I finally did it!  grin Use checkboxes just like Scotty explains in the documentation. Now, here’s the slight difference...

                  Normally, WLPE will return either on or a "blank" value. This hack I created takes advantage of it by having the filename named to something weird like png2 (that no program would ever use). Now, that’s gonna obviously give a 404 error, because it’s pointing to a file that doesn’t exist, and shouldn’t exist.

                  Before you do the next step, create an onoff.png (like a checkmark) and off.png (1x1 completely transparent) file --- you’ll need this later.

                  That’s where the magic of .htaccess comes into play. Add this to your .htaccess file in the root of where you installed MODx CMS...

                  Options +FollowSymlinks
                  RewriteEngine on
                  RewriteRule ^(.*)\.png2$ $1off.png [nc]


                  Note that the [r=301,nc] will not work (dunno why) --- but it’s not like Google’s gonna search for this. tongue

                  If you did everything correctly on.png2 will redirect to onoff.png, and the "blank" .png2 will redirect to off.png. It’s a somwhat crude hack, but it works w/out the user having to do anything.  wink

                  (For those who were wondering, getting to this point took almost four hours total...tested almost 20 different ways w/ failures before getting to this idea that worked. xd)
                    My Snippets
                    -> PopUpChunk v1.0
                    • 33033
                    • 43 Posts
                    Quote from: jbjones at Jan 07, 2008, 06:07 AM

                    http://openid.net/

                    If WebLoginPE could interface with OpenID or was compatible as a provider, that would be cool to.


                    Quote from: ellisgl at Jan 17, 2008, 03:08 PM

                    How about OpenID support? Since Yahoo is going to use it now and AIM does too now.
                    Definitely agree - OpenID would be great.
                      • 4172
                      • 5,888 Posts
                      Quote from: jbjones at Dec 19, 2007, 09:16 PM

                      I would like to see a new parameter added to WebLoginPE named &groupStatus or groupStatusChange or something along those lines.

                      
                      [!WebLoginPE? &type=`register` &groupStatus=`Cadets,New Applicants,Limited`!]
                      
                      



                      • When called with &type=`register` it would show checkboxes for each "optional" group that we let them be a part of.
                      • When used with &type=`user` it would show the specified groups and preload the checked or or empty status, allowing the user to add or remove themselves from a web user group.
                      • When used with &type=`manager` it would be nice to have an `*all*` group to show every available web user group for managers to add or remove a user from any group. Or just automatically include it into the manager interface with no switches.

                      It might also be handy to have a wildcard option where you could specify groups like `subscriber-*all*` which might then show a list of user groups that started with "subscriber-" ie. subscriber-technews, subscriber-electronics, subscriber-magazine , etc.



                      I did make some little modifications to webloginPE. Now I only have to put placeholders in the editprofil-form for the groups I want to edit and i have Radiobuttons with Yes and No for adding or deleting the user to a group. You do not need any additional parameters for this work. I can post my changes here if anybody is interested.

                      Here are my modifications:
                      In function SaveUserProfile($internalKey = ’’):

                      // von Bruno
                      $web_groups = $modx->getFullTableName(’web_groups’);
                      // Ende von Bruno


                      foreach ($_POST as $field => $value)
                      {

                      // von Bruno
                      if (strpos(’ ’.$field,’webgroup_’)>0){

                      if ($_POST[$field]<0){
                      $webgroup=$_POST[$field]*(-1);

                      $deleteFromGroups = $modx->db->query("DELETE FROM ".$web_groups." WHERE `webuser`=’".$internalKey."’ AND `webgroup`=’".$webgroup."’");
                      }
                      if ($_POST[$field]>0){
                      $webgroup=$_POST[$field];
                      $deleteFromGroups = $modx->db->query("DELETE FROM ".$web_groups." WHERE `webuser`=’".$internalKey."’ AND `webgroup`=’".$webgroup."’");
                      $groupCheck = $modx->db->query("SELECT * FROM ".$web_groups." WHERE `webuser`=’".$internalKey."’ AND `webgroup`=’".$webgroup."’");
                      $limit = $modx->db->getRecordCount($groupCheck);
                      if ($limit == 0)
                      {
                      $addtogroup = $modx->db->query("INSERT INTO ".$web_groups."(`webuser`, `webgroup`) VALUES (’".$internalKey."’, ’".$webgroup."’)");
                      }
                      }
                      }
                      // Ende von Bruno



                      in function ViewUserProfile($username,$inputHandler)


                      // von Bruno Perner input placeholders for editing webgroups.
                      $web_groups = $modx->getFullTableName(’web_groups’);
                      $webgroup_names = $modx->getFullTableName(’webgroup_names’);
                      $groupNames = $modx->db->query("SELECT * FROM ".$webgroup_names);
                      $usergroups = $modx->db->query("SELECT " .$webgroup_names.".id as id,name FROM ".$web_groups."," .$webgroup_names." WHERE ".$web_groups.".`webuser` = ’".$userID."’ AND ".$webgroup_names.".`id` = ".$web_groups.".`webgroup`");
                      $iG=0;
                      while ($row = $modx->db->getRow($usergroups)){
                      $allgroups[$iG] = $row[’name’];
                      $iG=$iG+1;
                      }
                      $iH=10000;
                      if ($groupNames){
                      while ($row = $modx->db->getRow($groupNames)){
                      $groupname = $row[’name’];
                      $groupid = $row[’id’];

                      $inputHandler[$iH] = $groupname.’:wlpeUserProfileWebgroup_’.$groupname.’:webgroup_’.$groupname.’:radio:Ja(’.$groupid.’),Nein(’.$groupid*(-1).’)’;
                      if (in_array($groupname, $allgroups)){
                      $viewUser[’webgroup_’.$groupname]=$groupid;
                      }else{
                      $viewUser[’webgroup_’.$groupname]=$groupid*(-1);
                      }
                      $iH=$iH+1;
                      }
                      }

                      // End von Bruno

                      foreach ($inputHandler as $value)


                      The Placeholder: [+form.webgroup_YourGroupName+]
                        -------------------------------

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!