Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Member's avatar location

Hi,

I would like to retrieve member's avatar url from database to display in game session. Which table and column name I need to query to retrieve it?

Thanks!

Comments

  • TamaTama ✭✭✭
    edited September 2013

    tableGDN_User , column Photo

    an example value would be userpics/971/NZKO4LQDRUKS.png

    file structure wise this would be /pathtovanillainstall/uploads/userpics/971/NZKO4LQDRUKS.png

    There was an error rendering this rich post.

  • @Tama said:
    tableGDN_User , column Photo

    an example value would be userpics/971/NZKO4LQDRUKS.png

    file structure wise this would be /pathtovanillainstall/uploads/userpics/971/NZKO4LQDRUKS.png

    Thanks for quick reply. That will do. I'll try to get the poker game demo using Vanilla forum authentication and avatar in game display when I get it done.

  • @LuckyRiver : You should take a look at function UserPhoto You will not find what you're looking for when you are using Gravatar plugin

  • edited September 2013

    @R_J said:
    LuckyRiver : You should take a look at function UserPhoto You will not find what you're looking for when you are using Gravatar plugin

    Thanks for bringing up the gravatar issue. Where I can download the Gravatar plugin for testing. Actually, I've already have working custom code to handle gravatar which I did with IPB and Xenforo, as long as I know what's the user email, it will be enough.

    Here is a screen shot of what it will be likely when the vanilla authentication and the avatar/gravatar display are added.

    Site demo is also up and running for testing purposes but uses Xenforo authentication. I'll add Vanilla link when this gets done.

    Game credits goes to Cubeia team: http://www.cubeia.com/

Sign In or Register to comment.