When I upload an avatar the module give the ok, but current avatar remain empty.
Can anyone tell me the name of the table that the Avatar module sould create in the database.
Or it create only some values in an existing table (maybe pn_user or pn_profile)?
Where can I find these information?
I would like to create it by myself because it seems that the module doesn't create it.
Profile 1.2 is ok but I cant store the image, i select it but remain empty.
And is not the proble related to the other infrmation, I can change an store my real name, job, msn, etc...
(maybe avatar module works only with myProfile ? )
edited by: lordevol, Apr 23, 2009 - 04:58 AM
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
[SOLVED] Avatar 2.1 module - curent avatar remain empty
-
- Rank: Softmore
- Registered: Oct 17, 2008
- Last visit: Oct 21, 2009
- Posts: 163
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
according to the pninit.php file the module doesn't create a table. It just uses a few modvars. -
- Rank: Softmore
- Registered: Oct 17, 2008
- Last visit: Oct 21, 2009
- Posts: 163
Thank you for the answer,
how can I debug this modvars?
Does this module insert a field in the Profile&func=viewmembers ? -
- Rank: Softmore
- Registered: Oct 17, 2008
- Last visit: Oct 21, 2009
- Posts: 163
...when I upload an avatar zikula says: user avatar xxxxx now is: here shows the right image
but under this, "Current Avatar" remain empty and says "no avatar" :(
edited by: lordevol, Apr 23, 2009 - 04:48 AM -
- Rank: Freshman
- Registered: Jan 29, 2009
- Last visit: May 31, 2010
- Posts: 65
Hi friends.
Are you using profile module? or are you using myProfile?
I belive that myProfile dont work with Avatar module, but if you use profile module, you must to do this.
Entry in the Configuration.
In the "module to use for users profile admin", you must select "profile".
Try it now.
Good look.
PD: Sorry for my english. -
- Rank: Softmore
- Registered: Oct 17, 2008
- Last visit: Oct 21, 2009
- Posts: 163
Thanks for the answer, I'm using Profile 1.2 (not myProfile), and it's correctly selected in the preferences, it works fine.
I try to install a fresh copy of zikual 1.1.1 and it works ok (after selecting profile in the settings) :(
So it's something in my database after all the upgrade?
I started from postnuke .764 => zikula 1.0 => zikula 1.03 => zikula 1.1.1
Some error in some upgrade script?
How can I debug this, I don't know how to proceed :( -
- Rank: Freshman
- Registered: Sep 28, 2004
- Last visit: Oct 21, 2009
- Posts: 92
krator
Hi friends.
Are you using profile module? or are you using myProfile?
I belive that myProfile dont work with Avatar module
[...]
I was just looking for an answer to this issue, and then this thread popped in front of my eyes.
If Avatar 2.1 doesn't work with myProfile, what do you use on myProfile to define a users's Avatar? I even tried "UserPictures" that works with myProfile but so far I haven't been able to store users's avatars
.
(I really wish "Avatar" worked with "myProfile" since both are really really nice modules... -
- Rank: Softmore
- Registered: Oct 17, 2008
- Last visit: Oct 21, 2009
- Posts: 163
I solved my problem after one day with my head inside the database.
I create a new zikula installation, and then I looked for the differences between my database and the "clean" one.
The problem was that in the table: "pn_user_property" of the fresh install there was "_YOURAVATAR" propriety that wasn't on my dbase!
I copy that line and everything worked fine :)
I think that I erased that field long time ago (avatar wasn't on my plain) so it's a bug of the avatar module that does not check for that propriety during initialization (and maybe create it), right?
Where do have I to create the ticket?
Now my problem is: why EVERY user can see my avatar and choose it from the list of avatar!? Here in the zikula community site I can see only the defaut and MY avatar, not all yoyr avatar, is there a config option that I missed?
edited by: lordevol, Apr 23, 2009 - 05:50 PM -
- Rank: Freshman
- Registered: Sep 28, 2004
- Last visit: Oct 21, 2009
- Posts: 92
Quote
I solved my problem after one day with my head inside the database.
I create a new zikula installation, and then I looked for the differences between my database and the "clean" one.
The problem was that in the table: "pn_user_property" of the fresh install there was "_YOURAVATAR" propriety that wasn't on my dbase!
I copy that line and everything worked fine :)
I am glad you fixed your problem, I am still trying to figure out why myProfile doesn't work with Avatar, but not luck so far
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
lordevol
I solved my problem
AWESOME! nice work!
lordevol
Now my problem is: why EVERY user can see my avatar and choose it from the list of avatar!? Here in the zikula community site I can see only the defaut and MY avatar, not all yoyr avatar, is there a config option that I missed?
That's funny because my users asked the same question! -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
lordevol
Now my problem is: why EVERY user can see my avatar and choose it from the list of avatar!? Here in the zikula community site I can see only the defaut and MY avatar, not all yoyr avatar, is there a config option that I missed?
There's a permission rule that must be set to hide other's avatars and it is:
All Groups | Avatar:: | pers:.*: | NONE
It's in the module docs
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Softmore
- Registered: Oct 17, 2008
- Last visit: Oct 21, 2009
- Posts: 163
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
