e107help.org Q&A
0 like 0 dislike

I'm building a plugin for Awards - I need help with the e_user.php - I can get it to display an award, but not all awards - for example, a user was given two awards, but only one shows up.

 

https://gist.github.com/LaocheXe/163fee7f2fbc04857cf2164e4aaad408

 

Now that Gist is the code that I have - now in the user profile it only shows one image - if I add echo $imageCode - at top of the page shows both awards - any idea how I could get it to display more than one image?

e107 version e107 2.1.7
closed
in Plugins by (459 points) 17 37 50

1 Answer

0 like 0 dislike
Best answer
I was missing a .= for $imageCode .= thecode

 

Thanks to CaMer0n for pointing that out for me!
by (459 points) 17 37 50
996 questions
1,389 answers
2,527 comments
2,512 users