I have the avatar selection module enabled and set to allow users to choose their avatar while registering for an account. Now I have about 5 pages of avatars and when you click next page it completely refreshes the content and looses all the data entered into the forms. So after a user enters a username and password then choose an avatar on another page they have to re-enter in the data. This is really annoying, how do I stop this?

Thanks

Comments

stella’s picture

Assigned: Unassigned » stella
Status: Active » Fixed

Thanks for reporting this one. I'm surprised no one ran into this issue before!

Anyway, it has been fixed and the changes checked into CVS. If you want to try it out, use the latest dev version (30th Nov) of the module. It's stable and once people have had a chance to test this change and confirm that it all works as expected, I'll make a full release - hopefully some time next week.

Cheers,
Stella

r00tk1ll’s picture

Well I installed the 30 NOV module from cvs and it appears that the multiple page functionality is gone and all the avatars are just listed on one long page? Was this you intention or am I missing something?

stella’s picture

Looks like there was a problem with the 5.x dev release (made on wrong branch). I've fixed this now and a new dev release should be available within the next 12 hours. Sorry about that.

The javascript file did change, so please clear your cache before retesting.

Cheers,
Stella

r00tk1ll’s picture

I have installed the Dec-07 release & cleared my cache and it appears to still list all avatars instead of displaying the page navigation buttons. You can see what I'm talking about on my site, www.beyondthebit.com

stella’s picture

From looking at your site, you are still using the old javascript file (avatar_selection/js/avatar_selection.js). Perhaps you didn't replace this file during the upgrade. The third line of this file should say "// set up the ajax pager" and the one used by your website doesn't. I've double-checked the dev release tarball and the correct version of the file is there. You should probably recheck your installation.

Cheers,
Stella

r00tk1ll’s picture

You were exactly right it was the js file, anyways great fix and great module! Keep up the good work.

stella’s picture

Released in Avatar Selection 5.x-2.3.

Cheers,
Stella

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

JJacobsson’s picture

Status: Closed (fixed) » Active

This JavaScript will totally kill performance on any avatar listing page if you have many avatars (I have 3735 and it sure breaks that pretty bad). Maybe avatar selection for registration should be on it's own page instead?

stella’s picture

Status: Active » Fixed

Original issue is fixed, performance issue is in #205926

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.