Keyword

K2 users view extension

More
14 years 6 months ago #77354 by Arturo Guzman
Replied by Arturo Guzman on topic K2 users view extension
Great work, thanks for this.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #77355 by Arturo Guzman
Replied by Arturo Guzman on topic K2 users view extension
Just found out a typo in Line 43 of components/com_k2/templates/default/users.php

Should be $this->params->get('userImageWidth'); instead of $this->params->get('usersImageWidth');

an extra 's'.

Please Log in or Create an account to join the conversation.

More
14 years 4 months ago #77356 by Dale Mills
Replied by Dale Mills on topic K2 users view extension
Hello Olivier,

Thanks very much for this great extension! I just have a question for you: is there anyway to recreate the "Members" page and the "Groups" page here on the K2 Community site? That is really what I am looking for! Any help on where to start (other than your great extension) would be greatly appreciated.

Thanks!

Please Log in or Create an account to join the conversation.

  • Christian Krassnitzer
  • Christian Krassnitzer's Avatar
  • Offline
  • New Member
More
14 years 4 months ago #77357 by Christian Krassnitzer
Replied by Christian Krassnitzer on topic K2 users view extension
perfect!!! thank you!!!

Please Log in or Create an account to join the conversation.

  • Jiliko.net
  • Jiliko.net's Avatar Topic Author
  • Offline
  • Platinum Member
More
13 years 8 months ago #77358 by Jiliko.net
Replied by Jiliko.net on topic K2 users view extension
Hi Vincenzo,

 

Yes it's compatible with v2.4.1 as it just adds new files.

 

Olivier

Please Log in or Create an account to join the conversation.

  • Christian Krassnitzer
  • Christian Krassnitzer's Avatar
  • Offline
  • New Member
More
13 years 7 months ago #77359 by Christian Krassnitzer
Replied by Christian Krassnitzer on topic K2 users view extension
yes!!!

 

my new site runs on the latest k2:

www.fahrradprofi.at/kontakt/registrierte-benutzer

 

vincenzo said:

Hi,

 

Is this extension compatible with the last version of K2?

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #77360 by Next Wave, Inc.
Replied by Next Wave, Inc. on topic K2 users view extension
This is very nice work.  Thanks, Olivier.

Any chance we can evolve this thing to where we can sort by last name?

 

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #77361 by Simon Olsen
Replied by Simon Olsen on topic K2 users view extension
I want to do this as well. But sorting by last name is tough, as the fields in the K2 user are Name (as in Full Name) and username, same as the Joomla user. You'd need to have a First Name and Last Name field for each user, and that would require changes to both the K2 and the Joomla User records. Bleugh!

I've had the idea of making the Username the surname, or at least begin with the surname (ie John Smith has a username of smith, smithj or smith.john) and sorting by Username.

Oliver: How can I amend the code to give me the option to sort by username?

I'm going to try and work this out myself, so if I do, I'll post my findings here as usual.

Ken Lyle said:

This is very nice work.  Thanks, Olivier.

Any chance we can evolve this thing to where we can sort by last name?

 

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #77362 by Simon Olsen
Replied by Simon Olsen on topic K2 users view extension
Ok, so I managed to add an option to Users View: Sort by Username Alphabetically

I've created and attached a zip file of Users View to upload in the same fashion as before: drag the contents of the zip to your root folder via an FTP client (WinSCP, Filezilla, Cyberduck etc).

THEN, provided your usernames are the surname, or at least BEGIN with the surname, you can sort by Username and the users will display alphabetically by username/surname when you click the Menu Item.

I know this isn't perfect, especially if you have multiple established authors who log in all the time, and the username isn't in a surname format, but this is the best I can do with my knowledge of Joomla and K2 for now.

Oliver, please feel free to add this to your release, if you think it's a worthwhile addition.
Attachments:

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #77363 by Simon Olsen
Replied by Simon Olsen on topic K2 users view extension
I've got one last issue I'm trying to resolve. The Users View menu item shows Users alphabetically by username fine, but when I click on the ALPHABET above, say I click S, it still displays users based on the first letter of their Full Name, their FIRST name, not the first letter of their Username, which I have made their surname.

I'm looking to find how to make the Alphabet above links to the Users based on the first letter of the Username, not the Full Name.

Oliver, any help from you would be greatly appreciated. Otherwise, I'll post my finding.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum