Help - Search - Members - Calendar
Full Version: Use Invision as Converge Master
Invision Power Services > Invision Power Services, Inc. > IPS Company Feedback > IP.Converge
MaK'77
I'm trying converge... but one thing is not clear to me...

i can import all members from forum -> converge and use converge as a user base

But will it be possibile to use IPB as a user base (converge master)?

The idea is this:

- i have a forum with thousands members
- i create a new web app on another server
- i want to authenticate using forum member details

While what i understand is that i have to setup a third applicatio" that is converge, then the IPB and my new app have both to use converge for auth...



bfarber
QUOTE
While what i understand is that i have to setup a third applicatio" that is converge, then the IPB and my new app have both to use converge for auth...



That is how Converge is designed, yes. You install Converge, and then add your IP.Board as an application. Afterwards, you import the members into Converge. Moving forward, all authentication is handled through Converge. When a member registers they are added to Converge, and so on.

Then you install another application somewhere. You use Converge to add that application, and when you attempt to login to that application it checks Converge.

You could use your IPB as a master through other modifications (i.e. a modification on your new application to directly contact the IPB and query it), but it is not the scope of Converge.
MaK'77
thank you, that is clear, so to have my behaviour (forum as a user base) i have to program it by myself, or i have to install converge and use that for all apps

i have setup converge, added forum application, imported members, modified ipb settings to use converge (i found one setting).
I can login to converge and i see the forum on the application list... but if i click i go to the forum but i'm not logged in and cannot login to forums

i'm trying to understand where is the problem

edit: i can login to admin but not to forum... investigating...

edit: i saved in Login Manager converge method, without changing nothing, and now i can login to converge and i'm logged in forum, but if i logout in forum and login in forum, it does not work
bfarber
Are you using your email address? Converge requires you to login to the forum with an email address.

You also might be having cookie issues, possibly - try setting a prefix on the forums in the ACP.

btw, the ACP will always allow admins to login - this was added to prevent someone from locking themself out of the ACP (as you would have been in this case wink.gif ).
MaK'77
yes using email address

i have tried to "null" all cookie settings, so no domain, no prefix.. then delete all cookies... but no luck... tomorrow i will try something other...

i also noticed that converge cookies have cvn_ prefix and if i set a prefix it's added as myprefix_cnv_cookie, is this the expected behaviour?
Are cookie settings indipendent on the two platforms or they should have same prefix or other?

So i login into forum, forum sends a request to converge, converge says yes (and set converge cookie?) then forum sets cookie... is this right?
Logging out from forum does not login me out from converge, is this correct behaviour?

Thank you
bfarber
Converge internally uses cvg_ prefix outside of any custom prefix you set - that's mostly irrelevant. The prefix is designed so that two converge installs (or two ipb installs, etc.) on one domain don't overwrite each other's cookies. I wouldn't worry about the "cvg_" aspect so much.

They do not require the same prefix.

When you attempt to login to the forum, it will query Converge via XML-RPC, Converge will respond with essentially a yes/no and IPB will act accordingly. IPB will not set the Converge cookies however.

Logging out from IPB does not log you out of Converge, however if the applications are on the same domain, logging out of Converge *will* log you out of IPB. In most setups, logging out of a local application should not necessarily terminate the session for a global application, however logging out of a global application should terminate the local session. We decided to take this route with IPB 2.3 and Converge RC1.
MaK'77
no luck, login into converge works and logs me into forum
login into forum does not work, it tells me that no user can be found... but the same user is correctly logged into converge...

a question: what happens if the converge script is offline, suppose i have it on another server that goes down for some reason... my forum is online but users cannot login... Are local login used in this case?
MaK'77
these are my settings

IP.Converge Enabled? 1
IP.Converge URL http://127.0.0.1/mydomain.org/converge
IP.Converge Product ID 1
Log in Method Key ipconverge
Log In User Name Type email
Enable IP.Converge 1

cookies are set to no domain, no path, no prefix (default)
i cannot login directly to forum, i can login to converge

i have the converge admin login data = forum admin login data (what i use to test login), can this be a problem?
Stronghold is disabled
bfarber
Best recommendation is to post this over at IPS Beyond - I'm afraid we don't provide support for any of our products via the company forums here.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.