MyBB Community Forums
How to add negative reputations in a settings - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: How to add negative reputations in a settings (/thread-152771.html)



How to add negative reputations in a settings - tarekovski - 2014-04-11

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?