Hi all.
I’ve created a page called Web User Manager with the following call:
[!WebLoginPE? &type=`user` &usersList=`webgroup(Registered Users):default:default:username:ASC:||usersList=`webgroup(Site Admins):default:default:username:ASC:` &usersTpl=`UserManager`!]
as well as a default call:
[!WebLoginPE? &type=`user`!]
But all I’m getting for both calls is an empty page.
And when I tried using this:
[!WebLoginPE? &type=`manager`!]
I get « PHP Parse Error »
PHP error debug
Error: Missing argument 4 for WebLoginPE::ViewAllUsers()
What am I doing wrong?
And also, my apologies if it seems as if I’m spamming this board with more posts but it is a different problem that I’m encountering this time and if need be, just delete this post and I’ll merge it with my other post.
Thanks.
Still having problems with this, I get an error caling user or manager. ([!WebLoginPE? &type=`manager`!])
My profile, register pages work well, just unable to get user list to work.
Can anyone show me an example of how you make your manager/user call?
As in:
1) Where and how the call is made
2) The user/manager page - what it contains
Thanks
Heyas, aye.. I just tried putting it on a blank page, with no template just using [!WebLoginPE? &type=`manager`!] and it returned a parse error.
Shown below:
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Missing argument 4 for WebLoginPE::ViewAllUsers(), called in /home/xxx/public_html/modx/manager/includes/document.parser.class.inc.php(770) : eval()’d code on line 261 and defined
Error type/ Nr.: Warning - 2
File: /home/xxx/public_html/modx/assets/snippets/webloginpe/webloginpe.class.php
Line: 1038
Line 1038 source: function ViewAllUsers($userTemplate, $outerTemplate, $listUsers, $instance)
And no, I’ve not changed the php files.
I would upload the entire snippet again, being sure to include all the files including the Default Forms folder. I suspect that you’re missing a file.