MyBB Community Forums

Full Version: modified reputation.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i found some additional coding for file reputation.php. its work as a Member must have "x" post to giva a reputation to other member...

this is way to modification:

find:

if($mybb->input['action'] == "add" || $mybb->input['action'] == "do_add")
{

and add this codes after coding above:
    if($mybb->user['postnum'] <= x)
    {
        $message = $lang->add_no_permission;
        eval("\$error = \"".$templates->get("reputation_add_error")."\";");
        output_page($error);
        exit;
    }


then, x can replace with post num for requirement
to give a reputation to other..


my question, its have one problem..

this coding made member couldnt seen who give the reputation..

help me please repair this error coding please!!! Blush