We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24735
    • 33 Posts
    Hi Everyone!

    I am having some difficulty in viewing more information about a specific user from the [!WebLoginPE? &type=`users`!] view

    I see a nice list of my users, but anytime I click on any of the profile pictures, I keep getting a MODX Parse Error.

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’?service=viewprofile, ’64.119.133.18’)’ at line 1 »

    Any one have any clue why I am getting this, and or a way to get all the users listed and then have the ability to drill in further to see the users info. Any and all help will be greatly appreciated. Thanks!

      • 24735
      • 33 Posts
      or if anyone has a working directory of their users, can you paste your snippet call. That might be helpful for me. thanks!
        • 14779
        • 256 Posts
        I know this is an old topic, but thought it would be worthwhile to post in. smiley


        Here is my working Snippet call:

        [!WebLoginPE? &type=`users` &usersList=`WW4W Contacts:default:default:fullname:ASC:webgroup(contacts)` &viewProfileTpl=`MembersViewProfileTpl` &usersTpl=`MembersUserTpl` &usersOuterTpl=`MembersUserOuterTpl` !]


        I am using three custom templates, but you’ll get results without any specified.
        The
        &usersList=`WW4W Contacts:default:default:fullname:ASC:webgroup(contacts)`
        attribute is as follows:

        &usersList=`WW4W Contacts:default:default:fullname:ASC:webgroup(contacts)`
        Name of this list

        &usersList=`WW4W Contacts:default:default:fullname:ASC:webgroup(contacts)`
        Chunk names for Outer and Users list.(I specified these in my snippet call)

        &usersList=`WW4W Contacts:default:default:fullname:ASC:webgroup(contacts)`
        What field to sort on

        &usersList=`WW4W Contacts:default:default:fullname:[b]ASC[/b]:webgroup(contacts)`
        Sort in Ascending order

        &usersList=`WW4W Contacts:default:default:fullname:ASC:webgroup(contacts)`
        Filter this list showing only the specified group of web users

          PM me to find out how you can get a FREE ipad 2!
          • 1169
          • 312 Posts
          Hi redwolf

          &type=`users` will only allow you to see profile and send message

          &type=`manager` will allow editing of profile.

          I am busy working on problem with &type=`user`

          Check back for Verson 1.3.2 Beta in a few days

          Regards
          Allan
            DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31