MyBB Community Forums

Full Version: Add Forum Options - no reputation button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The hook {$post['button_rep']} is in the postbits, but the button is not showing for some reason.
The reputation is turned on for the forum.

Where can I check that button_rep is being populated?

I'm new to MyBB, perhaps I'm missing something.
Is reputation another mod, installed by default, or does this mod install reputation?
So doing some debugging I found the following in functions_post.php:
if($mybb->settings['enablereputation'] == 1 && $mybb->settings['postrep'] == 1 && $mybb->usergroup['cangivereputations'] == 1 && $usergroup['usereputationsystem'] == 1 && ($forum['allowpostreps'] != 0 || $post_type != 0))

It seems there are two things that are not allowing the button to be posted (the first and last condition in the IF statement):
Enable Rep: 0
Post Rep: 1
Give Rep: 1
Use Rep: 1
Allow Rep: 1
Post Type: 0

So I'm curious how to Enable the Rep and what defines the post type.
Nevermind, it seems the Reputation for the forum was not turned on. All this debugging for nothing.

Now the only thing that's missing is a reputation button for my theme Smile