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
Comment #1
povinho commentedWell! 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.
Comment #2
wafaa commentedfixed
Comment #3
(not verified) commented