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!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3502
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Instant Login Redirect

Post by Stoker » 26 Jul 2011, 18:16

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
Sure, I can install the Mod for you ;)
Like the site? Then buy me a bear


User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 763
Joined: 25 Jul 2011, 11:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!

Instant Login Redirect

Post by martin123456 » 08 Nov 2011, 21:52

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, 04:06
BBCodes: 10
Favourite MOD: Top Stats
Location: Australia

Instant Login Redirect

Post by Rhyno » 20 Mar 2013, 21:54

Hmm just applied this works great :)