Advertisement:

Author Topic: Forward banned members to a certain page?  (Read 41073 times)

Offline alvinleephd

  • Jr. Member
  • **
  • Posts: 113
    • Worthless Forums
Forward banned members to a certain page?
« on: May 26, 2005, 09:39:03 PM »
well?
« Last Edit: July 10, 2005, 03:38:49 PM by Owdy »
Worthless Forums-A Place to Kill Time.  Get your fix.

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Is there a way to forward banned members to a certain page?
« Reply #1 on: May 27, 2005, 09:43:30 PM »
Find:

Code: [Select]
// You banned, sucka!
fatal_error(sprintf($txt[430], $old_name) . $_SESSION['ban']['full_ban']['reason']);

Replace:

Code: [Select]
// You banned, sucka!
redirectexit('http://www.google.com/search?q=learning+not+to+troll', false);
fatal_error(sprintf($txt[430], $old_name) . $_SESSION['ban']['full_ban']['reason']);

-[Unknown]

Offline alvinleephd

  • Jr. Member
  • **
  • Posts: 113
    • Worthless Forums
Re: Is there a way to forward banned members to a certain page?
« Reply #2 on: July 10, 2005, 03:28:01 PM »
Thanks.  Where do you find that code?
Worthless Forums-A Place to Kill Time.  Get your fix.

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,590
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @@jaoler on Twitter
Re: Is there a way to forward banned members to a certain page?
« Reply #3 on: July 10, 2005, 03:29:04 PM »
Security.php
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Offline alvinleephd

  • Jr. Member
  • **
  • Posts: 113
    • Worthless Forums
Worthless Forums-A Place to Kill Time.  Get your fix.

Offline bugsmi0

  • Jr. Member
  • **
  • Posts: 196
Re: Forward banned members to a certain page?
« Reply #5 on: February 28, 2006, 08:49:25 PM »
Hey Alvin

what are you thinking about when you eat that banana :P

Offline JustJen

  • Jr. Member
  • **
  • Posts: 192
  • Step away from the admin panel, Jen....
Re: Forward banned members to a certain page?
« Reply #6 on: December 02, 2006, 02:23:13 PM »
Will this work in 1.1 Final?? It could be handy for me!  ;)

Offline SleePy

  • Site Team Lead
  • SMF Master
  • *
  • Posts: 29,931
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: Forward banned members to a certain page?
« Reply #7 on: December 02, 2006, 08:23:18 PM »
I checked the code and it should work just fine..
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline JustJen

  • Jr. Member
  • **
  • Posts: 192
  • Step away from the admin panel, Jen....
Re: Forward banned members to a certain page?
« Reply #8 on: December 22, 2006, 04:23:47 PM »
Yipee!! My banned members now get sent here:

http://www.outofservice.com/freak/

Hehe...

Offline Fatherguido

  • Semi-Newbie
  • *
  • Posts: 56
  • Gender: Male
    • SportzMania,LLC
Re: Forward banned members to a certain page?
« Reply #9 on: December 23, 2006, 08:58:20 PM »
Yipee!! My banned members now get sent here:

http://www.outofservice.com/freak/

Hehe...
Too funny! Love it!

Offline alo

  • Semi-Newbie
  • *
  • Posts: 33
Re: Forward banned members to a certain page?
« Reply #10 on: March 22, 2007, 02:35:48 AM »
Hey Alvin

what are you thinking about when you eat that banana :P
lol..what did u think about her done? :))

Offline pearpandas

  • Semi-Newbie
  • *
  • Posts: 26
    • Cutest Quotes
Re: Forward banned members to a certain page?
« Reply #11 on: March 25, 2011, 10:24:14 AM »
Thanks!  I was just reading this old topic, and this is very useful.

Offline pearpandas

  • Semi-Newbie
  • *
  • Posts: 26
    • Cutest Quotes
Re: Forward banned members to a certain page?
« Reply #12 on: March 28, 2011, 12:43:01 PM »
Yipee!! My banned members now get sent here:
http://www.outofservice.com/freak/
Hehe...
Too funny! Love it!

Along the same lines, I sent mine here:
would you rather questions
Would you rather be a troll or a wanker?


Offline a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 743
Re: Forward banned members to a certain page?
« Reply #13 on: April 03, 2011, 06:03:14 AM »
lol, tested and tried 1.1.13. Works perfect. Banned users & bots now redirected to downloading a gigantic .jpg
2.0.14, php 7.0.24, ssl. Mods: Contact Page, Like Posts, Responsive Curve.

Offline cameranutzII

  • Semi-Newbie
  • *
  • Posts: 35
Re: Forward banned members to a certain page?
« Reply #14 on: December 04, 2011, 12:46:17 PM »
Yeah, I know this is an OLD topic, but...

How to set this up for 2.0.1? I don't find the exact text noted and am not confident enough to wing it without guidance. This is what I find in Security php


Code: [Select]
// You banned, sucka!
fatal_error(sprintf($txt['your_ban'], $old_name) . (empty($_SESSION['ban']['cannot_access']['reason']) ? '' : '<br />' . $_SESSION['ban']['cannot_access']['reason']) . '<br />' . (!empty($_SESSION['ban']['expire_time']) ? sprintf($txt['your_ban_expires'], timeformat($_SESSION['ban']['expire_time'], false)) : $txt['your_ban_expires_never']), 'user');

Do I need to replace just part of this or the whole thing with the one noted above? Appreciate any help.

Offline Skhilled

  • Full Member
  • ***
  • Posts: 484
  • Gender: Male
  • Logo Off Admin
Re: Forward banned members to a certain page?
« Reply #15 on: December 25, 2011, 07:37:35 AM »
Probably the same...add the same code right after "// You banned, sucka!"

Offline Sir Charles

  • Semi-Newbie
  • *
  • Posts: 31
Re: Forward banned members to a certain page?
« Reply #16 on: December 30, 2011, 07:04:22 PM »
Yeah its the same way, just done this on mine

Offline XHIBIT911

  • Jr. Member
  • **
  • Posts: 264
    • PSHomeSource.com
Re: Forward banned members to a certain page?
« Reply #17 on: March 10, 2012, 09:36:12 AM »
Is this coding good for 2.0.2 ?
That are you a freak page will come in handy !

Offline GZ06

  • Jr. Member
  • **
  • Posts: 103
  • Gender: Male
    • andro.gabisonia on Facebook
    • @gz06geo on Twitter
    • True information
Re: Forward banned members to a certain page?
« Reply #18 on: January 06, 2013, 06:32:59 AM »
Quote
// You banned, sucka!

Guys, do you know what that mean "sucka"?
On russian it mean: "mother fu..er"
Who inserted such in code, developers? I think need to remove that. 
Georgia and Ukraine -FOREVER!

Offline Crozz

  • Semi-Newbie
  • *
  • Posts: 47
  • Gender: Male
Re: Forward banned members to a certain page?
« Reply #19 on: January 06, 2013, 08:08:04 AM »
Quote
// You banned, sucka!

Guys, do you know what that mean "sucka"?
On russian it mean: "mother fu..er"
Who inserted such in code, developers? I think need to remove that.
I think by "sucka" he meant "sucker", sucka is a form of street language or something..