Ipcontent on different domain than ipboard (and other questions on ipcontent)
#1
Posted 02 February 2012 - 05:37 AM
In short:
I want my forum to be on one domain say: domainX.com
I want portal (ipcontent, blog, gallery) to be on another domain. Say domainY.com
They have to share the same database. So they also share the members table.
I know that the users can't autologin in the portal when they're logged in on the forum due to the cookies being on different domains.
But that's no problem. As long as a register on the forum also counts for the portal.
Replying/commenting on articles (if these were forumtopics) should reflect to the forum too.
Can I get a definitive answer if this is possible?
Also, what would be nice is if ipcontent can import certain topics from the forum and display as article and leave a "redirect topic" in place.
This is meant to migrate a (sub)forum to the portal.
So... ipcontent pull topicid123 from the forum and save it as article+comments (say article123). It should then change the topic123 into a redirect topic linking to article123
Is this possible?
#2
Posted 02 February 2012 - 06:33 AM
If it's really not possible, I'm fine with that. I just would love to be able to do everything that you stated pretty much.
#3
Posted 02 February 2012 - 07:12 AM
#4
Posted 02 February 2012 - 09:52 AM
IP.Content includes a custom index.php that can be used outside of your forums to load it. This lets you run IP.Content at domain.com and the forums at domain.com/forums (or forums.domain.com). In theory, you could technically run this custom index.php from domainx.com while the forums are at domainy.com, however the two domains would need to be pointed to the same server and domainx.com would need to be able to include and read/write files at domainy.com (the special index.php is not completely stand alone - it still needs to load the IP.Board framework files). This would require special permission setup on the hosting side.
As you noted, you would not be able to login to domainx.com. IP.Board only has one configuration option for the cookie domain, so it would set cookies for domainy.com always. This would severely limit the capabilities of IP.Content running at domainx.com (since no one would ever be able to login to it).
If we are talking about subdomains (domain.com and forums.domain.com) that should work fine. Some AJAX functionality would not work from IP.Content (because of cross-domain javascript restrictions), however work arounds for that have been added to IP.Content 2.3.0 (currently in alpha stages).
Brandon Farber
Developer / Senior Support
If it sounds like fun, it's not allowed on the bus!

Invision Power Services, Inc.
#5
Posted 02 February 2012 - 02:28 PM
If the domainsetting is set as "." or just empty, would that help then?
#6
Posted 03 February 2012 - 10:17 AM
If you specify no domain in the cookie settings, cookies are set for the domain that was visited. That *may* work, but I would caution that such an approach is unsupported (in that, I can't guarantee you won't run into miscellaneous issues having cookies being set for separate domains from one install).
Brandon Farber
Developer / Senior Support
If it sounds like fun, it's not allowed on the bus!

Invision Power Services, Inc.
#7
Posted 03 February 2012 - 11:38 AM
But 50 bucks to test that theory is a bit too much.
#8
Posted 03 February 2012 - 06:18 PM
#9
Posted 23 February 2012 - 09:30 AM
if you just point the standalone domain to a subdomain for your ip board?
You´d have all content, logins and license under one hat and peoples still be able to type in the other domain.
You may thought of this already.. just wanted to help out
#10
Posted 23 February 2012 - 03:11 PM
kmf, on 03 February 2012 - 11:38 AM, said:
But 50 bucks to test that theory is a bit too much.
I cannot think of a way to test this in advance, I'm afraid. You're looking at doing some complicated setup that the software wasn't really designed to do.
ADKGamers, on 03 February 2012 - 06:18 PM, said:
Cookie issues will exist regardless of how many licenses you own I'm afraid. If you use subdomains, as I mentioned above, cookies can be shared - they cannot be shared across two completely different domains.
Brandon Farber
Developer / Senior Support
If it sounds like fun, it's not allowed on the bus!

Invision Power Services, Inc.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












