1
Shine
How to: Showing users Avatar within userpage?
  • 2006/12/31 22:28

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Hm after trying several codes I cannot get it to work. Some handout and help would really be appreciated.
How can I show the user's avatar (if the specific user has one) within the userpage of the user?

Grtz., Shine

You'll find the module:
http://www.herve-thouzard.com/modules/news/article.php?storyid=143

2
Shine
Re: How to: Showing users Avatar within userpage?
  • 2007/1/1 22:44

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


I know it is quick, but oeps couldn't resist

^ bump-tie-up ^

3
Shine
Re: How to: Showing users Avatar within userpage?
  • 2007/1/3 8:11

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


^ bump ^

4
Shine
Re: How to: Showing users Avatar within userpage?
  • 2007/1/4 8:37

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


^ bump-bump ^
Is there really nobody who can/ or is willing to help out?

5
Shine
Re: How to: Showing users Avatar within userpage?
  • 2007/1/5 21:39

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


I wont give up on this and try again. So again ^
bump,bump,bumping it up again ^

Is there nobody who uses this module and wonders how to get this realised or would like to see the users avatar within specific userpage of the user who has created his/her userpage?
Common, I can hardly imagine that since this post has been read 221 times!

Grtz., Shine

6
Shine
Re: How to: Showing users Avatar within userpage?
  • 2007/1/6 23:46

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


^and up again^
Instead of three times, it's now four times a lady

7
Shine
Re: How to: Showing users Avatar within userpage?
  • 2007/1/15 11:16

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


^ 5x bump ^

8
Swain
Re: How to: Showing users Avatar within userpage?
  • 2007/1/15 17:49

  • Swain

  • Not too shy to talk

  • Posts: 198

  • Since: 2006/6/27


Have you tried posting on Herve's forums??? It may be that he could work it into the next version.

9
middleton
Re: How to: Showing users Avatar within userpage?
  • 2007/1/17 1:47

  • middleton

  • Just popping in

  • Posts: 30

  • Since: 2006/12/21


Try adding this to a template (html) file:

<{$xoops_avatar}>


Or, try adding this code somewhere in a php file:
$av_img ".XOOPS_UPLOAD_URL."/".$xoops_uname->getVar("user_avatar")."' alt='' />";

Then you can probably find someplace in the php file where it outputs the html. That's where you'd add the $av_img field.

Not much of a coder so I can't help you out too much. But I wouldn't want your question to go unaswered (don't get me started! )

10
Shine
Re: How to: Showing users Avatar within userpage?
  • 2007/1/17 8:45

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


If I should add it within the php file I shoudl somthing add with
$xoopsTpl->assign('user_avatarurl''uploads/'.$thisUser->getVar('user_avatar'));

How should I do this with your code above?
If I use mine the page gets blank. So something is wrong with my code.

Btw thanks for your help!

Login

Who's Online

191 user(s) are online (76 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

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

Latest GitHub Commits