Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
stella CreditAttribution: stella commentedThanks 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
Comment #2
r00tk1ll CreditAttribution: r00tk1ll commentedWell 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?
Comment #3
stella CreditAttribution: stella commentedLooks 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
Comment #4
r00tk1ll CreditAttribution: r00tk1ll commentedI 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
Comment #5
stella CreditAttribution: stella commentedFrom 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
Comment #6
r00tk1ll CreditAttribution: r00tk1ll commentedYou were exactly right it was the js file, anyways great fix and great module! Keep up the good work.
Comment #7
stella CreditAttribution: stella commentedReleased in Avatar Selection 5.x-2.3.
Cheers,
Stella
Comment #8
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
JJacobsson CreditAttribution: JJacobsson commentedThis 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?
Comment #10
stella CreditAttribution: stella commentedOriginal issue is fixed, performance issue is in #205926
Comment #11
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.