[MOD] Admin login like others

Any hacks and modifications will be in here...

[MOD] Admin login like others

Postby iheartbreakz » Sun Apr 20, 2014 1:45 am

For those who are tired of getting redirected to the admin panel login page after logging in as an admin.

Edit /pages/login.php

Find:
Code: Select all
<meta http-equiv="REFRESH" content="0;url=./admin.php">


Replace with:
Code: Select all
<meta http-equiv="REFRESH" content="0;url=./index.php?page=userpanel">


Thats it! :D :D
iheartbreakz
Moderator + Premium + Code Tester
 
Posts: 100
Joined: Wed Apr 20, 2011 2:14 pm

Re: [MOD] Admin login like others

Postby stadium5587 » Thu Nov 06, 2014 3:36 pm

That didn't work.

It says successfully logged in and then goes to a page and says

"You are not logged in. You will now be redirected to the login page in 5 seconds."

Any ideas?
stadium5587
Newbie Member
 
Posts: 4
Joined: Thu Nov 06, 2014 2:00 pm

Re: [MOD] Admin login like others

Postby SamEA » Fri Nov 07, 2014 11:30 pm

What URL does it redirect you to?
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: [MOD] Admin login like others

Postby iheartbreakz » Fri Nov 14, 2014 3:20 am

This mod shouldn't effect any logging in issues. Are you sure you didn't make changes anywhere else?
iheartbreakz
Moderator + Premium + Code Tester
 
Posts: 100
Joined: Wed Apr 20, 2011 2:14 pm


Return to Hacks and Modifications

Who is online

Users browsing this forum: No registered users and 2 guests

cron