Jump to content

zbahadir

Members
  • Posts

    374
  • Joined

  • Last visited

Reputation Activity

  1. Like
    zbahadir reacted to bfarber for a blog entry, 4.4: Extend Invision Community with the REST API   
    Ever since its first release, the REST API built into the Invision Community software has proven to be a very powerful and well-received feature.
    We love seeing what our clients and modification authors are able to do with the level of integration afforded to them through this capability, and so it is only natural that we have looked to expand the functionality in our upcoming 4.4 release.
    Poll Support
    Beginning with 4.4, you will now be able to create and update polls for both topics and blog entries through the REST API. Of course, modification authors can use this new endpoint.
    Warn Reasons
    You will also now be able to manage warn reasons through the REST API. This includes fetching a list of reasons, as well as fetching an individual reason, creating warn reasons, updating existing warn reasons, and deleting warn reasons.
    Event Venues
    Event venues can now be listed and individual venues fetched through the REST API, and you can now add, update and delete event venues through the REST API.
    Member Notifications
    You can now retrieve a list of notifications for a specific member through the REST API, useful if you were to attempt to recreate the notifications menu on a third party website (for example).
    Warning Users
    The REST API will now expose the warnings a user has received through a new endpoint. Additionally, you can fetch individual warnings, issue new warnings, undo and/or delete issued warnings, and acknowledge warnings through the REST API. If you are building a site wrapper around your community, you can leverage this functionality to ensure that users are unable to post elsewhere on your site if they have unacknowledged warnings within the community (and also to provide them with a way to acknowledge those warnings right on your site).

    The REST API Reference
    Node permissions
    Beginning with 4.4, you will now be able to set the permissions for a node when adding or updating it through the REST API (for example, you can now adjust the permissions for a forum or a downloads category through the REST API). Many clients noticed that while they could create new nodes through the API, the nodes would be unusable until an administrator manually went in and specified the permissions, so this change can eliminate this extra step in many situations.
    Event filtering
    You will now also be able to filter the events you pull through the Calendar REST API endpoints by start and end date (e.g. so you can show events within a specific time frame, such as the current week), and you can now also specify to sort the events returned by the event start date or the event end date.
    Clubs
    And finally, for those who leverage clubs on their communities, we have built in full REST API support for clubs. You can list all clubs, return a specific club, create new clubs, update existing clubs, and delete clubs through the REST API. Further, you can list all members in a club, add a specific member to a specific club, remove a member from a club, fetch the content types available for use within a club (i.e. so you can determine which applications are installed and have club support on a given site), fetch the nodes (displayed as tabs/sections within a club) created within a club, and delete nodes from a club. Important behind the scenes steps, such as generating invoices for members requesting to join paid clubs, are all handled automatically for you when using the REST API.
    We believe these changes will help clients better integrate with our software and open up new possibilities with their websites.
    Would you like us to add any other endpoints? Let us know in the comments below!
  2. Thanks
    zbahadir reacted to Mark for a blog entry, 4.3: Sign in from other sites using OAuth   
    The best way to convert guests into members is to make the onboarding process as simple as possible.
    Over the years, we've added special log in methods for Facebook, Google, LinkedIn and Microsoft. We've carefully hand coded these integrations to allow guests to sign up with just a few clicks using services they're already a member of.
    These services used to use proprietary methods to link with other websites, but a new standard has emerged.
    OAuth
    You may not know it, but you're probably familiar with OAuth already. If you have enabled the ability for users of your community to sign in with their Facebook, Twitter, Google, LinkedIn or Microsoft account, you may have noticed that the process for setting up each of these is quite similar. This is because they all use the OAuth protocol.
    In Invision Community 4.3, we are introducing several exciting new features:
    In addition to all of the existing social networks above, which retain their "easy setup" status, we have also added Wordpress. Users on your community can now sign in with any Wordpress site you control (you will need to install a Wordpress plugin to enable OAuth capabilities). As well as those "easy setup" options, we have also added the ability for you to allow users on your site to sign in with any OAuth 2.0 based provider. This means, for example, if your community is based in a location where other social networks are popular, if they use OAuth, you can set those up too. While the setup is a little bit more complicated, this doesn't require any custom programming - you'll just need to find out a few more pieces of information from the provider (an example is provided below). Invision Community itself can now also serve as an OAuth 2.0 server so you can set up other sites to be able to facilitate logins using credentials from your community. This works in conjunction with our REST API, allowing you to make API calls as an authenticated member, which will return just the information that user has access to. With the ability for Invision Community to serve as both an OAuth server and client, this now provides standard integration for multiple Invision Communities together, which will now replace the old IPS Connect feature. We have also taken this opportunity to make a few other minor tweaks to login, registration and account management features, especially for communities which rely heavily on non-standard login methods (more details below).  
    Setting Up a Custom OAuth Provider
    For this example, I'm going to use vk.com, which is a popular social network in Europe. While Invision Community doesn't provide this as one of the "easy setup" options, it is based on OAuth 2.0 so we can use the new functionality in Invision Community 4.3 to set it up.
    In older versions, the list of login handlers in the AdminCP had all of the providers listed with enable/disable toggles - because now you can add as many custom handlers as you like in 4.3, it's now a list where you can add/delete options:

    Login Handlers List
    When clicking the "Create New" button, you'll see all of the different handlers Invision Community supports. Since vk.com isn't in the list, but is still OAuth 2.0-based, I'll choose the "Other OAuth 2.0" option:
     
    Choosing a Login Handler
    You'll now need to use the documentation provided by the site you want to integrate with to fill out this form. While no custom programming is required, the documentation is usually quite technical in nature - but you only need a few key pieces of information. We anticipate that for some of the more popular options, guides will be provided to help you find the information you need.
    I have created an application in vk.com's developer center and so I will copy and paste my credentials into the form:

    Inputting vk.com credentials
    I then need to find the endpoints from vk.com's documentation and input those too.

    Inputting vk.com endpoints
    Next I need to find the endpoint where I can access the user's information within their API and the parameters they are returned by. The only required piece of information is an ID, but you can also provide the parameters for accessing the display name, email address and profile photo. If display name/email address isn't available/provided, the user will be asked for this the first time they sign in. vk.com's API doesn't provide access to the email, but I can use the screen name as the display name, and they do provide access to the photo:


    Inputting vk.com User Information Endpoint and response parameters
    Finally, provide a logo and a color for the sign in button and some final settings:

    Inputting vk.com Logo and Button Color
    And now vk.com login is set up. A button will now show up on the front end which I can use to sign in. I didn't provide a way to access the email address, so on the first sign in, the user will be prompted to provide that, but the screen name and profile photo from vk.com will be used:

    Signing in with vk.com
     
    Using Invision Community as an OAuth Server
    You can also set up Invision Community itself to be an OAuth Server. This may be useful for two main reasons:
    If you want to integrate two communities together, or integrate with something else which supports adding custom OAuth clients. If you are a developer and want to use the REST API using OAuth for authentication rather than an API Key. You can either make requests as an authenticated user (by obtaining an access token) or using Client Credentials. The screenshots below show the full capabilities which are quite technical and mostly aimed at developers. If you will just use this feature to link two communities, don't be concerned if it looks too complicated, an easy-to-follow guide will be available to achieve that.
    You will set up the clients from the AdminCP:


    Setting up an OAuth Client
    When creating the OAuth Client, you can control which scopes are available, and which endpoints of the REST API they provide access to:

    Defining OAuth Client Scopes
    The login process is then the standard OAuth flow, and users have the ability to view authorisations in the account settings:

    Authenticating an OAuth Client
    The REST API has new and updated endpoints to be aware of the authenticated user:

    A new REST API endpoint which returns details of the currently authenticated user

    An updated REST API endpoint which, when called using OAuth authentication, will only return data the authenticated user has access to
     
    Other Login System Tweaks
    Users can now choose if they want to change their local display name or email address if it is changed by an external login method (or the administrator can choose this behaviour). If there is an issue with this (for example, it wants to change the email to one that is already taken), or profile photo syncing, this is now better communicated to the user. You can now control per-login-handler if new registrations are allowed using it. This addresses some confusion from previous versions as to if the "Allow New Registrations" setting applies to accounts being created by social network logins. The Standard login handler can be disabled if you rely totally on an alternate login method. To allow this to happen:  All areas where a user is prompted to re-enter their password (some areas of the account settings) now allow reauthentication using any login handler. You can disable local registration but still allow accounts to be created by other login handlers, or redirect users to an external URL to register an account. You can also disable or redirect to an external URL for changing email address / password or the Forgot Password tool. You can now create multiple instances of the external MySQL database and LDAP login methods which have also had some other minor tweaks: The external MySQL database handler now has PHP's password_hash() function as an available option for password encryption type, and defining a custom encryption method is now much easier, done entirely in the AdminCP without needing to modify PHP files. You can now choose if changes to the local display name / email address / password is synced back to the external database / LDAP database. You can optionally show these handlers in the Account Settings pages like other login handlers to allow users with an existing account to link their accounts. You can define a Forgot Password URL for the external database which the user will be redirected to if they try to use the Forgot Password tool and that is how their account is authenticated. 
  3. Like
    zbahadir reacted to Matt for a blog entry, New: Fluid Forum View   
    This is an entry about our IPS Community Suite 4.2 release.
    When you have a diverse range of topics within your community, it makes good sense to separate topics within forums and categories. This will ensure that the viewer can find relevant content by scanning the list of forums first.
    If you have a more focused community with fewer forums, presenting your community with a list of them can be daunting. This is especially true for less experienced visitors raised on social media.
    Fluid forum view allows your visitors to get right to the meat of your community; the topics.
    A fan site for a band is a good example of a community that will benefit with fluid view. There will likely be forums for album reviews, tour dates, general discussion and so on. Even though there are many forums, the common topic is the band. This makes fluid view ideal as your members can see all those related topics in one view. If your members wanted more specific topics, they could select a single forum to view.
    Let us take a look at fluid view in action. We will then break it down and explain how it works in more detail.

     
    The video shows the topic list and the forum filter box. As you can see, it is easy to change the topic list by changing the selected forums. This view replaces the traditional list of categories and forums.

     
    Of course, you can permit your members to change the view to better suit their way of working.

     
    You will notice a "grid" option. We have moved the grid forum theme setting into the main forum settings. This makes it an option for your members to choose, if the administrator permits it.

     
    You have full control over the display options. This screenshot shows that the control panel option to choose the default view. There is also an option to control which views your members can select. You may also decide to not allow your members to switch views at all. This will ensure that they all use the view you choose.

     
    You may have spotted that forum names have a colored background in some screenshots. We added the ability to define a feature color per forum. This feature color helps the forum stand out in a more visual way. This is especially useful when you select many forums in a single view.

     
    This feature color also works on the table view.

     
    We added a feature color hint to topic view to enforce the association between the forum and its color.
     

     
    This screenshot also shows the removal of the forum breadcrumb in fluid view mode. Fluid view remembers your last forum selection so you don't lose your place when you go back to the listing.
    The benefit of this feature is easy to see. It removes a potential barrier of entry for your audience. It puts the spotlight on topics themselves, and not the hierarchical forum structure. Your members will enjoy viewing many forums at once and switching between them without leaving the page.
    We hope that fluid view is an asset to your community and your members enjoy this new functionality.
    Technical notes.
    The database stores the members' view choice. This remembers the selection across devices. Guests are not permitted to change between views.
     
  4. Like
    zbahadir reacted to Andy Millne for a blog entry, New: Social Sign In Streamlining   
    This entry is about our IPS Community Suite 4.2 release.
    Social Sign In has long been a feature of the IPS Community Suite but we are always looking for ways to make interaction easier for your visitors. A small but significant improvement we are able to add for 4.2 is to include social sign in links directly at the point where your customers are ready to contribute.
     

    Hassle free inline sign in brings your customers right back where they need to be to comment
    Visitors are much more likely to comment when the registration process is as fluid as possible and social sign in has fast become a familiar and efficient way of doing so. After signing up via these methods users are logged in and brought right back to where they started ready to comment.
    Feedback from our testers has already shown that this change has an immediate effect on the volume of new registrations and we look forward to making it widely available with 4.2.
  5. Like
    zbahadir reacted to Andy Millne for a blog entry, New: Calendar - Add Similar Event   
    This entry is about our IPS Community Suite 4.2 release.
    Recurring events are not new with IPS Community Suite but often you may wish to create similar events that don't necessarily occur on a regular schedule. Previously this has meant creating a new event for each and then manually re-entering the information for event description, location, cover photo, RSVP options and so on. Often the only thing changing between the events would be the date and time.
    Starting with IPS Community Suite 4.2 it is now possible to create a similar event based on one you have already added with a single action.

    Create a copy of an event in one simple step
    After opting to add a similar event you will be presented with the add new event form with all of the event info already filled out for you. Just set the date and time, make any required adjustments and submit your new event.
    Note: This option is only presented to the author of the original event in order to reduce visual clutter for regular visitors.
    We will be announcing many more interface improvements such as this in the coming weeks so be sure to follow the News & Updates section for updates.
  6. Like
    zbahadir reacted to Charles for a blog entry, Video: 4.2 So Far   
    This entry is about our IPS Community Suite 4.2 release
    I made a quick video to demo things we have already announced for 4.2 so far.
    Enjoy  
  7. Like
    zbahadir reacted to Mark for a blog entry, New: Device Management   
    This entry is about our IPS Community Suite 4.2 release.
    One of our more technically-oriented features for 4.2, we have added more detailed logs of user logins, and the devices and IP addresses used. This brings several new features:
     
    Notification of a new device sign in
    If enabled, users can receive an email notification when a new device is used to log into their account:
     

    Email sent when a login from a new device is detected
    When a user signs in for the first time, a special key is set to recognise the browser on subsequent logins. This mean the notification email does not trigger on a new IP address, which would be annoying when travelling or if using a network where the IP address changes regularly. Instead, the notification is only triggered if someone signs into your account from a new physical device or web browser.
     
    UserCP Device Management
    If enabled, a new page will show in the user's settings page showing all the devices which have been used to log into their within the last 90 days (which is recent enough that could still be logged in if "Remember Me" was checked).

    Recently Used Devices
    Users can see the device, browser, physical location (obtained by a GeoIP lookup) and if applicable, how the login was processed (for example, if the sign in was with Facebook or Twitter, this will show). If they chose "Remember Me" when logging in, they can undo that (handy if you realise you accidentally left yourself signed in on a public computer).
    If they see anything they don't recognise, a page to walk them through the necessary steps to re-secure their account is available.

    Secure Account Information
     
    New Two-Factor Authentication Setting
    "Logging into the front-end" is one of the options of when to prompt for Two Factor Authentication. In 4.2, this has been separated into two distinct settings:
    Logging into the front-end from a new device Logging into the front-end from a known device If you enable the former, but not the latter, and the user has previously logged in devices, the system will automatically show an explanation to users alongside the other available recovery option. This can be useful especially if you do not want to offer other recovery options.
     
    AdminCP Device Management
    In the AdminCP, administrators can see all the device and IPs a member has used. They can also disable automatic login for any device.
     

    Edit member page shows most recently used device and IP address
     
     
    Viewing a device's details
    The system can also detect if another user is using the same device and will show this in the list of devices.
      
    Users sharing the same device
     
  8. Like
    zbahadir reacted to Charles for a blog entry, New: Delayed Deletes   
    This entry is about our IPS Community Suite 4.2 release.
    I am sure we have all accidentally clicked delete on a post in your community and then realized you needed it. Luckily we now have Delayed Deletes to easily restore deleted content.

    Settings in AdminCP
    You can delete just as you normally do as you moderate and your posts will be removed just like now. The main difference is that you can now view recently deleted content and restore as needed in the Moderator Control Panel.

    Easily view what is pending delete
    All you have to do is click the deleted item and you will be taken to that item in context of where it used to be. This makes is much easier to understand why it was deleted and decide if you should restore.

    Restore and view deleted content in context
    Delayed Deletes is a feature that could be a life saver for your community and we cannot wait to get it out to you.
  9. Like
    zbahadir reacted to Charles for a blog entry, New: Content Message   
    This entry is about our IPS Community Suite 4.2 release.
    Following on from our previous entry about the new Recommended Replies feature, we also have one more small feature change that will be very useful.
    Content Message is a small feature available in all IPS Community Suite content areas (forums, blogs, gallery, etc.) and allows a moderator to put a message at the top of any item.

    Topic with a moderator message
    This is useful if you have a special use for the area people are posting in, need to encourage conversation to stay on topic, or perhaps the conversation is becoming heated and you need to remind people to behave.
    Sometimes the smallest features can prove the most useful and already I have found myself reaching for this feature out of habit from using it on our test 4.2 installs and missing it on our production site. I cannot wait to have it available and I am sure you will enjoy the ability to add custom notes to any area of the Suite.
     
    Development Note
    For our power users: this feature and the Recommended Replies feature use a new content meta data capability. This allows you to store miscellaneous data that is attached to a content item which does not need to be otherwise searched or exposed unless you are viewing that item. We will provide technical details on this later but it is a really easy way to store data about content without having to create additional tables or methods.
  10. Like
    zbahadir reacted to Charles for a blog entry, New: Recommended Replies   
    This entry is about our IPS Community Suite 4.2 release.
    Sometimes you may find situations where you want to highlight one or more replies to a content item to bring attention to a really great response. This is especially true on busy communities where you might have dozens or even hundreds of replies in a single discussion.
    There is now an ability for a moderator to Recommend a reply (or multiple replies) and even leave an optional note explaining why they think you should view that post.

    Moderator Permission

    Optional note for recommended reply
    When a reply is Recommended you will see a snippet at the top of the content item along with the optional moderator note and a link to jump right to that reply.

    A topic with a recommended reply.
    You can Recommend more than one reply and this feature works through IPS Community Suite in forum topic, blog entries, gallery images, and so on. You can set this permission along with other moderator permissions in the AdminCP.
    We really think this will allow moderators to bring attention to some of the best replies and guide users to the best content your community has to offer.
  11. Like
    zbahadir reacted to Charles for a blog entry, IPS Community Suite 4.2 Coming Soon   
    We are well into development on IPS Community Suite 4.2 and are excited to start announcing all the new features and improvements.
    Our next big release is focused on engagement with your members. You will see enhancements to our Reputation system, new ways to encourage people to register on your community, and enhancements to existing features to make them more interactive. There are also entirely new capabilities we cannot wait to show you ranging from new ways to organize content to tools to help promote your community.
    Version 4.2 also features a refreshed AdminCP and default front-end design. Theme changes in 4.2 are mostly in the CSS framework so your existing themes will either work without issue or require minor changes to work in the new version.
    Over the next several weeks we will be posting news entries with previews of upcoming features fairly often. Be sure to follow our News section, our Facebook, or Twitter to stay up to date.
    We expect IPS Community Suite 4.2 to be out in mid-2017 with a public preview available sooner.
    Everyone at IPS has worked very hard on this update and we think you will love it!
×
×
  • Create New...