REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirect a repfuck to users reputation
#1
I have the repfuck plugin installed on my website. I created a shortcut link, which can be seen on every users profile. (Preview below)

[Image: 59318330.png]

Now, when I click the repfuck option then it takes me to this page.

[Image: 47287579.png]

I want the user to be repfucked and then like a second or two later be redirected to the repfucked users reputation page.

To make this shortcut, I added the following code.

Code:
<li><a href="/repfuck.php?uid={$uid}">RepFuck</a></li>

In the "member_profile_modoptions" template.
Reply
#2
So your forcing a member to view they have been repfucked? that's a bit harsh.
Reply
#3
(Jul 28, 2012, 08:46 PM)Plugin Wrote: So your forcing a member to view they have been repfucked? that's a bit harsh.

No I mean when I repfuck a member instead of taking me to the weird page, I want it to take me to the users reputation.
Reply
#4
Nice idea joker
Reply
#5
Found the answer. Thanks to Omar G.

After:
PHP Code:
//Inserts a -25 reputation 

Insert this:
PHP Code:
redirect($settings['bburl'].'/'.get_profile_link($useruid)); 
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Question Any way to make new users default to multiple groups? Jayfore 1 962 Oct 11, 2017, 06:06 PM
Last Post: DrBaja
  Remove Redirect? Kaleb 5 3,893 Jun 15, 2013, 11:59 AM
Last Post: meethere
Wink About Reputation System SunDi3yansyah 4 2,361 Mar 07, 2013, 12:25 AM
Last Post: SunDi3yansyah
Exclamation reputation button help king tharindu 1 1,285 Jan 21, 2013, 01:57 AM
Last Post: Chocothunda
  How to change reputation.php colors? Jacoblab1 3 2,069 Mar 22, 2012, 08:59 PM
Last Post: ExaByte

Forum Jump:


Users browsing this thread: 1 Guest(s)