Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


Tutorial info Visit support topic

  • Added on: Feb 24 2009 05:00 AM
  • Views: 3942
 


[IPB 3.0.x] Bypass Admin CP Login

Posted by Michael on Feb 24 2009 05:00 AM
This is a little edit to get into the Admin CP without loggin in, extremely useful for development boards, where logging in can be a pain. Open admin/sources/base/ipsRegistry.php
Find:
			if ( ( ipsRegistry::$request['module'] != 'login' ) AND ( ! $validationStatus ) )

Replace With:
			$memberData['member_id'] = "1";
			$memberData['members_display_name'] = "Admin";			

			if ( $nothing )

Save admin/sources/base/ipsRegistry.php and your done.
Please Note: This tip is mainly for localhost development boards, and is a extreme risk when used on live boards, use at your own risk.

Powered by Tutorials 1.4.1 © 2012, by Michael McCune