Rep Fuck Button [MyBB Central]

by Wrath - 17-01-2015, 12:39 PM
Führer of Amestris
Posts:
792
Joined:
Jan 2015
Likes:
100
Credits:
4,310
Reputation:
74
2 Years of Service
#1
OP
Posted: 17-01-2015, 12:39 PM (This post was last modified: 17-01-2015, 12:39 PM by Wrath.)
When shit gets hectic, and -1 rep is not enough. You need to RepFuck!

Version
1.0

What does it do?
Pretty much adds a button for certain usergroups to absolute destroys someone's rep. GG.

Installation
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.

Edits
Apply the following edits to reputation.php

After:
PHP Code:
$delete_button "<input type=\"submit\" name=\"delete\" value=\"{$lang->delete_vote}\" />"

Add:
PHP 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:
PHP Code:
$delete_button ''

Add:
PHP 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:
PHP Code:
</form

Add:
PHP Code:
{$repfuckbutton}
 
           </div

Plugin Link

Download Link
Please register or login in order to unlock hidden content.

"All power tends to corrupt and absolute power corrupts absolutely"
[Image: lbCclr3.gif]
21 Upgrades
: Zenith Ekwips Devourz linkzy H Kayo enmafia2 Yondu Apollo White and more...
Tom yum soup <3
Angels
Posts:
1,374
Joined:
Jan 2015
Likes:
58
Credits:
91
Reputation:
38
2 Years of Service
#2
Posted: 18-01-2015, 01:32 AM
(17-01-2015, 12:39 PM)Infinite Wrote: When shit gets hectic, and -1 rep is not enough. You need to RepFuck!

Version
1.0

What does it do?
Pretty much adds a button for certain usergroups to absolute destroys someone's rep. GG.

Installation
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.

Edits
Apply the following edits to reputation.php

After:

PHP Code:
$delete_button "<input type=\"submit\" name=\"delete\" value=\"{$lang->delete_vote}\" />"

Add:

PHP 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:

PHP Code:
$delete_button ''

Add:

PHP 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:

PHP Code:
</form

Add:

PHP Code:
{$repfuckbutton}
 
           </div

Plugin Link

Download Link
Please register or login in order to unlock hidden content.



Here's my secret ++ way how to really do it.

Please register or login in order to unlock hidden content.
X
Prime
Posts:
99
Joined:
Jan 2015
Likes:
6
Credits:
4
Reputation:
1
2 Years of Service
#3
Posted: 20-01-2015, 02:36 AM
Thanks, simple and useful plugin lol.
[Image: tumblr_mvyqpmwzcc1qmo0obo1_500.png]
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)