FrontEndUserListing Sortkey Duplicates

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
pgoneill

FrontEndUserListing Sortkey Duplicates

Post 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?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: FrontEndUserListing Sortkey Duplicates

Post by tsw »

Sounds very much like a bug, Ill take a look at it
pgoneill

Re: FrontEndUserListing Sortkey Duplicates

Post by pgoneill »

Just curious - did you discover the culprit?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: FrontEndUserListing Sortkey Duplicates

Post 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 :/
pgoneill

Re: FrontEndUserListing Sortkey Duplicates

Post 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.
Last edited by pgoneill on Tue Jun 13, 2006 10:26 pm, edited 1 time in total.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: FrontEndUserListing Sortkey Duplicates

Post by Dee »

User avatar
Darwin Web Design
Forum Members
Forum Members
Posts: 212
Joined: Tue May 30, 2006 3:12 am

Re: FrontEndUserListing Sortkey Duplicates

Post 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  ::)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: FrontEndUserListing Sortkey Duplicates

Post 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" ?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Darwin Web Design
Forum Members
Forum Members
Posts: 212
Joined: Tue May 30, 2006 3:12 am

Re: FrontEndUserListing Sortkey Duplicates

Post 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.  ???
Last edited by Darwin Web Design on Sun Jul 30, 2006 11:14 pm, edited 1 time in total.
Locked

Return to “CMSMS Core”