REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] RepFuck Button
#1
[RepFuck Button]
Created by: Boxxy
Credits to: Omni

           



Instructions

  1. Download reputation.php from your ftp.
  2. Apply the edits below to your reputation.php file.
  3. Upload your new reputation.php to your ftp.
  4. Apply the edits below to your reputation_add template.
  5. Upload the repfuck.php file to your ftp.
  6. Now rate a user to discover the new button.


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\" />";
}



Apply the following edits to the Reputation_Add template

AFTER:
Code:
</form>

ADD:

Code:
{$repfuckbutton}
            </div>


Attached Files
.zip   Rep Fuck Button.zip (Size: 1.59 KB / Downloads: 379)
Reply
#2
You Have ScreenShot
Reply
#3
Added for you
Reply
#4
See but this is nice and all but that is not the meaning of rep fuck. Rep fuck is like omni does all the time. It deletes all of the positive rep that the user has ever gotten and leaves the negative rep their. Thanks though!
Reply
#5
You can modify the plugin to make it work like that.

I have it as you said above, remove all positive and leave the negative, but I named it Rep Reset because I dont like the term fuck for a forum. (Which is why I didnt put in any screenshots to begin with too)
But you can also have it so that it + or - Reputation to what ever value you want because sometimes -25 just isnt enough.

You'd have to go looking into the plugin to find out where to change it though as I wont be making any tutorials on how to modify the plugin. Mainly because its not my plugin, im just reuploading the files.
Reply
#6
The button doesn't show up for me...
Reply
#7
Make sure you make the correct template edits.
Reply
#8
Very nice plugin thanks for this..
[Image: OGForumsbanner.png]
Reply
#9
So you are boxxy?
Reply
#10
No, im just publishing the files after the old threads attachment became corrupt.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Plugin] RepFuck 1.0 SuperSpyXT 37 24,103 Aug 11, 2017, 06:27 PM
Last Post: kacsj
Exclamation [RELEASE] Hide Section v1.0 Oliver Evans 31 19,997 Jan 27, 2015, 09:58 AM
Last Post: L34XXOR
  Rep Fuck Button Information | Troubleshooting | Editing | Download! F4T4L 3RR0R 51 27,896 Oct 26, 2014, 11:50 PM
Last Post: i am L
  Looking for the upgrade button D1LeX 2 2,731 May 15, 2014, 05:38 PM
Last Post: Kornox
  [RELEASE] [BETA] - MyBB Multiforums Mod for MyBB 1.6.6 BMR777 3 4,411 Apr 12, 2014, 10:33 AM
Last Post: Ace700

Forum Jump:


Users browsing this thread: 1 Guest(s)