logo

Palette - Make it Colorful🎨

Palette - Visual Page Builder, no design degree required.

Live Demo Download Palette

Scroll

webform+types+userpoints

22/02/2025, by Anonymous (not verified)

The video tutorial http://www.drupal.ru/  was very helpful to me. With its help, I created a tabular output of submitted forms.

I added a couple of filters for searching.

Now, how can I make it so that the view assigns userpoints to users based on their uid? Like this:

$bonus = 100;
$dump01 = "UPDATE `userpoints` SET points = points + $bonus  WHERE +$user->uid";
db_query($dump01);
 The second problem is that the created view only works with webform fields. I still can't figure out how to integrate userpoints.