Hi,

just installed the latest version of the User Deco Module.

I activated the "User Deco Block". The block does not work on Profile Pages. It shows nothing when viewing a profile but
"'s Decos
This user has no decos yet.
Gallery"

Hope this bug will be get fixed soon. I like this module very much and want i want to use it on my community page.

thank you

Comments

icecreamyou’s picture

Status: Active » Postponed (maintainer needs more info)

First of all, I'm not really supporting this module right now, as I'm not using it on any significant public sites and I'm short on time these days. I'll do what I can to solve the problem you're experiencing but it doesn't sound like it's directly related to User Deco.

Try changing this line in user_deco_block() in user_deco.module from this:

        $account = user_load(arg(1));

to this:

        $account = user_load(array('uid' => arg(1)));

The issue you're reporting would only occur because that line isn't returning a user object. That's not a problem related directly to User Deco, although it may solve itself if you reinstall User Deco or completely clear your Drupal cache. Also, although it's not specifically for this module, please see the first two sections of the troubleshooting guide here -- I need more information than you've provided to get a better idea of what's going on in this issue.

Witch’s picture

Hi IceCreamYou,

i followed your link and did the following:

1. uninstall the module
2. delete the module folder
3. empty the cache
4. install the dev version
5. run update.php

Now it seems to work fine! Thank you for this!

One more question: You said that you are not supporting this module right now. On the module page we can read "...in the future will allow uploading decos instead of linking to them from Flickr"

Have you any idea when this will be possible?

Have a nice week

icecreamyou’s picture

Status: Postponed (maintainer needs more info) » Fixed

I may restart development on this module in a few months--late December at the earliest, but more likely February. I have a lot of non-programming work in the mean time and I have a few higher programming priorities I'd like to get to before I start back in on this. When I do, I'll probably add ImageCache integration as well.

Witch’s picture

Sounds good icecream! I am glad to read this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.