Test Accounts

There are 3 test accounts.

Username: Test
Password: test123

Username: Test 2
Password: testuser2

Username: Test 3
Password: testuser3

Instant Login Redirect

Useful little modifications. I did not make any of them

Moderator: Jessica

Forum rules
There will be no more new snippets here. All snippets are posted here: http://chenschool.elementfx.com/phpBB3/kb.php?c=1

Instant Login Redirect

Postby Jessica » November 3rd, 2011, 10:37 pm

Open: includes/functions.php

FIND:
Code: Select all
         // Special case... the user is effectively banned, but we allow founders to login
         if (defined('IN_CHECK_BAN') && $result['user_row']['user_type'] != USER_FOUNDER)
         {
            return;
         }


ADD AFTER:
Code: Select all
         redirect($redirect);



2 people like this post.
User avatar
Jessica
Founder
 
Topic author
Posts: 97
Topics: 39
Blog entries: 5
Joined: October 27th, 2011, 4:30 pm
Likes: 7 posts
Liked in: 24 posts
Images: 133

Re: Instant Login Redirect

Postby Test » July 19th, 2012, 8:52 am

test



Jessica likes this post.
Test
 
Posts: 33
Topics: 2
Joined: October 27th, 2011, 8:25 pm
Likes: 19 posts
Liked in: 6 posts
Images: 0


Return to Snippets

Who is online

Users browsing this forum: No registered users and 3 guests

x

#{title}

#{text}