Jump to content

MadGorilla

Clients
  • Posts

    61
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by MadGorilla

  1. 2 hours ago, Marc Stridgen said:

    That would be the  correct thing to do. So your file would be 

    <?php
    \define( 'CP_DIRECTORY', 'nameOfAdminDirectory' );

     

    Thanks that worked! I didnt have enough spaces between coding text

    thanks!!

  2. sorry if i asked in anyones post. I have tried and tried and Im obviously doing something wrong.

    I have latest version of invision on php8 server

    I create a constants.php file........then ad this

    <?php
    \define( 'CP_DIRECTORY', 'my new admin name' );

    and change the name of my admin folder to the new admin name. I put the constants.php file in my forums directory. I have an ips focus theme/skin

     

    and once I change the new admin name and add constants.php file with code in it.
    My site goes completely white blank> Any help appreciated, as i really want to hide my admin page from intruders

  3. 10 hours ago, Jim M said:

    Is there a reason why you're enabling recovery mode? TRUE should also be a bool instead of a string (aka, remove the single quotes around TRUE)

    Ok, and no i dont need recovery mode yikes. I did remove that whole line...

    \define( ‘RECOVERY_MODE’, ‘TRUE’ );

     

    and tried it and still my site went completely white. Using my new admins name of course. thanks for reply

×
×
  • Create New...