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
asked in Plugins by (438 points) 9 39 49

1 Answer

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

 

Thanks to CaMer0n for pointing that out for me!
answered by (438 points) 9 39 49
Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
747 questions
1,157 answers
1,968 comments
1,242 users