REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 5 Vote(s) - 3.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Rep Fuck" Button
#1
Mod Name: RepFuck
Mod Author: Boxxy
Mod Credits : labrocca for the idea.
Mod Website: http://gamingsenses.com
Mod Version: 2.0
Mod Mybb Compatibility: 1.4.X
Mod File Edits: None
Mod File Uploads: 1
Mod Description: Remove all positive rep a user has, and leave a -25 rep.

Installation

1. Upload File

/repfuck.php

2. Edit the reputation.php

Open up the reputation.php and find BOTH
PHP Code:
$delete_button "<input type=\"submit\" name=\"delete\" value=\"{$lang->delete_vote}\" />"

After it put:

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


3. Edit the template

Reputation Templates -> reputation_add

Right after the

Code:
</form>

Put

Code:
                    {$repfuckbutton}
                </div>
DEMO:
http://gamingsenses.com

Enjoy :]


Attached Files Thumbnail(s)
           

.php   repfuck.php (Size: 1.69 KB / Downloads: 183)
#2
THANK YOU!

I tried developing this but I had no chance, great work man.
Smile
#3
Thanks Neo, if you have any issues, bugs please report them to me :]
#4
Ahh, Many thanks for this Boxxy!

~A
#5
(Jun 27, 2010, 09:28 AM)Ally Mac Wrote: Ahh, Many thanks for this Boxxy!

~A

No problem, hope you enjoy it, and post feed back Big Grin
#6
This doesn't seem to work for me, I have done everything it says.

~A

E:/ Fixed.
#7
Boxxy great release. This actually will help me develop my plugin so thanks.
#8
(Jun 27, 2010, 10:42 AM)staris Wrote: Boxxy great release. This actually will help me develop my plugin so thanks.

No problem :] glad you liked Big Grin
#9
You're the new Omni, eh? Big Grin Cool thanks, lets hope Labrocca won't take it down.
#10
(Jun 27, 2010, 09:23 PM)void. Wrote: You're the new Omni, eh? Big Grin Cool thanks, lets hope Labrocca won't take it down.

Nah bro, i could never be the new Omni, he's too pro for me.


Possibly Related Threads...
Thread Author Replies Views Last Post
  does qany 1 know how to change how much rep u can give nottzlad 5 5,088 Sep 19, 2010, 08:46 PM
Last Post: nottzlad
  [1.4] Social Sharing Button Plugin for Mybb1.4 jnd52 11 8,503 May 06, 2010, 08:26 PM
Last Post: MarkWesley
  Neg Rep Control labrocca 14 9,399 Sep 02, 2009, 05:54 AM
Last Post: SimplyGorgeous

Forum Jump:


Users browsing this thread: 1 Guest(s)