This user has been denied support.
No, it's not the template. I don't think I have FTP access to the server.
I'm adding a 'repf**k' button.
These are the instructions:
Quote:Apply the following edits to reputation.php
AFTER:
Code:
$delete_button = "<input type=\"submit\" name=\"delete\" value=\"{$lang->delete_vote}\" />";
ADD:
Code:
if(!in_array($mybb->user['usergroup'], array('3','4',)))
{
$repfuckbutton = "";
}else{
$repfuckbutton = "<form action=\"repfuck.php?uid=".$_GET['uid']."\" method=\"post\"><input type=\"submit\" name=\"RepFuck\" value=\"RepFuck\" />";
}
AFTER:
Code:
$delete_button = '';
ADD:
Code:
if(!in_array($mybb->user['usergroup'], array('1', '2', '3','4',)))
{
$repfuckbutton = "";
}else{
$repfuckbutton = "<form action=\"repfuck.php?uid=".$_GET['uid']."\" method=\"post\"><input type=\"submit\" name=\"RepFuck\" value=\"RepFuck\" />";
}
I've got my own MyBB folder so I can go through everything and check it all, then apply edits for the ones on the forum.