Instant Login Redirect

Mixed forum with code snippets, guides and styles
Forum rules
Everything in this forum is for everybody
But support only for Donators!
Post Reply
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Instant Login Redirect

Post by Stoker »

Instant Login Redirect
Written by eviL<3

Skip the login confirmation screen and let your users login faster.

Open: includes/functions.php
Find:

Code: Select all

			$redirect = meta_refresh(3, $redirect);
			trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
Add before:

Code: Select all

redirect($redirect);
Board rules! No PM support
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Instant Login Redirect

Post by martin123456 »

Wonder's why there is no thankyou post for such a simple but good snippet.
User avatar
Rhyno
BBCoder III
BBCoder III
Posts: 100
Joined: 25 Jan 2012, 06:06
BBCodes: 10
Favourite MOD: Top Stats
Location: Australia
Contact:

Instant Login Redirect

Post by Rhyno »

Hmm just applied this works great :)
Post Reply