I get this error when I attempt to save the template after changes.
Warning: Division by zero in /includes/adminfunctions_template.php(3596) : eval()'d code on line 64
If I wanted to have [User rating] instead of [average], which [] would be [userrating] and which would be [User rating] ?
Thanks btw!
UPDATE
Ok, I ignored the warning as it has to do with members starting with 0 posts. Anyway, it calculates correctly as long as the amount of reputation being divided is greater than the total posts.
ie
1200 reputation/400 posts is ok - except it brings it to the 8th decimal..can I limit it to 2 decimal points?
400 reputation/1200 posts would result in an incorrect number (sometimes just repeats the reputation points # again)
|