Hi!

I get this problem at the Administrative panel:

Points for each event
Points for posting an :
Points for posting an :
Points for posting an :
Points for posting an :
Points for posting an :
Points for posting an :
Points for posting a comment:
Points for voting on a node:
Points for inviting a user:
Points when invited user registers:

I get 5 "Points for posting an :" without nothing after.

In the code you have this procedure. I guess its not finding what its looking for.

 foreach (node_list() as $type => $module) {
    $name = node_invoke($type, 'node_name');
    $output .= form_textfield (t('Points for posting an %node-name', array('%node-name' => $name)),
      'userpoints_post_'. $type, variable_get('userpoints_post_'. $type, '1'), 5, 5);
  }

PS: This happend after I restored the Database. But I know that user are getting point for voting nodes. So some part it's working.

Can you help me?

Thank you very much for your time.

Comments

povinho’s picture

Version: 4.6.x-1.x-dev » master

Well! I've notice that you have a new version on the CVS. I've instaled and now it's working.
I hope this would be helpfull for someone in the future.

Regards.

wafaa’s picture

Status: Active » Fixed

fixed

Anonymous’s picture

Status: Fixed » Closed (fixed)