By egomac on
I was able to make the SMF+Drupal integration module to work.
http://www.pinoycallcenter.com
But it seems there was a problem synchronizing the users from the SMF tables to the Drupal one. I have users registering/signing up in the site using the SMF registration system but they cannot login using the Drupal login. Also, the birthdate is not synchronized properly.
What would be the best configuration for this?
Thanks.
Comments
---
in reference to the user sync have you disabled the drupal login block and enabled the smf login block provided ?
your question may be better answered by the developer of the module , on the demo/suppport site or by filing an issue against the module itself so the dev can better answer your question. I don't use a birthdate field, but I"ve not lost sync using the smf login
Thanks. Ok i'll check it
Thanks. Ok i'll check it with the developer's site then.
Birthdates in SMFforum module
Navigate to ...your Drupal site/admin/user/profile
Profiles
Create customizable fields for your users.
1. Enable the profile module if it is not enabled:
* In administer » modules select in the 'Enable' column where you see:
profile | Support for configurable user profiles.
2. Create new fields or edit existing ones:
* Navigate to the administration area: administer » settings » profiles
* Select a form field type under 'Add new field'
* Follow onscreen instructions for configuring this field, and 'save field'.
First you may create and use new category Personal settings
Add new field according this table
for the 1 line Add new field of Type single-line textfield
Title Name Type Category Operations
Real name profile_name single-line textfield Personal settings edit delete
Gender profile_gender list selection Personal settings edit delete
Birthdate profile_birthdate single-line textfield Personal settings edit delete
Personal text profile_personalText single-line textfield Personal settings edit delete
Usertitle profile_usertitle single-line textfield Personal settings edit delete
Location profile_location single-line textfield Personal settings edit delete
ICQ profile_ICQ single-line textfield Personal settings edit delete
AIM profile_AIM single-line textfield Personal settings edit delete
YIM profile_YIM single-line textfield Personal settings edit delete
MSN profile_MSN single-line textfield Personal settings edit delete
Website title profile_websiteTitle single-line textfield Personal settings edit delete
Website Url profile_websiteUrl single-line textfield Personal settings edit delete
Note:
Birthdate must be only single-line textfield not date
Input format for Birthdate only YYYY-MM-DD
Gender must be list selection
Selection options:
Male
Female
Now these fields will be sync with corresponding SMF profile fields
Thanks for the note. You
Thanks for the note. You were right. I used date field before. Should be text field.
:)
Input Format for Birthdate
How do I set an input format for the birthdate field? I'm not seeing this in my edit Birthdate screen.
Also, how do I sync any custom profile fields I may have created in SMF?
=-=
I don't believe you set a date input format, its stating that the way a date must be inputted in the way shown, YYYY-MM-DD
if users don't inputy their date this way, then it doesn't work.
you sync profile fields in SMF by creating the same fields in drupal. @ administer -> profiles.
then you choose in your administer -> smf settings whether or not to include these.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Custom Profile Fields
I synced the profile fields that came with SMF without a problem. However, I have the custom profile mod installed on SMF and a couple of custom fields. How would I determine the machine name (is that the right term?) of those fields? Maybe poke around in the database?
=-=
my guess would be yes to poke around the SMF DB or look at the mod code.
I don't use any SMF modification, so I can't help any further.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Have somebody the answer?
Hi, I have the same trouble...can anybody help me please??
Otherwise is possible chance the link for "user profile" in Drupal to the profile page in smf??
Sorry for my english, I hope you understand me ;-)
Custom Profile Fields Not Support
I'm afraid it's not supported:
http://vgb.org.ru/forum/index.php?topic=89.msg455#msg455
The new version of SMFforum
The new version of SMFforum Integration module already are available - http://drupal.org/project/smfforum (May 31, 2008)
My first drupal site:
www.hdzona.com
In new SMFforum module
In new SMFforum module birthdays in profile can be specified as date field.
Drupal 5 module smfforum.module updated
Drupal 5 module smfforum.module updated.
Now with with support of avatar synchronisation.
It is not in CVS yet.
You can download and test updated version from Download page http://vgb.org.ru/download.
Drupal 5 module smfforum.module (updated smf_api_2 already included) smfforum-5.x-1.0-dev.tar.gz
Are all SMF profile fields necissary?? (1st drupal.org post!)
Just installed SMF and your smfforrum module both in a local MAMP server environment... ( : I have some questions...
1) Do I have to include all the default SMF profile fields when creating the custom profile fields in Drupal "profile" module?
I am using Drupal as the master registration system (new site, no existing users yet except myself). I don't want to
have to ask users for their YIM or MSN (older audience) So I will just create users in the Drupal registration
system and they will get carried over to the SMF user database and the SMF profile data for YIM and MSN will just be blank, right?
2) I chose to include the SMF as a frame on the Drupal site but this give me no control over it as a Drupal page/node
(like limiting the side-bars that view along-side it etc..). I created a link in the Drupal menu to "smfforum?" and it brings up the framed smf forum within Drupal. Could I create a page, embed my own iframe tag to send it to the "smfforum?" page?
3) I just want 1 visible login in Drupal, not an additional login
within the SMF frame as well, too confusing. How would I set this up?
can I prevent users from viewing their profile etc within SMF? It gets
too confusing for users to have a place to edit their profile in Drupal AND SMF
And thanks for this nifty module.. ! Sorry I have so many questions.
I think I can answer these
I think I can answer these for you, having just gone through interpreting the installation ;)
1) No you don't. The ones in the settings page are all optional. you'll need to create matching Drupal profile fields if you want to synch them.
2) You actually do have the type of control you're describing. I just did it on one of my sites. I use the SMf blocks in the left sidebar and set the visibilty so that they show for all pages except smfforum*, since you don't need to see them if you're already in the forum. It's actually better than the Drupal forums since there was no easy way to say "don't show this block when viewing forums". Now you can.
3) Disable the Drupal user login block and enable the SMF User Login block, works like a charm. Not sure about the SMF Profile...
Steel Rat
My Drupal Sites:
RPGMapShare.com
Infinite Ordnance
Malvern Rouge Valley Youth Center
Thanks for replying
Thats good to know re: dbase syncing.
Yeah, finally did that re: page - I just figured out that the smf frame url is "smfforum".
About the dual login issue, I meant the wee login/logout buttons inside SMF frame itself, I did activate SMF login in sidebar and deactivated User Login but that still leaves you with an iframed smf forum with its own buttons 4 login/logout Heres what I ended up doing - the PHP theme pages in SMF are really easy to edit even for me, (just started learning PHP, Im more a designer) so I edited it so logged in state does not bring up logout or profile smf buttons, and logged out does not bring up login (just deleting chunks of php, works great) I have my own bookmarked url to login to SMF itself as an administrator.
However...
I keep getting a Drupal error on Drupal login and smf sync w my admin account
"Data avatar => '', for glowingtree synced to SMF." Happens every time...
thats not a profile field in SMf or Drupal, so huh? Weird
Cheers
Glowingtree Productions
Toronto, Canada
The last item isn't an
The last item isn't an error, it's a message showing that data was synched between Drupal and SMF. It's annoying, I agree. I'm not sure if all users will see that, or just admins. But I imagine it wouldn't be hard to edit the smfforum module to suppress those messages.
Cool about editing the templates. I'll probably have to do that too, though I haven't looked into SMF enough yet to see if there is a way to just disable login/logout in SMF.
Steel Rat
My Drupal Sites:
RPGMapShare.com
Infinite Ordnance
Malvern Rouge Valley Youth Center
You can switch off SMFforum messages
You can switch off this messages in SMFforum settings page. Already done in new dev release.
Login Blocks
I have an existing SMF forum with about 100 members that I want to integrate with a new Drupal install. I would like to use the Drupal login and not the SMF login as eventually, I might move away from the SMF forum and just have people using what Drupal offers. Basically I want to convert these SMF accounts to Drupal and perhaps in the future start to "wean" them off of SMF. Does this make sense and can it be done?
User moves himself to Drupal
User moves himself to Drupal only then he has logged in Drupal.
No bulk operation is possible because of password coding method incompatibility.
for SMF, be aware of interaction with some themes .tpl files
I would only starting working with the SMF forum integration module with one of the default
themes, or zen (pretty safe?) I have had many wierd problems using other less standard themes
i.e. Plenoma The default login-block behaviour of some themes may conflict with the
"SMF combined login-in block". I say "may" cause I don't mess w drupal on a PHP level,
all I know if that all my crazy login block problems went away when I switched back to Garland.
Moving user to Drupal
Is there anyway I can manually do this for my users without knowing their password? Would any login attempt work?
Most of my users have gone through the login procedure, but there will be no way I'll be able to get all my users to do it.
I am wondering if you can
I am wondering if you can tell me where to find the smf login to activate and use rather than the drupal.
I see where to deactivate the drupal only.
I am "assuming" by doing this, they login via the smf block "in" Drupal, then they will be synched AND logged in to both the site and the forum.
Thanks
Ken
Unsync signature
How can I unsync the signature between SMF and Drupal? (If a signature exists in SMF, it shows up in the body of the comment form, for example). I need to do this because some of my user's signatures on SMF are causing errors in Drupal.
Download new dev version of the SMFforum module
Download new dev version of the SMFforum module with this feature.
I at my witts end. I am not
I at my witts end. I am not able to log into my own forum- everyone else can- I keep having to have one of the other administrators delete me then readd me to SMF- but this is only temporary and I have the same problem again.
This is the message I am getting
Fatal error: Function name must be a string in /home/content/c/r/e/creativei/html/dbforum/Sources/Load.php on line 2210
What is causing this? Where can I hire someone to fix this if I can't