Everything posted by Marc
-
Is it possible to restore a deleted user and its invoices without restoring the database?
There would be no way in which to part restore items. Its all or nothing unfortunately. If you do require a restore, please submit a ticket and we can take a look at that for you
-
License Keys & URLs
Before continuing, it is important to understand how URLs are associated with your license for Invision Community. Note This guide is applicable only to classic self-hosted customers. To change your domain on any other license, please visit the "Client Services → Changing your domain" guide Licensed URLEach license is valid for one live installation URL only. When you install the platform, the URL used during installation becomes your licensed URL, and this will be recorded against your license in the client area. This means: The license is tied to the exact URL/domain used Changing the URL later may require updates within your client area or environment Any mismatch between the installed URL and the licensed URL can result in validation issues If you are unsure how your domain or URL is configured, your hosting provider or server administrator should be consulted. Test InstallationIn addition to your live installation, you are permitted one test instance. To use your license for a test installation, you must append the following to your license key: -TESTINSTALLExample: Live license key: 000-0000-000Test installation key: 000-0000-000-TESTINSTALL
-
Installation & Upgrade
Classic Self Hosted Only These instructions apply only to classic self-hosted customers who are responsible for manually installing and upgrading their own environments. If you fall into this category, you should proceed with caution. A failed installation or upgrade can leave your community in an unusable state, including potential data loss, corruption, or extended downtime. It is therefore critical that you take appropriate precautions before proceeding. At a minimum, you should ensure that you have a complete, tested backup of both your files and database, and that you are confident in your ability to restore from that backup immediately should anything go wrong. If an issue occurs during the process, the recommended course of action is to stop immediately and revert to your last known good backup rather than attempting to continue in a potentially unstable state. If you are unsure at any stage, or do not have direct experience managing your server environment, you should seek guidance from the team or provider responsible for your hosting infrastructure. They will be best placed to advise on server-level requirements, permissions, and recovery procedures. For all other customers, installation and upgrades are fully managed. Updates are delivered via simple, click-through processes, with no manual intervention required. InstallingInstalling Invision Community on your own server requires direct interaction with your hosting environment. You should ensure you are comfortable managing your server, or consult your hosting provider or system administrator before proceeding. Confirm server compatibility Ensure your server meets the minimum system requirements. You can run the compatibility checker to identify any missing extensions or configuration issues. If any requirements are not met, your hosting provider will be best placed to assist with resolving these. Download the software Log into your client area, navigate to Manage Purchases, and select your license to download the latest version. Upload the files to your server Extract the downloaded archive locally, then upload the contents to your server in the directory where you intend the community to run. This step typically involves FTP, SFTP, or direct server access. If you are unsure which method to use, consult your hosting provider. Run the installer In your browser, navigate to: /admin/installrelative to the directory where you uploaded the files. The installer will attempt to validate your environment, including directory permissions and required configuration. If any issues are identified, you will be prompted to resolve them before continuing. These changes may require server-level access. You will also be asked to provide: Your MySQL database details Other configuration information required for setup Note If you are unsure of your database credentials or how to create a database, your hosting provider or server administrator should be consulted. Your license key can be found in the same location within the client area where you downloaded the software. Test InstallYour self-hosted license for Invision Community permits a limited number of installations, and how these are used depends on the environment in which you deploy the software. License Usage Overview1 Live Installation – your production community 1 Test Installation – for staging or development purposes Unlimited localhost installations – for local development only Localhost installations must use localhost specifically. Alternative references such as 127.0.0.1 or custom local domains will not be treated as localhost and may count toward your test installation. Test Installation SetupWhen installing on a test environment, your license key must include the following suffix: -TESTINSTALLIf you are installing on any domain that is not localhost, it will be treated as your test installation, and your license will be validated accordingly. Automatic UpgradeWhen an upgrade becomes available, you will see a notification within your Admin CP. Follow the prompt to begin the upgrade process. The system will attempt to download the required files and redirect you to the upgrader. At this point, you will be guided through a series of steps to complete the upgrade. Classic Self Hosted Only For classic, self-hosted installations of Invision Community, the automatic upgrader is initiated from within your Admin CP. This process will make changes to your application files and database, so it should be approached with appropriate caution. Before proceeding, you should ensure: A full backup of both files and database is available Your server environment meets the requirements for the new version You have reviewed the release notes for any changes that may affect your setup If you are unsure about any part of this process, you should consult your hosting provider or server administrator before continuing. The automatic upgrade process for Invision Community relies on the ability to write files directly to your server. In order for this to function correctly: Your file system must allow write access to the application directories Your server configuration must permit file operations initiated by PHP If these conditions are not met, the upgrader may prompt you to provide FTP or SCP credentials so it can attempt to upload the required files remotely. In some environments, both direct file access and FTP/SCP methods may fail. This can happen due to: File permission restrictions Server security policies Disabled PHP functions Incorrect FTP/SCP configuration These are all server-level concerns, and resolving them may require input from your hosting provider or system administrator. If the automatic process is unable to complete, you will need to proceed with a manual upgrade. This involves: Uploading the updated files yourself Running the upgrader manually via your browser As this requires direct interaction with your server environment, you should ensure you are confident in performing these steps, or seek assistance from your hosting provider.
-
Classic - Moving to Another Server
Moving your site to another server / Server Transfer is a relatively simple task with regards to the way in which your software works. In order to do this, you would follow the process below. Step 1 - Your old hosting Switch your site offline ready for transfer to your new server Make a full backup of your database. Make a full backup of your files and folders. Step 2 - Your new hosting Create a new database Restore your backup from the above steps to the new database you have just created Upload your files and folder, which you backed up from your old server Ensure any folders which should be writable, remain writable on your new server. The folders which should be writable by the software are as follows applications datastore plugins uploads recursively (all contents) Step 3 - Software configuration Open your conf_global.php file, which can be found at the root of your installations folder on the new server. In here you will need to edit the mysql username, password, and database name, to match the new database you have set up and restored to. Log into your admin control panel and run through the support tools by visiting System>Support>Support, and selecting "something isnt working correctly". You will need to select next only until it states cache has been cleared. Other considerations If you have also changed the URL of your site, or the folder in which your site will be in (for example moved it from a subfolder into root), then you will also need to change the site URL within your conf_global.php file. You should do this prior to running the support tool in the steps above. If you have a constants.php file (not all configurations will have this), then please ensure that you check any paths which may be present within this file as they will likely need to be updated. If you are using .htaccess for friendly url rewrites you may also need to adjust the path in the .htaccess file or download a new one from the admincp > Search Engine Optimization > Friendly URL sub-tab. ----------------------- Test installations Creating a test installation would be the same process as above, however you would be copying, rather than moving the software. You would need to ensure you have changed your URL within your conf_global.php file as described above. In addition, you need to ensure you change to your test license key from the following location system>settings>license key Your test key, would be your current license key, suffixed with -TESTINSTALL . So for example, if you have a license key of the following 000-000-000 then your test key would be 000-000-000 -TESTINSTALL All test installations should be protected by htaccess, and not available to the public, as per your license agreement.
-
Creating a Home Page
IntroductionIn this guide, we’ll walk through creating a basic home page from scratch, demonstrating just how simple it can be to build a clean, informative, and visually appealing page within the platform. Whether you’re setting up a new site or refreshing an existing one, you don’t need any advanced design or coding experience to achieve great results. By following along, you’ll see how quickly you can combine built-in tools and content blocks to produce a professional-looking layout that clearly presents your key information. The aim here is not only to create a functional home page, but to show how easily you can tailor it to suit your own community or business needs. Getting StartedBefore we can begin adding any content, the first step is to create a page to work with. This provides the foundation for everything that follows, giving us a dedicated space where we can build and structure our home page. In this section, we’ll guide you through the process of creating a new page within the Admin CP. Once created, this page will act as the canvas for your content, allowing you to start adding blocks, text, images, and other elements to bring your home page to life. Setting the Default AppBefore we begin, we need to ensure that Pages is set as the default application, so it is shown first when your site loads. This can be found in the following location within the Admin CP System → Site Features → Applications From here, locate the Pages application and select the star icon next to it to set it as the default. Select the Pages Application for Default Creating a PageTo create a new page, navigate to the Pages section and select the option to add a new page. This can be found in the following location within the Admin CP Pages → Page Management → Pages From here, click on “Add Page” to begin creating your new page. Click on Add Page to Create When prompted to choose a page type, select Page Editor. This option allows you to use the simple drag-and-drop builder, making it quick and easy to design your page layout without any coding. Use Page Editor for Simple Drag & Drop On the first tab, enter “Home” as the page name, and leave the remaining options as their default values. We will also keep the suite HTML wrapper enabled, as this ensures your page inherits the overall structure and styling of your site, such as the header, footer, and navigation. This keeps your new page consistent with the rest of your community. Add Only Name You can ignore the Title & Meta Tags tab for now, as this is not required for our basic setup. Next, move to the Menu tab. Here, we will create a menu item so the page appears in your site’s navigation bar. Enable the option to add it to the menu, and leave the remaining settings as their default values. Select to Add to the Navigation Once you click Save, you will be prompted to set permissions for the page. As this is a home page that should be visible to all visitors, ensure all permission options are selected. This will allow everyone to view the page. Once selected, click save to continue. Select All Permissions You will now be returned to the page list. From here, we need to set this new page as the default. Locate the page you have just created, click the dropdown menu next to it, and select “Set as default page”. This will ensure your new home page is shown when users first visit your site. Setting the Page as Default Accessing the Page Editor To access the page editor, click on the pencil icon next to your page. This will take you to the front end of your site, with the page editor open and ready to use, allowing you to start building your layout straight away. Opening the Page Editor Adding ContentWe’re now ready to start adding content. By default, you will see a blank page with the page editor open. On the left-hand side, you will find the available blocks and widgets that can be added to your page. These are the building elements we’ll use next to start creating our layout and adding content. Placing & Editing BlocksBlocks can be added to your page by simply dragging and dropping them into place. You will notice that the drop locations are already visible on the page. These indicate where blocks can be placed. Simply drag a block from the left-hand side and drop it into any of these areas to position your content exactly where you want it. All blocks include an edit option, which can be accessed by clicking the edit button on the block itself. The options available within this menu will vary depending on the type of block you are using, allowing you to customise the content and behaviour of each block to suit your needs. Editable Blocks Here, we have added our first block, a WYSIWYG block, which allows you to add simple formatted text to your page. When editing this block, you can enter and format the text you want to display. In this example, we’ve added some welcome text to introduce visitors to the site. Adding Details to a WYSIWYG block LayoutsWhen placing blocks, you will see a layout icon appear at the bottom of the page. Selecting this will display different layout options, which change how the block is visually presented, rather than where it is positioned. For example, you may choose styles such as a wallpaper or other display variations depending on the block. For our topic feed, we’ve chosen to use a grid view layout. This presents the content in a clean, structured format, making it easier for visitors to browse and quickly pick out items of interest. Selecting a Grid Layout You can also place blocks side by side within the main central drop zones. By dragging a block next to another, you can create columns and build more dynamic layouts, allowing you to organise your content in a way that best suits your page design. Side By Side Layout When you first drop a block into place, you will notice that the entire area is selected, rather than just the individual block. At the same time, new layout options will appear at the bottom of the page. These options allow you to control how content is arranged within that section, such as adjusting how blocks are positioned and displayed alongside each other. Grouped Layout Options In this example, we have chosen to display the block in a side column on the right-hand side of the page. To keep the layout clean and uncluttered, we have also disabled images for this block. This can be done by first selecting the block, then using the layout options and enabling the “Hide Images” setting for that Selecting to Hide Images On the sidebar, you will see we have now added a newsletter signup block. However, you will also notice left and right arrows at the bottom of this area. This indicates that multiple blocks have been placed in the same location. In this case, one block has been dropped on top of another, meaning there are two blocks occupying this space. You can switch between them using the left and right arrows. Tip You may wish to use a completely different theme on your site, for one specific page. You can do this by selecting your chosen theme on the Details tab Final ResultTo finish up, we’ve added a recent achievements block and then closed the page editor. All changes are saved automatically as you work, so there’s no need to manually save at any point. With that done, your first home page is now complete, providing a clear and engaging overview of your site and its content for visitors. Example Home Page
-
Very Old Topics Aren't Viewable in a Forum Which Was Just Relocated
^ this is indeed likely to be the issue you are having there. Certainly rebuilding the search index isnt likely to change anything there
-
Disable 'Click & Hold' in Topic List View
No problem. :)
-
Extra Fields
Selling products within the Commerce platform requires very little setup to get started. However, you may wish to collect additional information from customers, either to help fulfil orders or to adjust pricing based on selected options. Creating FieldsCreating fields can be done from the following area within the Admin CP: Commerce->Store->Custom Fields Select 'Create New', and fill in details as required for your own fields. This is shown below as an example where we are selling support levels Creating a New Field Adding to ProductsExtra fields are reusable items, so you can use them on either a single product, or multiple. To add these to your products, simply add these on the product settings page of your product. You can add more than one of your extra fields on a product. Adding Fields to Products Using for Pricing & StockWithin the 'Stock and Price Adjustments' tab of any product you add extra fields to, you can configure price and stock adjustments based on selections made in custom fields. For example, in the screenshot below, an 'additional packages' field has been added for a product selling support levels. This allows the price to increase based on the selected additional packaged, without needing to create a separate product for each variation. It’s an efficient way to manage product options while keeping your store streamlined. Adjusting Price for Product Fields
-
Using Blocks Externally
It can sometimes be useful to display blocks from Pages, including your own custom blocks, on external websites. Invision Community allows you to embed these directly from the Admin CP. Getting External CodeTo do this, log into your Admin CP and navigate to Pages → Page Management → Blocks. From there, open the dropdown next to the block you wish to embed and select External Embed. Locating External Embed Once selected, you will be presented with a screen similar to the one below. Copy the provided code into your website where you wish the block to appear. You will also see an option to Inherit key styles from parent page. If enabled, the block will use styling from your community. If disabled, you will need to apply your own styling within your website’s code. External Embed Code
-
Disable 'Click & Hold' in Topic List View
There isnt a way in which you would be able to do that within the core, but you could try this. Before you do this, I am not a CSS guy in any way. So there is every possibility it has unintended concequences. Use with care a[data-role="editableTitle"] { pointer-events: none; cursor: default; }
-
5.0.17 is now available!
Please could you let us know where you are seeing this on the core app? Im not able to find anywhere with this issue it seems
-
Case-Study: Building a Recipe Section
IntroductionAs mentioned in the Introduction to Pages guide, unlike other applications, Pages starts as a blank slate. Its purpose is to provide the tools needed to build your own areas of your community. As a result, it can feel a little intimidating to new users—especially those without coding experience—since you are responsible for creating what you need using the tools provided. This tutorial will help you get started by walking through the creation of a simple recipe section, with concepts that can be applied to many different types of content. Creating the DatabaseDatabases are set up in the Admin CP by navigating to Pages → Databases. Here, you will see a list of the current databases in your community. Click the 'Create New' button to add a new one. Each tabs content will then be explained here DetailsOn the first tab, you will set up the basic details of your database. Enter 'Recipes' as the name. This is how it will appear throughout the community, such as in search results. You can also enter a description if desired, which will be shown on the database homepage when users visit. The next settings control how categories and records are handled. You can choose whether to use categories, and if enabled, whether users see a category listing or a blog-style layout. For this example, select the options to use categories and display the category listing. We will also be allowing categories for Recipe entries within members own clubs. Further enhancing deep integration between your sites features General Database Details Creating a database will automatically generate a page for users to view. You can customise items such as the page name, titles, and other settings if you wish. For this example, these will be left blank, meaning page titles and meta tags will default to the database name. Database Page Settings DisplayNext, you can choose the templates this database will use, along with other visual options. While custom templates are available for more advanced setups, we will use the defaults here so no code editing is required. Database Display Tab LanguageThe fields on the Language tab allow you to customise the terms Invision uses to refer to records in your database, since 'records' is quite generic. As different languages have different grammar rules, there are five variations to define. For English, we will use items such as 'recipe' and 'recipes', as shown below Database Languages Tab OptionsThe Options tab is where more detailed configuration of the database takes place. For this example, we won’t enable wiki-style editing (where any member can edit any record), and we don’t need to store revisions. However, we will enable searching, and allow both comments and reviews. The first half of the form should therefore be configured as follows: Database Options Tab The final section of this tab covers the record image. This built-in field allows users to upload an image to represent each record. We will use this feature, and the default settings are suitable for our needs: Image Settings Forums & SEO TabsWe will be leaving both these tabs as they are for the purpose of this example. However both are described here Forums - This area will allow you to post to a specific forum when an entry is added SEO - This area will allow you to set how search engines should view content in this area On save, you will be given options to set the permissions on the database to your choosing. Permissions are outside the scope of this guide, however you can see more on permissions under the security & rules section. Creating CategoriesNext, we’ll focus on creating categories. If you’ve created categories in other Invision applications, the process will feel very similar. When you hover over the Pages tab in the Admin CP, you will see your database listed as a menu item, with a Categories link beneath it. Click this to view your current categories, where you will see a default Records category. Select 'Create New' to add a new category. For this example, name it Main Courses. There is no need to manually enter a friendly URL slug, as one will be automatically generated based on the category name (e.g. <yourcommunity>/recipes/main-courses/record). Category Setup We do want to show the record listing for this category, as it will display our recipes. We will leave Star Ratings disabled, and also leave Set Custom Permissions disabled. However, if you need different permissions for a specific category, you can enable this option and configure them here. We will also keep the default database templates selected. If required, you can assign different templates per category using these settings. For now, the remaining tabs can be ignored, as we are not using those features. After refreshing the front end, you will see your new category. In this example, additional categories have also been created to better organise the recipes section, along with deleting the default records category Category Listing Custom FieldsCustom fields allow you to tailor a database to your specific needs. IPS4 supports a wide range of field types, from text and numbers to uploads and YouTube embeds, ensuring you can capture data in the most suitable format. For this example, we will create the following fields for each recipe: List of ingredients Prep time Cook time Cuisine A link to a YouTube video recipe There is no need to create fields for the recipe title or instructions, as the database already includes a title field, and we will use the built-in content field for the instructions. Next, we’ll look at how to set up these custom fields and customise how they are displayed. How to do itTo create a new field, hover over the Pages tab in the Admin CP, then select Fields under the Recipes database. You will see a list of the default built-in fields, including Title and Content. Click 'Create New' to open the field configuration form and enter Ingredients as the title. In the description, enter “One per line”. This is only shown on the add/edit form and is useful for providing input guidance. For the field type, select Editor, as this allows users to format the list if needed. Leave the maximum length at its default, but ensure the field is required so it must be completed. General Field Options Next, switch to the Display tab. Enter ingredients as the field key, which is used to reference the field in templates. Disable the option to show this field on the listing screen, but enable it for the record display screen, as this is where recipe details are viewed. Finally, set the display format to Label: Value, as this is more suitable for content created with the Editor. We'll show the list of ingredients above the main record content, so make sure Above the item content is selected for the Display option. Field Display Options Other FieldsOther fields can be created in the same way. Rather than repeating the full process, use the configuration options below for each field, leaving any settings not mentioned at their default values. Note Some field types, such as the Select Box used for Cuisine (see below), allow you to define a fixed set of options for users to choose from. These are set up as key/value pairs in the Admin CP, though only the values are shown to users. The key is used internally by Invision and within custom templates, and is best kept as a single lowercase word. Prep time Name: Prep Time Type: Text Required: No Template key: prep-time Listing view format: Label: Value Display view format: Label: Value Cook time Name: Cook Time Type: Text Required: No Template key: cook-time Listing view format: Label: Value Display view format: Label: Value Cuisine Name: Cuisine Type: Select Box Content: (key/value) indian / Indian italian / Italian american / American mexican / Mexican Allow filtering: Yes Required: Yes Template key: cuisine Listing view format: Label: Value Display view format: Label: Value Display: Above the item content Video recipe Name: Video tutorial Type: YouTube Required: No Template key: video-tutorial Show in listing template: No Show in display template: Yes In a record, display as: Embedded Player ResultThat’s it! If you head over to the front-end page for your database, open a category, and click the Add New Recipe button, you will see your fields on the form, ready to collect information. Feel free to add some sample records to test it out. You will also notice the Record Image field provided by the database. When you upload an image here, it will automatically be displayed within the record view. Recipe Listing Recipe Record
-
Custom Fields in Templates
When creating a new database template, there may be times when you want to display custom fields in specific locations. This guide explains how to use custom fields within your database templates, provides examples of how to include them, and gives a brief overview of each field display type. The BasicsTo understand how custom fields are used within templates, it’s important to be familiar with the items available in your template code. When creating a custom field, the Display tab will show a screen similar to the one below. Each section is described below and will be relevant when adding items to your custom templates. Display Options for Custom Fields Template Key - This is how you will reference your field within your template. When creating fields, try to stick to a convention of naming which is relevant to what the field contains, and the database if you have more than one. So for example I may have 'bugs_area_text' which would be clear to me in my instance, that it's the bugs database, the field which shows the area where the bug is, and it's a text field. Sticking to some sort of convention may help make your templates easier to read as you are developing them. Listing View Format - This is the format used when referencing the listing view, which will be discussed below. Display View Format - This is the format used when referencing the display view, which will be discussed below. Note also that display is the default view to be used if no other is specified. Display - In addition to the Display View Format, there is also a specifier for where this should be placed. You can reference each of these options specifically in your template code. Template SyntaxAny field you create can be used within your database templates using the following code: {$record->customFieldDisplayByKey('your_template_key', 'viewtype')|raw}The template key parameter should match the value entered in the Template Key field on the Display tab of your custom field. The view type parameter specifies the format you want to display, based on the options available in the Display tab. The available view types are as follows: listing - This will show the value as per any listing badge preferences as set up on your custom field. This is usually used within a record list. display/display_top/display_bottom - Each of these show the value as per any display value set up in your custom field. Display on its own will just show the format, however you can use display top and bottom to display based on which of these items is selected within that field for the display section. thumbs - returns an array of \IPS\File objects . Returned only with image types, where thumbnail creation is selected. upload- returns an array of \IPS\File objects . Returned only with upload field type. raw - this will show the value as store in the database, unless there are muliple upload (returned as an array of URLs) or they are a Reciprocal field type (returned as an array of record objects) processed - this will show the raw value as specified above, however is also passed through the form helper Adding |raw means the value will not be escaped. This can be useful for fields that contain URLs or HTML output, such as thumbnails or YouTube embeds. However, when used with plain text fields, be aware that this allows unescaped content to be output directly to the page. An ExampleFor this example, we have created a field named 'Sub Title'. The field has been configured, and in this case, it will be used to display a subtitle for the record, as shown below. Template Key for Use in Custom Templates We are happy with one of the preset display options, so have selected the one below Changing Display View Format We now need to edit the record template and add the line where we want it to appear—in this case, just below the title. Adding to the Template Info Note that the syntax used here includes the |raw at the end. This is because what will be returned will the the HTML from the standard display format I have chosen, and I dont wish for this to be escaped. {$record->customFieldDisplayByKey('sub_title', 'display')|raw} We have added in a default format here, however of course you may wish to use "No formatting" and then apply your own CSS formatting to your custom items Example
-
Pages Templates, CSS & JS
Templates, CSS, and JavaScript files allow you to customise the default output of various parts of Pages, enabling you to build unique areas of your site. Important Only those familiar with HTML, CSS, and some PHP should modify templates. As these involve editing code, it is possible to unintentionally break parts of your site. Main Templates Page Types of template in PagesTemplates allow for advanced customizing of your Pages areas, so that they're unique to your site and to your particular use of them. There's three primary types of template you can customize: Database templates Databases templates let you change the output of just about every part of your databases. There's four main types of template: Category Index The templates that render the category index of a database, and subcategories when browsing the record listing. Listing Templates that render the record listing Display Templates that render record view itself, including comments & reviews Form Templates for the add/edit form, allowing you to customize this form per-database Page templates By default, a page will use the suite wrapper, which includes the header, navigation, user bar etc. leaving your page content to control the actual content area. However, you can instead choose to use a custom page wrapper, allowing you to control the entire output of the page. Wrappers are created as page templates, and selected when you create your page. Block templates When you create a plugin block showing a feed of data, IPS4 uses a default template. You can however customize this template or create a new one, allowing each block to have a unique appearance. Block TemplatesBlocks can make use of the full range of Invision template syntax, offering a high level of flexibility. The data available to each template depends on its type—for example, a database listing template will receive data from the database category, while a block template will receive data based on its filters. All templates also have access to the underlying Invision PHP framework. Existing block templates can be edited when creating a block using an existing block plugin type. A block plugin can be thought of as a predefined block type. In the example below, a new block is created using the Image Feed plugin. This can be done from the following area: Pages → Page Management → Blocks Creating a New Block from Plugins Once you have selected the block plugin, you will see on the Content tab that you can use the plugin’s template as a base for a custom template, allowing you to tailor it to your specific needs. Block Template Editing Page/Database TemplatesDatabase and page templates are managed in the Pages template editor, accessed via the following location in the Admin CP: Pages → Templates here you can create new templates using the 'New' button. Adding New Templates
-
Resources
Often, you may have resources you wish to use within Pages, page templates, or theme templates, such as images, fonts, and more. While these could be uploaded via FTP to your server or hosted elsewhere, Invision Community provides a way to upload and manage these directly from your Admin CP. Media ManagerThe Media Manager can be found in the following location within your Admin CP: Pages → Page Management → Media Media Manager Screen From here, you can upload new items using the provided button. These can be files of any type that you wish to use within your templates or pages. You can also create folders from the top left to organise your files as needed. Using Media TagsOnce your media is uploaded, clicking on any resource will open an info panel on the left. This displays the media tag for that item, which you can use to reference it within your templates or pages. Media Tag Location You can use these resources wherever needed. For example, you could add an image to the top of the Category Index within the default database templates using the following: <img src="{media="3"}" /> Example Added Tag
-
Databases
What is a database?Databases are one of the most powerful and flexible features available in the Pages application. With some configuration and customization, they enable you to add complex, data-driven areas to your community, using some of the basic underlying functionality that full IPS4 applications have. Databases, as the name implies, are designed to hold data and display that to the user. This might be as simple as a table of records each containing a title and a body, from which you could make a very simple blog-like section, or it might be as complex as a completely custom interface backed by a large number of custom data fields specific to your needs - and the possibilities for this are endless. FeaturesSearchingDatabases are searchable by default (although you can turn this off if desired). Each database is treated as a distinct area of your community, so on the search form, each database is listed as a first-class area to search, much like the Forums app for example. Core suite featuresPages provides a range of core application features to databases that make even the simplest database feature-rich and well-integrated with your community from the outset. Commenting and writing reviews for records is available (although this can be disabled per-database). Users can also follow categories and records to be notified of new content wherever they are in the community. Social features such as reputation and sharing to other social networks is also built-in and available for records. Tagging and full moderation of records is also supported by default, and integrated across the suite as you'd expect. Wiki-style editingIn terms of adding/editing records, databases in Pages behave much like you'd expect from our other applications; that is, when a user with permission creates a record, they 'own' it. However, databases have an option for wiki-style editing, whereby any user can edit records after they are created. This approach is great for community-curated content. RevisionsDatabases also support revisions for records. This means each time a record changes, the previous version is saved as a revision that can be accessed again later - you can also revert to an earlier revision if desired. Forum IntegrationFinally, databases has special integration with our Forums app. When posting a new record to a Pages database, IPS4 can optionally cross-post the record as a forum topic, to a category of your choosing. But it goes further - you can even use the forum topic as the comments for the record, rather than the standard commenting interface that records have. What does a database consist of?There's a few key components in a database to be aware of when creating one: The database itself Naturally, you need to create the database itself. This is where you configure options that affect that database as a whole, such as sorting, permissions, and so on. Categories If your databases uses categories (you can optionally choose not to), they add another level of structure and permissions. Fields We'll cover fields in more depth shortly, but you can create custom fields for all kinds of data that you might need for your database. IPS4 supports a wide range of field types, from simple text boxes up to YouTube embeds, upload fields and intra-database relationships. Templates Templates allow you to customize the output of the database. Default templates are supplied with IPS4, and if you aren't a coder, using these defaults allow you to get a database up and running quickly. For coders, however, customizing templates is the best way to build complex data-driven applications. Database URL StructureDatabases exist inside a page you've created with Pages. Individual categories and records in the database are accessed via the URL of the page. For example, if you had a page with the URL <yourcommunity>/mypage and this page contained your database, you might have a record that's accessed via the URL <yourcommunity>/mypage/category/record, where category is the category name and record is the record name. Your URLs would dynamically update themselves if you renamed your page or moved the database to a different page. To facilitate this approach, databases can only exist in one page at a time. They can't be duplicated on other pages (although you can create blocks showing data from the database and use them on other pages). FieldsMore advanced uses of databases require custom data to achieve their goals, and fields can be set up to gather this data. Fields are created in the AdminCP, and when a user adds a new record, the fields are shown on the form. IPS4 supports a wide range of field types, allowing you to capture data of a specific type easily. Here's the supported types: Address Provides a special auto-completing address field, powered by Google Checkbox A single on/off checkbox Checkbox set A group of several on/off checkboxes Code Provides a way to syntax-highlight code Date A date field, with a date picker Editor Provides a rich text editor for WYSIWYG editing Database relationship An advanced field type that allows records from different databases to be associated Member Provides an auto-complete member search box Number A number input box (on older browsers, reverts to a simple text box but with number validation) Password A password input field Radio A group of radio boxes (meaning only one of the options can be selected) Select box A drop-down menu containing the provided options (can allow multiple selections if desired) Soundcloud A Soundcloud embed field Spotify A Spotify embed field Telephone A telephone number input field (on older browsers, reverts to a simple text box) Text (default) A one-line text input field Text Area A multiple-line text input field Upload An IPS4 upload field URL A URL input field (on older browsers, reverts to a simple text box with URL format validation) Yes/No A toggle field that can accept yes or no values YouTube A YouTube embed field Many of these field types have additional options specific to them. For example, select boxes have an option to allow multiple values to be selected, whereas the upload has options to allow multiple files, and a way to restrict file types. Field FormattingFields can have automatic formatting applied to them. For non-coders, a range of badge colors is available to choose from, and you have some control over the location that the field shows in the listing or record display. For coders, however, you have full control over the HTML output for each field, including having use of IPS4's template logic. This means you have the ability to use the data stored by IPS4 for each field in some very interesting ways - for example, you might take the value of an address field and use it to output an embedded Google Maps map, or even create some fields that you don't output, but instead use to control the layout of your record templates. There are a huge number of possibilities. PermissionsThere's multiple levels of permissions at play with databases: Page-level Since pages have their own permission settings, if the user doesn't have permission to see the page, they won't be able to see the database either. Database-level Permissions can be set at a database-level, which forms the default permissions for categories in the database too. Category-level A category can optionally override the database-level permissions and provide its own. This is useful for hidden categories - perhaps staff only, or a category only for premium members. Managing DatabasesDatabases are managed by going to Pages -> Databases in the AdminCP. You'll also find that databases are listed in the Pages menu in the AdminCP for quicker access. From this screen, you'll see some simple information about each of your databases, as well as menu items to manage each part: Managing Existing Databases Records can be added either via the AdminCP (click the icon) or via the front-end page that displays the database. This means users don't need AdminCP access to add/edit records. Creating DatabasesTo create a database, click the Create New button on the screen above. There's a number of configuration options available to you. Details The basic settings for this database. At the bottom of this tab, you can choose the templates you want to use for this database. If you haven't created them yet, you always do this later. Language On the Language tab, you set up the words that will be used to refer to records in this database (rather than the generic 'records' terminology). For example, if you are creating a database for guides, these language choices will mean IPS4 will refer to your database in context, such as "Search Guides", "There are 5 guides in this database" and "Create a new guide". Options This tab more finely controls how your database will work, including comments, reviews, tagging, and the 'wiki-style' editing we covered earlier. Sorting options are also available here, allowing you to choose the order of records, and more importantly, the field on which they are sorted. For example, if you had a database containing records about dinosaurs, you may want to sort the records by Era (a custom field you will have created). You can return to this tag after creating your fields later to configure it. Forum This tab configures the aforementioned Forums integration for the database (individual categories can override these settings too). Page Since a database requires a page in which it displays, this will be created automatically as part of the database creation process. Alternatively, you can add it to one of your existing pages later.
-
Introduction to Pages
IntroductionPages is an application designed to help you build custom areas within your community. This can range from simple, reusable sidebar blocks to fully featured applications created using the Databases feature. Unlike other applications, which provide a structured (though customisable) front-end ready to use after installation, Pages works more like a toolbox. It gives you the features needed to build your own front-end experiences, meaning some initial setup is required before you have content ready to publish. This guide will introduce the core concepts and features to help you get started. Who is Pages For?Pages is designed for everyone. It includes easy-to-use features like drag-and-drop page building, while also giving power users access to the full Invision framework. If you have experience you have with HTML and PHP, the more advanced you may wish to be with your creations. However, no coding knowledge is required to get started
-
Donations
Donations can be a quick and easy way to generate revenue towards the running costs of your site. Within Invision Community, you can create donation goals, for example, setting a goal for 'Running Costs' with a target amount, allowing members to contribute towards it. Donation GoalsYou can set up a donation goal within the following area of your Admin CP: Commerce → Payments → Donations → Goals Goal Setup Here, you can set the target amount for your goal along with a description to explain its purpose to your users. You can create as many goals as you like, and these will be listed on the main goals page. Admin CP Goals List DonatingYour users can then donate towards these goals from the Donations page on the front end of your site. This appears by default as a submenu under the Store link, where users can choose and donate to any available goal. Donations Page In addition to the main donations page, a block is available within the page editor, allowing you to highlight your donation goals anywhere on your site. Donations Widget
-
Gift Cards & Coupons
Gift CardGift cards are an important part of many online stores, providing a flexible and convenient way for customers to purchase for others while helping to drive additional sales. You can set up gift cards on the system, allowing your customers to purchase gift cards for others to use on your site. To configure gift cards, navigate to the following location within your AdminCP: Commerce → Store → Settings → Gift Cards When visiting this area, you can configure the gift card amounts available for purchase. You can set predefined values for members to choose from, and optionally allow them to enter a custom amount if you wish. An example of this setup is shown below. Admin CP Gift Card Settings Your members can then purchase gift cards from the Gift Cards menu option. This is usually under the store menu, however the exact location of this option may vary depending on your menu configuration. When choosing to purchase a gift card, you can select a design, add a personal message for the recipient, and customise the gift card as needed. You can then choose to either print the gift card or have it sent directly to the recipient via email. Your members can then redeem gift cards using the Redeem button shown in the image above (next to the buy button). They will then be prompted to enter the gift card code, which can be found on the gift card itself. CouponsWithin Commerce, you can set up coupon codes to use in promotions across your store. These can be configured from: Commerce → Store → Coupons Once you visit this area, you can create coupon codes that offer either a fixed monetary discount or a percentage-based discount. You can also control how these codes are used by setting applicable products, expiry dates, usage limits, and other restrictions. In the example above, a 'SAVE10' code has been created, which provides customers with a 10% discount on their purchase. This code can then be entered by the customer during the checkout process.
-
Client Areas
Your customers have access to several areas related to their purchases and orders within Commerce, as well as sections where they can manage their personal details, such as addresses and alternative contact information. By default, these areas are available under the Store tab, which is what will be shown in this step. Please note that these items may have been moved if you have customised your navigation using the Menu Manager. OrdersUnder the 'Orders' tab, you will see any orders that are still awaiting action. This may include orders pending approval, awaiting payment, or those that require cancellation by the customer. Orders PurchasesUnder 'Manage Purchases', you can view all purchases you have made on the system. From here, you can cancel any recurring items if needed, as well as access additional details such as downloadable products. Managing Purchases Personal Information & AddressesThe personal information section will allow you to set your name, and telephone number within your account. From the addresses section, you can view and manage your saved addresses. You can add, edit, or remove both personal and business addresses as needed. Keeping these details up to date helps ensure your information is accurate for billing and any future orders. Address Book Alternative ContactsFrom here, you can view any alternative contacts set up on your account. These users will be able to see all the invoices on your account and pay any pending ones. When a new invoice is generated, they will be sent a copy. They will also be able to manage the billing for the purchases selected above (for example generating a new renewal invoice or cancelling renewals). Alternative Contacts
-
Invoicing Customers
Managing invoices is an important part of any e-commerce platform. In IPS4, you are provided with the tools to manage these directly within your Admin CP. Invoices and SettingsYou can manage invoices from the following area in your Admin CP: Commerce → Payments → Invoices. When entering this screen, you will see the following screen. It is important to note the statuses and what these represent on the system. Pending - This is the initial invoice status. By selecting the tick icon, you can mark these items as paid which will move these to the paid status. Paid - These invoices are paid. Expired - These are invoices which have expired based on your invoice settings (discussed further down) Cancelled - These are invoiced which have been cancelled by the user, or set as cancelled by an administrator Invoice Listing You can view or print any of these invoices using the icons provided. If an invoice is expired or cancelled, you can reissue it using the refresh icon or by selecting the option from the dropdown menu. Selecting Invoice Settings at the top of the page allows you to configure headers and footers for your invoices, as well as set key periods such as renewal expiry dates and payment terms. You can see an example of this page in the image below. Invoice Settings Page TransactionsIt is important to note that a transaction is not the same as an invoice. A transaction simply represents an action that affects the value of an invoice, such as a credit or a payment from services like PayPal or 2Checkout. An invoice can therefore have multiple transactions associated with it, and each transaction may be successful or unsuccessful. You can access the transactions screen from the following area within your Admin CP: Commerce → Payments → Transactions. An example of this can be seen in the screenshot below. Transaction List You can see from the screenshot above there are various statuses that a transaction can be in. So you could have any of the following: Approved - These are transaction which have come through and are also approved. You would see these as that payment has been recieved. Failed - These are failed transactions, so the payment/credit has not gone through for this transaction Held for approval - These require approval. You can approve these via the tick icon in the list Refunded - These are items which you have refunded on the system. Within this area you can also view the transaction using the magnifying glass icon or delete them. You will also see there is a "left arrow" icon which can be used to refund an individual transaction. Creating Invoices ManuallyCustomers will be automatically invoiced when making a purchase on the system. However, there may be times when you need to manually create an invoice for a product or an ad-hoc charge. You can create a new invoice from Commerce → Payments → Invoices by selecting the Create Invoice button. Once selected, you will be prompted to choose a customer. Start typing into the box to see suggested matches from your customer list. Selecting a Customer Next, you will be asked to enter the basic details of the invoice. You can add a title if you wish, but this is optional—if left blank, one will be generated automatically. You can also set the invoice to the desired status at this stage, which is useful if, for example, the customer has already paid. Adding Invoice Details You will then be shown the invoice detail screen itself. You will need to add items to this using the 'Add' button in the top right as shown in the image below. Select Items from the List From this menu, you can select the different types of items to add to the invoice. You can include as many line items as needed on a single invoice. Descriptions of each option are provided below. Club Membership Fee - Purchase entry to a club Courses - Charge for enrolment in a course File - Purchase of a file in the downloads system Account Credit Increment - This is a charge for increasing a members credit balance. Custom - This will allow you to build a custom item using the product creation menus Gift Card - Charges for gift cards on the system which allows you to enter the gift card details Miscellaneous Charge - Allows you to set up a charge for anything you like not covered in other areas. Product - A charge for a product which is already set up on the system Member Subscription - Adding an invoice for purchase of a subscription item Renewal - A renewal charge for an item on the system. useful if someone would like to pay for more than one renewal at a time Note Which items are available will depend on what features you have active within the platform. For example, 'File' will only appear if paid files are enabled within Downloads.
-
Download Database
Yes. Please submit a ticket requesting this, and we can get you sorted
-
5.0.17 is now available!
There is indeed in the post above :) full changelog here
-
Group Icon Dark Mode
There unfortunately isnt currently a built in way in which to set an icon for light and an icon for dark on our group icons. At present you would need customisation or to choose an icon which suits both
-
5.0.17 is now available!
These are available within our Creator Pro, Team, Business and Enterprise packages, as mentioned above