MyBB Community Forums

Full Version: How to add negative reputations in a settings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to make this hack and when I use negative reputations hard coded like this it works fine

if ($post['reputation'] <= -80)

but how can I put it in a setting where I can add the negative reputation?

I try this but it did not work

if ($post['reputation'] <= -$mybb->settings['negative_settings'])

How can I add it so it will work?

can someone please help me?

no one knows how to do this?