I have installed this module as well User Points 6.x-1.2 module and profile picture support enabled. I have tried to upload a userpicture to a user's profile but didn't assign any points.
What could possible be missing? Is it neccessary to define a category?

Comments

anil_89’s picture

Version: 6.x-1.2 » 7.x-1.x-dev

replace line 76 in module file
if ( is_object($edit['picture_upload']) && $file = file_save_upload('picture_upload')) {

their is condition mission

thanks
A K RAVAT

lias’s picture

Issue summary: View changes

To clarify, replace the following in the userpoints_user_picture.module file:

if ((empty($user->picture)) && $file = file_save_upload('picture_upload')) {

with

if ( is_object($edit['picture_upload']) && $file = file_save_upload('picture_upload')) {

Thanks @ anil_89

anil_89’s picture

Yes , it should be thanks @Isabug

potop’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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