Recent Topics

1 Oct 27, 2006 16:28    

Now that I finally got b2evolution installed and operational, I would like to have the software utilize the SMF (simple machines forum) user database for authentication purposes. I wish to do this for a couple of reasons. First, I only want my users to log in once (through SMF), secondly, since both user tables share common fields, I feel that it is redundant to have users register the same information again, and third, I would like to create an easy way for existing members to create blogs through b2evolution.

Can anybody tell me if this is possible? Currently, I do have members regestring for seperate blog accounts, but the process doesn't seem that intuative for the "bloggers" to create thier blogs.

Thank you!

2 Oct 27, 2006 21:01

Yes, it would be possible.

There are plugin hooks for this.

See the shipped _ldap_plugin and search in the forums. I've said something like this before.. ;)

3 Oct 27, 2006 22:39

I looked and found a few things, however, I'm not sure how to implement this.

To use this LDAP plugin, I would have to have an LDAP server first? I'm not sure if SMF supports LDAP. Maybe I'm overthinking this?

5 Oct 28, 2006 01:29

So, I would be *cheking* the SMF user database, and if the user doesn't already exist inside the b2evolution user database, it would create an entry in b2's database?

6 Oct 28, 2006 10:49

Yes. That's what I've understood.. you want to use the existing SMF user database.

Of course, if the password is correct, you would also log the user in..

On the next page request inside b2evo the user is logged in (and exists in b2evo's own DB), so the SMF DB does not need to get checked.

8 Oct 29, 2006 17:42

baldhead.nl, what do you mean? Seems like you've hit the wrong thread? If so, I'll delete the post(s).

9 Oct 29, 2006 18:48

Alright, so I have to write my own LoginAttempt function to check SMF. Where would I put this code at? Most members have the information stored in thier cookies. Would I put it on my blog summary page?

10 Oct 29, 2006 19:40

change conf/formatting.php

$use_html_checker = 1;

change in

$use_html_checker = 0;

go back to your weblog

now go write

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="450" height="450" id="http://Yourflash.swf" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="http://Yourflash.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#006699">
<embed src="http://Yourflash.swf" quality="high" bgcolor="#006699" width="450" height="450" name="http://Yourflash.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed></param></param></param></param></object>

http://baldhead.nl


Form is loading...