1
tsbmusic
How can I get avatar by uid?
  • 2010/5/18 18:19

  • tsbmusic

  • Just popping in

  • Posts: 22

  • Since: 2010/4/12


Hi guys,

I have one question:

How can I get the Useravatar by uid?

tsbmusic

2
ghia
Re: How can I get avatar by uid?
  • 2010/5/18 18:45

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


See this and related topics.

3
tsbmusic
Re: How can I get avatar by uid?
  • 2010/5/18 18:52

  • tsbmusic

  • Just popping in

  • Posts: 22

  • Since: 2010/4/12


Thanks, but I want to include it in my module for blogs. I want to include that in the query.

Here is the code:

while($row $GLOBALS['xoopsDB']->fetchArray($res)){
        
$blog_id $row['id'];
        
$blog[$q]['id'] = $blog_id;
        
$blog[$q]['poster_id'] = $row['uid'];
        
$blog[$q]['title'] = htmlSpecialChars($row['blog_title']);
        
$blog[$q]['text'] = $myts->displayTarea($row['blog_text'], 1);
        
$q++;
    }


4
tsbmusic
Re: How can I get avatar by uid?
  • 2010/5/18 19:35

  • tsbmusic

  • Just popping in

  • Posts: 22

  • Since: 2010/4/12


I have fixed the problem myself with the memberhandler.

Thanks for your help.

tsbmusic

Login

Who's Online

330 user(s) are online (246 user(s) are browsing Support Forums)


Members: 0


Guests: 330


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits