Jump to content


Welcome to IPS!

Feel free to browse our community to get a feel for how our community software operates. Post in the pre-sales forum with any questions you have before purchasing or use the Test Posting forum to post a few messages yourself! You can also get a free demo to try the IPS Community Suite yourself.

Already an active IPS client?

Login with the same email address and password you use for the client area to access client-only areas.





Photo * * * * * 6 votes

IP.Content 2.0 Dev Update: Tighter Forum Integration

Posted by bfarber, 05 March 2010 · 349 views

IP.Content is an extremely flexible system. While considering the possibilities with IP.Content and feeding content to your external pages, we knew that there were multiple options.



  • Using a database
    You can create a database to store content such as articles, and then allow commenting on these articles directly. In doing so, you keep your articles and your topics separated.
  • Using a blog
    You could create a blog, and then create a feed block that pulls entries from this specific blog to your homepage. In doing so, you could create a dynamically updated homepage which is fed from a specified blog. You would not easily be able to allow commenting on the entries on the homepage, but the blog itself would still allow commenting.
  • Using a forum
    You could create a forum and then post your "news" topics in this forum. Then you can create a forum feed block to pull these topics to your homepage. This allows for easy syndication of topics you wish to show elsewhere, although you will again face limitations when it comes to allowing comments.
  • Raw pages
    You could certainly create new pages manually, and update them on your homepage. You could even create a topic manually associated with each page, and then feed replies from that topic to the page using a forum reply feed block, if you wanted.

Many users have expressed interest in a hybrid method not listed above. Specifically, many users have requested a way to use the forums to facilitate commenting on database records. As of IP.Content 2.0, this will now be possible.



Overview

Databases are segregated from your forums on purpose. They are their own "section", and are designed to run independently of the forums. Still, there's no reason that the two can't play nicely together, right?



With IP.Content 2.0, you will now be able to turn on and off the forum integration at a per-database (and per-category) level. When you do, submitting a record to the database will post a topic in a forum of your choosing. You can also optionally choose to use that topic as the comment storage container. If you choose to do so, comments made in the database will actually be posted as replies to the topic, and the comments displayed on the page will be the replies pulled directly from the topic.



Specifics

For each database, you can enable and disable the forum integration. You will be able to turn the forum integration on, specify which forum the topics should be posted in, specify a topic title "prefix" and "suffix", specify if the topic should be deleted if the record gets deleted, and enable the feature to use the topic to host the comments for the record.



Attached Image




Further to this, you can override these settings at the category level as well. By default, the categories will inherit the forum settings, but you can edit each category and override any of the above settings.



Attached Image




This allows you to create some interesting combinations. You could use the built in database functionality for all categories except for your news category, for instance. Or you can have IP.Content post the topics in an appropriately mirrored category structure in the forums. It's up to you!



You can also allow IP.Content to remove the automatically generated topic (and any replies to the topic) when you delete the record, as well. Additionally, any standard moderator actions (delete comment, approve comment, unapprove comment, etc.) will work seamlessly from IP.Content, both from the front end and from the ACP, regardless of whether you use the forum integration or not. While you can manage comments from the forum as well (for instance, if you delete a reply to the topic, that "comment" will no longer show up when viewing the IP.Content record), we recommend you use IP.Content to manage the comments. In some instances, IP.Content may need to take additional actions which will only be triggered when the moderator action is initiated from IP.Content.



Comments

When you enable the forum integration for comments, any comments made on the record are not stored in the IP.Content database tables, but instead are posted as replies to the automatically created topic. When displaying the comments in IP.Content, instead of checking it's local tables it will instead pull the replies to the topic and display them on the record page. Users will be able to comment on the record directly, OR post a reply to the topic (provided you give them appropriate permissions in the forums). Either way, the comment will be displayed appropriately when viewing the record in IP.Content.



Note that IP.Content will be able to post to the topic even if you do not allow any permission masks to access the forums you have told IP.Content to use. This means you can create hidden forums to host the topics if you want, or you can create forums that are open to everyone. Some users may prefer to navigate your main website (powered by IP.Content), while some users may find navigating your forums more familiar. Using this new integration option, you can cater to both demographics on your site easily, all the while without increasing your workload or duplicating the content inappropriately across your site.



The comments as displayed in IP.Content when using the forum integration appear the same way they would if you stored the comments locally. Your users won't know the difference. Note that if you leave reputation on a comment that comes from the forum, the reputation is associated with the forum post (so the user will not be able to visit the topic and rep a post again). Just for completeness, here's an example of comments being fed from the automatically generated topic anyways.



Attached Image




Upgrading

When you upgrade to IP.Content 2, naturally your existing articles won't have topics stored in the forums, thus comments won't be stored in the forums either. Any record that does not have a topic associated will automatically fallback to using it's local built-in commenting system, while new records submitted will use the forums as configured. This means that when you upgrade, you don't have to worry about any of your comments disappearing if you decide to make use of the new functionality.



Everything should work seamlessly so you don't have to worry about rebuilding records or missing comments. When you upgrade, you can optionally make use of this new feature, but it won't affect your previously saved records.



Wrap Up

We feel that this new capability in IP.Content solidifies the forum integration capabilities available with IP.Content, allowing you to create unique and creative site configurations. You can allow visitors to view the content from both IP.Content and the forums, or only from IP.Content, or only from the forums. You can opt not to embed the database into any pages, and instead just allow members to read the records and comment on them from the forums only. You can let IP.Content post a topic and all comments to a hidden forum to make moderation easier for your old-time moderators who aren't familiar with IP.Content. You have many options; this is the goal with IP.Content. To allow you to decide how your site should function. We look forward to hearing your feedback regarding this new feature!






bfarber, on 08 March 2010 - 04:29 PM, said:

I can't see how we'd be able to do this automatically for you (sounds like a relatively custom setup) however you could certainly do this manually. All you would need to do is update the "record_topicid" column in the database to point a record to it's associated topic in the forums. That's all IP.Content needs (that topic id).

Thanks Charles. It would work exactly like IP.Content works, it's just the conversion of our old news topics/forum threads that will be the difficulty.

However if as you say this can be done manually by doing as you said... "All you would need to do is update the "record_topicid" column in the database to point a record to it's associated topic in the forums." That should be easy. I will have to add a new timestamp to the old articles anyway to reflect the date it was originally posted.

Sounds like associating an IP.Content article with an older forum thread isn't that difficult to do. Infact this is handy if in future someone posts something on our forum before we post our news article and we want the comments from the forum thread to be associated with the new article :)

We don't have 100's of news articles so this can be done manually thankfully :)

Booth, on 08 March 2010 - 01:09 PM, said:


Thanks Charles. It would work exactly like IP.Content works, it's just the conversion of our old news topics/forum threads that will be the difficulty.

However if as you say this can be done manually by doing as you said... "All you would need to do is update the "record_topicid" column in the database to point a record to it's associated topic in the forums." That should be easy. I will have to add a new timestamp to the old articles anyway to reflect the date it was originally posted.

Sounds like associating an IP.Content article with an older forum thread isn't that difficult to do. Infact this is handy if in future someone posts something on our forum before we post our news article and we want the comments from the forum thread to be associated with the new article :)

We don't have 100's of news articles so this can be done manually thankfully :)

Yeah, if you are comfortable with updating the new column that will be added during the upgrade (or that IP.Content sets when the database is created) then yes, that's all that's needed. :)
This is nice. I'd like to see and be able to use IP Content to not only pull from the forum but also display that information in the forum sidebar. Last 10 posts for example. No plugins needed then and a lot tighter forum integration.

Very good
Thank You
thanks for the update, ipcontentv2 seems great, can't wait for it.. one question i want to ask is, let's say we're already using our forums for news publishing, will be ipcontentv2 be able to import forum threads as articles?

bonesoul, on 31 March 2010 - 09:18 AM, said:

thanks for the update, ipcontentv2 seems great, can't wait for it.. one question i want to ask is, let's say we're already using our forums for news publishing, will be ipcontentv2 be able to import forum threads as articles?

There isn't a mass import function, but you can use the "Promote to Article" feature to copy or move them over.
It will be nice if we can manually assign topics to existing records as well.

In my particular case some of the topics (100+) exist before records are created. Some existing records would need to attach topics to them.

If I do not have this option in IP.Content 2.0, can I do it directly in the database? Would it be easy?

estan, on 04 April 2010 - 01:56 AM, said:

It will be nice if we can manually assign topics to existing records as well.

In my particular case some of the topics (100+) exist before records are created. Some existing records would need to attach topics to them.

If I do not have this option in IP.Content 2.0, can I do it directly in the database? Would it be easy?

Yes. I believe I answered that already if you scroll up (08 March 2010 - 03:14 PM reply from me to Booth).

Essentially, there's a topic id column in the custom database. Just update that value using phpmyadmin or similar and it will be associated.

February 2012

S M T W T F S
   1234
56789 10 11
12131415161718
19202122232425
26272829   

Latest Visitors

Search My Blog