Customizing SMF > Tips and Tricks

Forward banned members to a certain page?

(1/5) > >>

alvinleephd:
well?

[Unknown]:
Find:


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

Replace:


--- Code: --- // 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']);
--- End code ---

-[Unknown]

alvinleephd:
Thanks.  Where do you find that code?

Owdy:
Security.php

alvinleephd:

--- Quote from: Owdy on July 10, 2005, 03:29:04 PM ---Security.php

--- End quote ---
Thanks :)

Navigation

[0] Message Index

[#] Next page

Go to full version