Page 1 of 1

FrontEndUserListing Sortkey Duplicates

Posted: Thu Jun 08, 2006 9:52 pm
by pgoneill
Anyone else run into this problem?  If my sortkey has duplicates, it only shows one.

For example, we have a table of employees (users) and there are two sets of people with the same last name (and a property for last name) - let's say "Jack Smith" and "Greg Smith".  If I use...

{cms_module module=FrontEndUserListing group=groupname sortkey=lastname}

Jack Smith will show up and Greg Smith doesn't.  I've tested this numerous times and it's definitely something to do with sortkey.

We have a 15 groups and each group gets its own page - some people carry over from group to group, but will only appear on pages where there's no one else with the same value for "lastname".  If I change the sort order to default (userid), then they all appear.

Suggestions?

Re: FrontEndUserListing Sortkey Duplicates

Posted: Sat Jun 10, 2006 8:33 am
by tsw
Sounds very much like a bug, Ill take a look at it

Re: FrontEndUserListing Sortkey Duplicates

Posted: Tue Jun 13, 2006 3:23 pm
by pgoneill
Just curious - did you discover the culprit?

Re: FrontEndUserListing Sortkey Duplicates

Posted: Tue Jun 13, 2006 8:07 pm
by tsw
Actually yes, but did get around fixin it.

Its a design error.. Im adding a bug about it in the forge as I dont have time to dig deeper into it atm.

(have to do the work that pays the bills :/

Re: FrontEndUserListing Sortkey Duplicates

Posted: Tue Jun 13, 2006 10:24 pm
by pgoneill
Understand, of course.  Don't we all... :)

If I were a competent PHP programmer, I'd be glad to help in any way I could.  Thanks for taking note of the issue, though.

Re: FrontEndUserListing Sortkey Duplicates

Posted: Mon Jul 17, 2006 5:53 pm
by Dee

Re: FrontEndUserListing Sortkey Duplicates

Posted: Sun Jul 30, 2006 1:00 pm
by Darwin Web Design
Hello
I'm wondering if this new version will fix the ability to have more than one duplicate username.

I currently use FEUser 1.[2].05.  I have a list of members who have usernames (first 4 characters of their business name therefore not necessarily unique) and passwords (always unique).  Currently with the Front End User listing won't allow me to input a username which is already in the database - it comes up with a message in red text saying "user already listed" or similar message.

Will this new updated one let me input more than one user with the same name?
How do I update the module without wrecking anything?

Is it a matter of uninstalling the old one and just installing the new - and the existing data will appear in the new module?  Just need to check as I have over 200 members entered and would hate to re-type them all in.

If its too risky I may just use a different naming convention and not allow duplicate usernames somehow...

Thanks  ::)

Re: FrontEndUserListing Sortkey Duplicates

Posted: Sun Jul 30, 2006 3:46 pm
by calguy1000
Are you stating that feusers actually allowed you to create two users with the same username..... it shouldn't have done that.
Or are just the first four characters the same for different users, and there usernames are like "AAAAsomething" and "AAAAsomethingelse" ?

Re: FrontEndUserListing Sortkey Duplicates

Posted: Sun Jul 30, 2006 11:12 pm
by Darwin Web Design
No it's not allowing me to create two user names - but I want it to.

The first 4 letters are the first 4 letters of their business name, and some have the same first word - but their password differentiates them.  Eg Paul's Bookkeeping and Paula Cleaning Services - usernames would be 'paul' for each of those businesses but they would have different passwords (so yes, what you were saying about AAAAsomething etc is the scenario I have)

I tried looking on phpmyadmin to see if I could assign that table another value instead of "unique" but not sure how to go about it so wondering if this new module will allow the duplicates.  ???