Recent Topics

1 Apr 08, 2010 11:19    

My b2evolution Version: 3.3.3

Hi, I hope someone can help me.

I am trying to incorporate b2evolution and PunBB. We are setting up a blog using b2 and would like to allow the uesrs that have already registered on the forums to be allowed to comment on blogs. I have copied the users over from PunBB to b2 but the passwords are different (I believe punbb uses salt).

Is there anyway I can modify b2 so it will use the passwords from Punbb or any alternative method I could use to check to see if a user is registered for the forum and if they are automatically allow them to post comments without them having to log into b2.

thanks

Ste

2 Apr 10, 2010 08:03

hi albytrott

yes there is a way. but you have to change the php codes where user can register.

b2evo is using normal md5 encryption. i think punbb is using sha-1,

so in the file register.php look for line 106 i think.
you can see there

$new_User->set( 'pass', md5($pass1) );

where md5 is just a normal md5. find a way to make it as sha1

good luck.


Form is loading...