Recent Topics

Integration into my Web site...

started by on Mar 31, 2017 – Last touched: Jul 28, 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!

Jul 19, 2017 14:29

Hi Mr. Planque!

I'm still interested in b2evolution to provide a blog, forum and instruction manuals for my members. B2 would be exactly the product I would need. I am however stuck with the lack of an API that would allow me to create a new user who would have the same USER_ID as in my own system.

I need to be able to create my own users in order to control the famous USER_ID which would then allow me to link to my own system. In this way, if one of my members cancels his subscription, it will be possible for me to cancel his subscription to forums or blog. Otherwise, the user will always have access to parts of my site that I want to block access to.

Since you know the logic of your system, I find it very unfortunate that you can not offer this little API that I think should not be very difficult to produce. B2 would then truly become a fully integrable tool at any website.

Do you think you can help me with this problem soon?

Excuse this Google translation!

Thank you for reading me and have a good day!

Jul 20, 2017 02:50

Hi Denis,

You are welcome to contribute the API you need to the open source code base of b2evolution on GitHub. If you think it's a simple API then maybe I misunderstood what you need but it will be clear once you make the API that fits your needs.

If your API works, we'll pull it in and you'll have it in all future versions of b2evolution.

That's the best solution I can offer for your very specific (never been requested before) use case if you need it now. (I am absolutely not in a position to make any prediction, let alone any promise, on when we would tackle this use case on our side).

Jul 28, 2017 13:32

Hello Mr. Planque!

I realize that my request should not be so simple to produce even for you who know your system well. Otherwise, I'm sure you would have already added it to the b2evolution features.

Producing myself this feature as you would suggest would certainly not be an easy and short task and I do not think I would have the skills and even less time to do this job.

Sorry to have bothered you with this request and I understand you certainly have other priorities.

However, I would like to tell you that your system is really good and nice, but I also think that any website with its own community of members should have the chance to add its nice features without having to ask its members to subscribe to a second system, having to complete two profiles, and having to connect to two different systems.

My request was based on the fact that I already saw other systems such as CHAT that easily integrated with an API or functions to add new users, delete users etc.

Blogs, forums and manuals (such as a CHAT) are not always the primary goal of a website but would definitely be a necessary addition to any serious website. Think about it, this could make b2evolution even more popular!

Thank you for taking the time to read me and answer me!


Form is loading...

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