Closed (fixed)
Project:
Author Pane
Version:
6.x-2.0-rc1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2010 at 00:05 UTC
Updated:
30 Sep 2010 at 13:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
myfarmertan commentedI too am having this problem, I'd be happy to provide any info that may help troubleshoot this problem.
To start I've had this same problem using both 6.x-1.5 and 6.x-1.x-dev of user badges. I'd have to assume the problem lays with Author Pane and how it's retrieving the badges.
Comment #2
Democron commentedSame problem with 6.x-1.5
Comment #3
magnus commentedAfter I upgraded to Author Pane 2.x I got the same problem. If I copy the old user_badges.author-pane.inc from 1.x then it works again, so I guess it has something to do with the caching that is introduced in Author Pane 2.x.
The badges shows up for some people, and for others it just shows a random character even though the person only shows up once in a thread.
I tried to turn of caching, without any result.
Comment #4
andrej11235 commentedI had exactly the same problem with Author Pane 6.x-2.0-rc1, User Badges 6.x-1.5 and Advanced Forum 6.x-2.0-alpha2
Temporary solution: downgrade author pane to Author Pane 6.x-2.0-alpha2
Comment #5
jaypanSame problem here.
Comment #6
jaypanFound it. In the file:
author_page/modules/user_badges.author-pane.inc on line 30, this:
$cached_user_badges = $variables['user_badges'];Should be this:
$cached_user_badges[$account_id] = $variables['user_badges'];Make that change and the badges appear properly.
Comment #7
jaypanComment #8
magnus commentedThanks Jay, your suggested change works great. I made a patch for this simple change.
Comment #9
michelleWhoops! Thanks for finding that. That's the trouble with having untested integrations... Easy to miss typos. :(
Committed, thanks!
Michelle
Comment #10
michelleSorry, G-son. I was committing his fix while you were making the patch. :)
Michelle
Comment #11
jaypanGlad you both got it sorted out :D
If it had been a longer fix, I would have made a patch, but it was only one line.
Comment #12
michelleYeah, I'm not picky about patches for small stuff like this. It's just as easy to fix as it is to get a patch and apply it. :)
Thanks both of you.
Michelle