Recent Topics

Integration into my Web site...

started by on Mar 31, 2017 – Last touched: Apr 17, 2017

Mar 31, 2017 02:29    

What a great system for a site that needs blogs, manuals and forums!

I would definitely need such system on my website !!

Actually, the only major inconvenience that I find with b2 is that for a website like mine that already has its own login system and its own list of users, I have not found anything allowing me to connect both systems .

I really tried to find a way to add my own users to b2 so that I could do a self-login but I did not find anything on it. At least, I could understand ...

Could someone guide me on where I could look or better, a few lines of codes as an example!

I really hope to receive an answer because I would really like to integrate b2 into my website.

Thank you in advance!

Apr 01, 2017 02:14

Can you share your website URL?

Do you really need to keep a separate login DB from the one that b2evo provides?

When integrating with a 3rd party user DB, the usual way is to use a plugin, like the LDAP plugin.

Apr 01, 2017 19:10

Hello Mr. Flanque!

Thank you for the answer. I checked on the LDAP side and frankly I find it a bit complicated to just let add and connect my own users ...

A simple function to manually add a new user and his rights to the b2 database would be so easy to do on your side to allow easy integration to an already existing site.

A second function to directly connect a user to b2 would also be easy to build for you who are familiar with your system. This would prevent users from having to create two profiles and having to twice connect to two systems on a single Web site.

Does this kind of function not exist for your system?

Thanks anyway for your help

Apr 02, 2017 00:43

There is no obvious answer to your questions. You did not answer my questions. I need more information on your use case before I can direct you to some function to use or before I can decide to add a function to address your use case.

Apr 02, 2017 23:25

Hello!

Unfortunately, I can not provide you with a web address because the website in question is still in a local development environment.

I have already installed a login system called 'Easy Login Pro' and all my pages already use the functions of this system. The main purpose of my website will be to provide referral services for renovation projects to contractors. All the logistics surrounding this concept is already in place.

I would also like to offer blogs and forums to my contractors with permissions that would take into account different types of subscriptions. It would be too complex for me to start all over again with another system I do not know. That is why I would have hoped to find a system already integrating blogs, forums and manuals like yours and that I could have integrated into what is already done.

Easy Login Pro already offers the possibility to authenticate a user by method such as $ user-> login (user_id) or $ user-> logout (user_id) etc. I was hoping to find the same kind of approach on your system.

So I would need to be able to insert the necessary data about a user in the B2 database and then automatically connect a user who would connect to my site so that the connection to B2 is transparent.

Could it be possible? If so, where should I search?

Thanks again and excuse the Google translation!

Apr 05, 2017 01:10

When would you call $ user-> login (user_id) ?

Would you add this to the page that handles your current log in?

You would also need to load of b2evolution includes on that page...

And then, what do you do when users update their profile or change their password in your current system?

What do you do if they change their password in b2evolution?

Apr 05, 2017 18:33

When would you call $ user-> login (user_id) ?

Would you add this to the page that handles your current log in?

Yes exactly! After a connection on my system, I would like by such a function, connect the user automatically to B2. The same principle should also be used for logout. This would mean that I could modify the logout link of the B2 header so that it points to my own logout.

You would also need to load of b2evolution includes on that page...

Yes, I suppose! I have already tried to add the include I use for my system in your index.php and there are class and method name conflicts. I do not know yet how I will get around this problem ... CURL..SOAP ??

And then, what do you do when users update their profile or change their password in your current system?

My clients have a profile with lots of information very specific to construction contractors.

As for the profile B2, I would like to be able to populate it by script with the strict minimum information possible (well, all that is required for the proper operation of B2 ... user_id, username, password, email) and with a user_id Synchronize with my own user table when registering a new member on my system.

At the same time, I would like to be able to insert in a script the rights and permissions of each of my members and for each collection.

What do you do if they change their password in b2evolution?

I would like only one profile to be editable, be the one on my system. For that I would have to replace the link of the button 'Edit my profile' which is in your pages for a redirection to my system. Should not it be too difficult?

Same thing for the password since the login would be transparent for the user.

I realize it's a lot of work, but do you think it's feasible or do you have better suggestions?

Thank you in advance for your help!

Thank you in advance for your help!

Apr 16, 2017 20:26

Ok no more answer?

Should I understand that it is not possible? You are not interested? My question is not appropriate? Or maybe, you need more time to answer?

Thank's!

Apr 17, 2017 00:49

I marked this as a feature request but there is no quick way to implement this as of today.

You know yourself that this is not a simple feature:

I have already tried to add the include I use for my system in your index.php and there are class and method name conflicts.

Apr 17, 2017 04:19

Ok Mr. Planque!

Thank's and let me know iwhen you have something new!


Form is loading...

multi-blog – This forum is powered by b2evolution CMS, a complete engine for your website.