Jump to content

Marc

Invision Community Team
  • Posts

    16,340
  • Joined

  • Last visited

  • Days Won

    281

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Invision Community 5 Bug Tracker

Forums

Events

Store

Gallery

Everything posted by Marc

  1. In addition to the standard search functionality of the site, there will often be content in which you wish to be able to search on a constant basis, without the need to have to create an advanced search for content items. An example of this would be 'Unread content' or 'Content I have started'. For this, we have Activity Streams. These provide you with the ability to set up lists of content based on a criteria that has been given, either by yourself, or user defined. All Activity Stream The 'All Activity' stream which is available in the activity menu by default, will give you a rundown of all activity on your site. Unlike other streams on your site, this will notify you of any new items since viewing the page. You can view this in either a condensed view (one line per item) or the default expanded view you see in the screenshot below. Live All Activity Screen If you wish to switch off some items from showing within 'All Activity' such as when members register, these can be switched off from the following location in the ACP System -> Content Discovery -> Streams -> Activity Stream Settings Activity Stream Settings User Defined Streams New Streams Within the default menu structure, under the 'Activity' menu item, you will see a 'My Activity Streams' option. Here you will see any admin defined activity streams, and also the ability to create your own stream (on a per user basis). Default Stream Menu When selecting to create new stream, you will be presented with the filters you wish to use for your new stream. Here I have created a new stream for a news forum on the site. Note you can select the cog icon at the side of any content type to select specific items under that content type. In this instance, a specific forum. New Stream Creation Any new streams that are created, are then shown under the 'My Activity Streams' menu, beneath the default set of streams. User Defined Streams Editing Existing Streams When viewing any existing streams, you will see a set of filters at the top of the page, in which you can change to your liking. Changing these will change the data shown in real time. Often there are times where you will wish to save a small change to an existing stream, rather than creating one from scratch. After making an edit to any of the filters, you will see a save button, which will then allow you to create a new stream from your changes. Save From an Existing Stream Admin Defined Streams Creation In the activity menu, you will see there are some streams in which are defined by default within the system. These items can be changed or added to within the following location in the ACP System -> Content Discovery -> Streams -> Activity Stream Settings You can filter by all areas of the site when creating a new stream in this area, or edit an existing stream. New Stream Creation Default Stream You will see at the bottom of each stream, there is a 'Default' selection box. Only one item can be select, which by default is the 'Unread' stream. If you change the default, it will change 'unread' link on the front end of your site to point to that new stream. In the image below, I have changed this to statues Default Stream
  2. Share Icons You can place links to share content to other social media such as Facebook and twitter. You will see these links below any content on the site. Here is an example from a topic. Share icons Share Permissions If you visit Sharing you will see all of the sharing sites that you can currently use. You can disable any of these completely at any time. Simply click the "Enabled" button and this will change to "Disabled" Shares Available If you click on the pencil icon at the side of any of these, you will be presented with options for which user groups can use any individual share link, along with any other options which may be relevant to that share link. Below is an example of the options for Twitter. Edit Share Option Social Sign In You can enable social networks like Facebook, Twitter, and more as an option for your visitors to register or login on your Community. Existing members can choose to link their accounts to one or more social media platforms to enable a more integrated experience. Setting up social media integration varies by network. Facebook Twitter Microsoft LinkedIn Another Community Instance Wordpress External Database
  3. There are several methods of adding advertisements on your Community both in HTML and as image-based ads. They are placed automatically in areas of your choosing. Create Ads Advertisements can be placed on you site in either image or plain HTML in Advertisements in the AdminCP. You can add a new advertisement by clicking on the "Create new" button shown in the image above. Once you have done this you will be presented with the various options for creating an image. You can either enter HTML code or you can click "Upload Images" in order to upload an ad image. In the example below, you will see you can chose to enter separate HTML code to appear on secure pages. Once you have added your image or advertisement code, you can then choose the location and permissions for your advert to be shown. You can select more than one location for an ad to show and criteria for when and how long to show the ad. When using Google Adsense adverts you may notice that page navigation no longer works as expected. This is caused by Google requiring that adverts are not loaded using AJAX. To resolve this issue you can disable AJAX pagination using the built in theme settings. Ajax Pagination Should you wish to disable an advert at any time, you can do this by clicking the "Enabled" text in the list, which will then change to "Disabled" Disable/Enable Manual Ad Placement You can put advertisements in several pre-defined locations but it is also possible to create additional locations which you can insert by modifying the HTML code for your community or use in the Pages application. First, create your advertisement as normal. For the "Show the advertisement" setting, select "Define your own location" and enter a key into the box (it can be whatever you like). You can then later use the same key for other advertisements that you want to show in this location. Now you will need to insert a special tag in the HTML code where you want the advertisement to show. The code to insert is: {advertisement="KEY"} Replace "KEY" with whatever key you used. In your theme Go to Themes and click the "Edit HTML and CSS" button for your default theme. The specific template you need to edit and where to make the change depends on where you want the advertisement to show. For this example, if you wanted the advertisement to show in the profile under the header, go to the core -> front -> profile -> profileHeader template and insert the code at the very bottom. Since each theme has its own HTML templates, you will now need to repeat this for each theme. In pages or blocks The tag can be inserted in a page, block or template within the Pages application. Simply insert the tag wherever you want the advertisement to show. Control when Ads Show Using the responsive CSS classes available in IPS4, it is possible to set your ads up so that different content displays depending on the device size. This only applies to ads you create yourself. If you use an ad service (such as Google Adsense), you should find out how that service supports responsive ads. For example: <div class='ipsResponsive_showDesktop ipsResponsive_showTablet ipsResponsive_block'> This ad shows on desktop and tablets, but *not* phones </div> <div class='ipsResponsive_showPhone ipsResponsive_block'> This ad shows on phones, but *not* desktop and tablets </div> Ads in email Introducts in version 4.4 of the Invision Community platform, is the ability to show your ads within your community emails, as well as on your site. Within the same email section, you will see an Email Advertisements tab, where you can ad advertisements which will only show within emails. Ads within Emails can be restricted to only show within specific email types. As you can see in the image below, I have changed this ad only to be sent when the email is from a Topic, such as a topic reply notification. Email Ads
×
×
  • Create New...