Jump to content


Important Notification

For your security and privacy please read this IV News Article to protect your community and your self from IPS. This is urgent and should be taken seriously.
Thank you,
IV Management

- - - - -

Custom admincp error page


  • Please log in to reply
No replies to this topic

#1 S!r.ReaDy


    Community Team

  • Community Team
  • 28 posts
  • LocationSun

Posted 10 February 2019 - 02:34 AM

Hi, if you wish to recreate the page for you .website, follow these instructions.
Example page:

go to admin folder, and open index.php, replace with following:

<!DOCTYPE html>
<html lang="en">
<title>Invision Community Client Services</title>
<link href='https://fonts.googleapis.com/css?family=Lato:400' rel='stylesheet' type='text/css'>
<style type='text/css'>body,div,h1,h2,p{margin:0;padding:0}img{border:0}h1,h2{font-size:100%;font-weight:normal}body {background: #eaeaea;font-family: helvetica, arial, tahoma, sans-serif;}header {height: 70px;background: #232323;}header img {margin-top: 14px;}.container {width: 980px;margin: 0 auto;}article {background:white;padding: 60px 15px;margin: 15px 0;border-radius: 6px;box-shadow: 0px 2px 0px rgba(0,0,0,0.1);}h1 {font-family: 'lato';font-size: 44px;text-align: center;margin-bottom: 15px;}p {font-family: 'lato';font-size: 24px;color: #7c7c7c; width: 700px;margin: 0 auto;text-align: center;}</style>
<div class='container'>
<img src='https://www.invisionpower.com/downclown/logo.png' alt='Invision Power Services' /></div>
</header><div class='container'>
require_once '../init.php';
// If member is logged in and is admin, will auto redirect to Dashboard, if member not admin, this error will apprear. Admin group =4 .
if(\IPS\Member::loggedIn()->member_group_id == 4) 

<article><h1>Invision Community, Inc.</h1>
<p>You must be a staff member to access this site.</p>


Also tagged with one or more of these keywords: IPB4

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users