1
indream
2.0.10 avatar bug !
  • 2005/5/3 15:19

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


hi

i'm upgrade my XOOPS 2.9.2 to 2.0.10 stable

and users can not select avatar in avatar gallery !

selected and updated messages ok
but no show selected avatar !

and when user upload a special avatar this work
but when change this special avatar change option not work :(

my chmods is ok.

how try this.

please visit : http://www.zindan.net

and login user: xoops
login password: xoops

http://www.zindan.net/user.php
http://www.zindan.net/edituser.php?op=avatarform

please login and try select avatar or upload avatar and change...

where is a problem ?


thanks.

2
indream
Re: 2.0.10 avatar bug !
  • 2005/5/3 15:50

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


i'm logged a XOOPS user and select any avatar in gallery but this value not changed in sql database.

i am open a
phpmyadmin and see MySQL users table for XOOPS users


uid | uname | email | user_avatar
10210 | XOOPS | xoops@xoops.org | blank.gif

why not changed a blank.gif ?

3
indream
Re: 2.0.10 avatar bug !
  • 2005/5/3 17:09

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


some person for help me...

4
2newbie
Re: 2.0.10 avatar bug !
  • 2005/5/3 18:16

  • 2newbie

  • Just popping in

  • Posts: 95

  • Since: 2005/4/12


I have the same problem....As a user I can upload an avatar from my own directory (on my computer) but if i want to change it to a system (Provided) avatar the change does not take place.....

CAN ANYONE HELP US ?

5
indream
Re: 2.0.10 avatar bug !
  • 2005/5/4 12:21

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


2newbie


i'm upload a XOOPS 2.9.2's edituser.php
in
xoops 2.0.10 stable

avatar options working a perfectly

but where is problem

6
gestroud
Re: 2.0.10 avatar bug !
  • 2005/5/4 19:54

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


I just installed the full version, not the upgrade, on a new site and have the same problem.

7
zoro_tong
Re: 2.0.10 avatar bug !
  • 2005/6/18 16:27

  • zoro_tong

  • Just popping in

  • Posts: 17

  • Since: 2004/12/1


I just found one typo in edituser.php file.
You have to change this line
Quote:

if (0 === strpos($user_avatarpath, XOOPS_UPLOAD_PATH) && is_file($user_avatarpath))

in edituser.php into
Quote:

if (0 == strpos($user_avatarpath, XOOPS_UPLOAD_PATH) && is_file($user_avatarpath))

8
indream
Re: 2.0.10 avatar bug !
  • 2005/6/18 17:30

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


Quote:

zoro_tong wrote:
I just found one typo in edituser.php file.
You have to change this line
Quote:

if (0 === strpos($user_avatarpath, XOOPS_UPLOAD_PATH) && is_file($user_avatarpath))

in edituser.php into
Quote:

if (0 == strpos($user_avatarpath, XOOPS_UPLOAD_PATH) && is_file($user_avatarpath))


yeah it = a bug
thanks my friend

9
m0nty
Re: 2.0.10 avatar bug !
  • 2005/6/18 20:23

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


you might also wanna check this thread too for a fix to another bug :)

10
Herko
Re: 2.0.10 avatar bug !
  • 2005/6/18 20:29

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


m0nty: are these bugs reported in the trackers (so they can be fixed in the next releases)?

Herko