Welcome Guest ( Log In | Register )


> IPS Related Information

This section is focused on Invision Power Services products...

IPS, widely praised for the continuous efforts aimed to a stable, fast and efficient board system has brought to us Invision Power Board, but not only that..

Invision Power Gallery & Invision Community Blog allow the forum members :

  1. Host & publish images
  2. Host and link Blogs
  3. Integrate all that to the Invision Power Board

 
Reply to this topicStart new topic
> IPS Tutorials: Developer Articles > Disable ACP Login (For development only)
RSS Bot
post 7 Jul 2009, 12:43 PM
Post #1


yourforum Robot
Group Icon

Group: Private Members
Posts: 196639
Joined: 12-July 05
From: RSS World
Member No.: 125



This is a series security breach. And should not be made to a production board.

In order to disable the login screen every time you login to your ACP on your localhost setup. Just follow those steps:

Open: admin/sources/base/ipsRegistry.php and find:

$validationStatus  = self::member()->sessionClass()->getStatus();
$validationMessage = self::member()->sessionClass()->getMessage();


Replace with:

$validationStatus  = true;#self::member()->sessionClass()->getStatus();
$validationMessage = self::member()->sessionClass()->getMessage();
self::$handles['member']->setMember(1);


Replace the number 1 with the desired member ID to log in with all the time.

View the full article
Go to the top of the page
 
Bookmark this: Post to Del.icio.usPost to DiggPost to FacebookPost to GooglePost to SlashdotPost to StumbleUponPost to TechnoratiPost to YahooMyWeb
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th March 2024 - 01:21 PM
Skin and Graphics by Dan Ellis and Anubis. Hosting by Forums & More © 2005-2011.
InvisionGames - Your #1 Arcade Games Repository | AllSigs - Signatures for all | Rock Band + Guitar Hero = RockHero ! | The Remoters - Remote Assistance | FileMiners - You ask, We find