This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Installed PHPBB 3...


avatar
cosmin 269
From: -
If I enable the bridge to PHPBB3, I can't login into CT anymore. If I disable it, I can login just fine.
What am I doing wrong?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Installed PHPBB 3...
avatar
Administrator
1340
From: Vienna, Austria
Yeah, that would be good.

Yes, it is possible with a small modification to import the users with password into SMF.

Here a zip with the following two script:
smfimport.php - This is the import script for SMF. Put it in your contentteller root directory and run it from your browser. The integration with SMF must be enabled before you run the script.
LogInOut.php - This is the modified SMF login script. Put it in the /Sources directory of your SMF installation
   smfimport.zip
1 Re: Installed PHPBB 3...
avatar
OP 269
From: -
This is actually pretty common. For example, if you upgrade from phpBB/SMF/whatever to vBulletin your users have to request/reset the password.

Yeah, except in this particular case we were talking about integration, not migration to a different app. Trust me, most people won't bother to change their passwords. They are lazy, and in most cases, a website is not that important to them to go to all that effort.
1 Re: Installed PHPBB 3...
avatar
Administrator
1340
From: Vienna, Austria
Yeah, that would be good.

Ok, I will look into it later.

I mean, the very point of integration is not to ask users to "request/reset the password using the lost password feature in phpBB," or jump through other kinds of hoops. People are lazy, and most barely know how to use a website (or their computers for that matter).

This is actually pretty common. For example, if you upgrade from phpBB/SMF/whatever to vBulletin your users have to request/reset the password.
1 Re: Installed PHPBB 3...
avatar
OP 269
From: -
I mean, the very point of integration is not to ask users to "request/reset the password using the lost password feature in phpBB," or jump through other kinds of hoops. People are lazy, and most barely know how to use a website (or their computers for that matter).
1 Re: Installed PHPBB 3...
avatar
OP 269
From: -
I can look into it if you want

Yeah, that would be good.
1 Re: Installed PHPBB 3...
avatar
Administrator
1340
From: Vienna, Austria
Well, this isn't going to help me. Users register through CT, not through the forum, so even assuming the registration works, the first thing they will get "is your password is wrong", once they try to login into CT.

Users can no longer register through Contentteller as soon the integration is enabled. The integration script will redirect to the register page of the forum.

If I remember correctly  Simple Machines Forum have support for 3rd party password hashes to allow logins from imported users of other scripts. Could be easy to adapt that routine for Contentteller users. I can look into it if you want.
1 Re: Installed PHPBB 3...
avatar
OP 269
From: -
Well, this isn't going to help me. Users register through CT, not through the forum, so even assuming the registration works, the first thing they will get "is your password is wrong", once they try to login into CT. The only "workaround" would be to run this import script everytime a new user registers. And I have to ask 100+ users to request their lost password, which isn't actually lost. No offense, but on what planet does that make sense?
1 Re: Installed PHPBB 3...
avatar
Administrator
1340
From: Vienna, Austria
I understand, but this is how the integration works since the first version of Storyteller. Anyway, in attachment a script to import the Contentteller users into a phpBB database.

Unzip the script and upload it to your Contentteller root directory. Then run phpbbimport.php from your browser. The phpBB3 integration must be enabled before running the script.

Limitations: The users must request/reset the password using the lost password feature in phpBB, because Contentteller is using a different method (SHA512 hash with salt) to store the passwords.
   phpbbimport.zip
1 Re: Installed PHPBB 3...
avatar
OP 269
From: -
You don't understand. I have lots of users registered before I enabled the forum integration. CT accounts don't work with the forum bridge enabled.
1 Re: Installed PHPBB 3...
avatar
Administrator
1340
From: Vienna, Austria
Contentteller will only use the forums database for the users as soon the integration is enabled. Only the admin section is still using the Contentteller user database but mainly for security reasons.
1 Re: Installed PHPBB 3...
avatar
OP 269
From: -
Got it to work, sort of. But I can't help but think it's not the way it should be. Apparently, after enabling the integration, the password of PHPBB "admin" takes precedence over the password of CT "admin". I had to change the password of the two admins to match to be able to login with integration enabled. And CT user trickster (my non-admin user), who isn't in the PHPBB user tables, still can't login.
1 Re: Installed PHPBB 3...
avatar
Administrator
1340
From: Vienna, Austria
Sounds like a cookie issue

What are your settings for Cookie prefix, path, and domain under forum integration?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.