Jump to content

Configuration Options

  1. Using constants.php

    You will see references to "constants.php" throughout our guides. The constants.php is a special file you an optionally create in the root directory of your Suite which can include special commands and configuration options which alter the normal behavior of the Suite. File Format You would create a file in the root directory of your Suite, the same directory where index.php and init.php are located, called constants.php. In that file you would simply enter: <?php \define
  2. Using SSL (HTTPS)

    Community in the Cloud customers can submit a support ticket to request SSL/HTTPS be enabled for your community. Applies to self-hosted customers only You will need to obtain an SSL certificate and install it on your server before following these instructions To enable SSL/HTTPS for your community, please edit your conf_global.php file, changing 'http' to 'https' in your URL, then save. From: $INFO['base_url'] = 'http://www.yourdomain.com'; To: $INFO['base_url']
  3. Utilizing caching methods

    About caching With todays emphasis on speed being important to people when browsing websites, it can often be of benefit to add caching services to your site once your site increases in size. IPS4 is no exception to this, and we have therefore added the ability to use the redis caching method, which may be available to you on your hosting environment. Before setting up any caching, we advise you consult with your hosting company to see which is best suited to your particular environment .
  4. Controlling file and folder permissions

    When the IPS Community Suite creates new files and folders, by default it uses the following permissions or "chmod" mask: Folders that the software will write to: 0777 Folders that the software will not write to: 0755 Files that the software may overwrite: 0666 Files that the software will not overwrite: 0644 While these permissions work in most environments, you may find that the permissions are not appropriate in your particular hosting environment. You have the
  5. Task Methods

    Within the IPS Community Suite, there are several routine maintenance tasks, which need to be performed at regular intervals. You can see these by looking in the following location of your AdminCP. System->Settings->Advanced Configuration Here you will see a "View Tasks" button just below the task method selection. As you can see, various tasks are run at different intervals, and are important to keeping your site running as designed. Items such as sending out digest e
  6. Facebook and Instagram Embedding

    In order to embed Facebook and Instagram photos, videos and posts, you will need to set up an application in Facebook's developer portal with the "Oembed" product added. Creating a Facebook App 1. Go to the Facebook for Developers site and sign in with your Facebook account. 2. If you have not already registered with Facebook for Developers, click Register Now and follow the instructions to register 3. when prompted, enter your community name as the name for your first a
  7. SEO - Robots.txt

    What is a robots.txt file? When Google or other search engines come to your site to read and store the content in its search index, it will look for a special file called robots.txt. This file is a set of instructions to tell search engines where they can look to crawl content and where they are not allowed to crawl content. We can use these rules to ensure that search engines don't waste their time looking at links that do not have valuable content and avoid links that produce faceted co
  8. IP Address Checking

    The IPS Community Suite has the capability, which is enabled by default, to check that the IP address of the current request matches the IP address when the session was first started, and if the IP address has changed to treat the current visitor as a guest and force them to login again. This is a security precaution designed to prevent a user's session from being hijacked by someone else at a different location. While this is a good security precaution and should generally be left enabled, ther
  9. Overriding Default Cookie Options

    Warning You should only change your cookie options if you have a genuine need. Incorrectly setting these options may cause issues for users in your community. Why you may need to override cookie options IPS Community Suite 4 intelligently detects the most appropriate values to set cookies for your site effectively and securely.  For most users these default values work perfectly and you will not have a need to override the default settings.  If you find, howeve
  10. Custom error and maintenance pages

    IPS Community Suite has two special pages which exist entirely outside of the normal theme and language systems: error.html  Displayed if there is an error so severe it is not possible to display a normal error screen (for example, if your database server is offline, it is not possible to obtain the theme and language details). upgrading.html  Displayed while an upgrade is in process. You create different html pages to be used in these scenarios and instruct IPS Community
  11. Changing where logs are stored

    If a log needs to be written and logging to the database fails, the log is written to disk instead. For example, this might occur if the database is completely inaccessible. By default, logs are written to the /uploads/logs directory. To change this, add the following line to your constants.php file: define( 'LOG_FALLBACK_DIR', '{root}/directory' ); Changing the "{root}/directory" place to be the location on your server where the logs should be written. If you include {root} then that wil
  • Create New...