By vb on
SMF 1.1.1 and Drupal 5 live demo.
http://veberu.hostfabrica.ru
You can register and try.
Now it is set to work in Russian but you can write english too.
Enjoy.
SMF 1.1.1 and Drupal 5 live demo.
http://veberu.hostfabrica.ru
You can register and try.
Now it is set to work in Russian but you can write english too.
Enjoy.
Comments
nicely done.
nicely done. Care to explain the features ? I don't read Russian : (
one login ? shared profiles ?
Will this be a community release ? many have been asking about implementing SMF into Drupal on the forums.
The features shortly
// I don't read Russian : (
I don't speak English : (
//Will this be a community release ?
Yes, Next week I will try to release first beta version. And english demo too.
One login, user account data synchronization, provides support of profile module.
Drupal blocs:
User login;
New forum posts;
Online forum users;
Forum statistics;
New forum topics;
Personal messages.
I'll look forward to helping
I'll look forward to helping beta test on my Sandbox when released.
Again .. very nicely done.
Very cool
Wow, very nice. I will be watching this closely. I like SMF, and getting a good SMF integration like the vB one has, if not better, would be very good. The single login, user synchronization, and profile support = 2 big thumbs up! The recent posts and recent threads blocks are a good start. Nice job!
On the personal messages, is that using the SMF PM system?
Download Link?
Most anticipating questions coming up will be, "Where to download this integration module?"
So, Where to download this integration module? :-)
Author said that public
Author said that public release will be next week :)
So we need to wait.
awesome, will surely test
awesome, will surely test it. Thanks to verymisunderstood for the link.
SMFforum Integration module
SMFforum Integration module
==============================================================================
This module provides integration with SMF: Simple Machines Forum
http://www.simplemachines.org/.
The following blocks are provided to integrate SMF with your Drupal site:
1) SMFforum: User login
Allow forum users to login to your Drupal site with their drupal or forum
username and passwords and provides synchronization with the forum.
When a user changes his/her Drupal accounts and profile settings,
the changes will be synced back to the forum database.
Likewise, if the user changes his/her forum profile, it will be synced back
to the Drupal site.
2) SMFforum: New forum topics
Display a list of the latest forum topics.
3) SMFforum: New forum posts
Display a list of the latest forum messages.
4) SMFforum: Online forum users
Display a list of all on-line forum users.
5) SMFforum: Forum statistics
Display forum statistics including: number of users, threads, messages,
newest member, etc.
6) SMFforum: Personal messages
Display your forum personal messages if you are logged in.
Installation
------------------------------------------------------------------------------
1) Download the SMFforum module from http://drupal.org/project/smfforum or
from http://vgb.org.ru
2) Download the smf_api_2 archive from http://www.simplemachines.org/ or
from http://vgb.org.ru
See the "license.txt" file for details of the Simple Machines license.
3) Copy smfforum directory to your modules directory .../modules/smfforum/
4) Unpack smf_api_2 archive and copy it to subdirectory
.../modules/smfforum/includes/
5) Navigate to Administer » modules and enable the SMFforum and profile module.
6) Navigate to Administer » settings » SMFforum and enter the path to
SMF root (path to forum's Settings.php file).
Save settings and ensure that SMFforum successfully connected
to the SMF database.
7) Ensure that SMF profile fields map with corresponding
drupal profile.module fields.
8) Ensure that corresponding profile.module fields exist.
If necessary create profile.module fields that will be match with
SMF profile fields.
9) Navigate to Administer » blocks.
Disable drupal login block.
Enable SMFforum: User login block. Do not disable it in the future
if you want advanced synchronyzation.
Enable the SMFforum blocks you want to use (optional).
Install first locally and ensure that with your settings it works as you expect.
At the moment it is stable and has no critical bugs but testing, fixing and
some of improvements of course could be made.
Use at you risk on production site.
------------------------------------------------------------------------------
Credits: Frank Naude (naudefg), Axel, Simple Machines team
------------------------------------------------------------------------------
Module written by Vadim G.B. (vb) http://vgb.org.ru
------------------------------------------------------------------------------
Thank you for the release
Thank you for the release Vb.
Just installed this and it seems to be working perfectly.
edit: For some reason this module is still not listed on the project page that you have linked. I would hope that this gets rectified so that I can subscribe to its project page and be notified of updates without having to check the demo site.
Next version
Hope next beta2 i will upload to /project/smfforum
I have succesfully completed
I have succesfully completed the following stages;
1) Download the SMFforum module from http://drupal.org/project/smfforum or
from http://vgb.org.ru
2) Download the smf_api_2 archive from http://www.simplemachines.org/ or
from http://vgb.org.ru
See the "license.txt" file for details of the Simple Machines license.
3) Copy smfforum directory to your modules directory .../modules/smfforum/
4) Unpack smf_api_2 archive and copy it to subdirectory
.../modules/smfforum/includes/
5) Navigate to Administer » modules and enable the SMFforum and profile module.
6) Navigate to Administer » settings » SMFforum and enter the path to
SMF root (path to forum's Settings.php file).
The next stage ;
Save settings and ensure that SMFforum successfully connected
to the SMF database. I get the following errors;
Error locating SMF installation. Please fix your settings!
Error locating . Please fix your settings!
Unable to connect to the SMF database. Please fix your settings!
The path to drupal is;
/home/httpd/vhosts/mysite/httpdocs/drupal
The path to SMF is;
/home/httpd/vhosts/mysite/httpdocs/smf
SMF seems to work and the database has been set up ok.
Has anyone any ideas please ?
Slight change in instructions
It's Sep 2007 today, and I found that these instructions are a little bit outdated.
Step 1):
I recommend downloading from http://vgb.org.ru. The drupal.org version is sometime outdated.
Step 4):
I HAD TO SKIP STEP 4) - and therefore also step 2) - because the recent smfforum-5.x-1.0-dev.tar.gz comes prepackaged with smf_api_2 in its include directory, AND I understand that the included smf_api_2.php contains a smfforum specific fix. Performing step 4) would actually override this required fix.
Note: The included readme.txt file has an extra step 5) which incorrectly directs you to "Login to your SMF forum as admin". It is my understanding that it should read "Login to your DRUPAL forum as admin".
Step 6): SMFforum root:
It would be helpful to mention how you can find out the real path of SMF.
In case Drupal and SMF are installed on the same server, here's how you can find out the real path of Drupal: Create a new page and link it to a menu. Edit the page and use
print realpath('.');for the body. Set the page's "Input format" to "PHP code", and Submit. Drupal's real path should show, and could be a good indication of SMF's real path.Step 6): Path to SMF api file:
Defaults to "modules/smfforum/includes", but on a clean install (which separates add-on modules from core modules), this path should be: "sites/all/modules/smfforum/includes".
Great product Vadim, *and* I invite you to update your documentation here, on the Drupal projects page, and in the readme.txt file.
It will save a lot of your customer's valuable time. Thank you.
Ling.
User login block
Hi!
I have tested in local (easyphp) this bridge and all seem to work fine except one small problem:
i dont see in block list "SMFforum: User login block"
See image: http://img338.imageshack.us/img338/6746/blockda8.gif
How i can fix?
Thanks in advance, DarkWolf :)
Edit:
Sorry, my error, now all is good :)
Will this work with forum.domain.com?
Hello,
Will this module work if you install a forum on a separate IP/"domain"? For example:
Domain with Drupal: http://www.domain.com
Domain with Forum: http://forum.domain.com
Subdomains in SMF+Drupal bridge
Hello,
I hope subdomains work,
Domain with Drupal: http://www.domain.com
Domain with Forum: http://forum.domain.com
works
but
Domain with Drupal: http://www.drupaldomain.com
Domain with Forum: http://www.smfdomain.com
does not work
I have tested subdomain on a local computer
Will this be backported to
Will this be backported to Drupal 4.7.x ?
SMF+Drupal module for 4.7.x
SMF+Drupal module for 4.7.x will be released after releasing v 1.0 for Drupal 5.x if there will be requests for it.
Count Me In!
I'll be the first to say I'd love to see a 4.7.x conversion. LOVE.
Drupal 4.7 smfforum.module released
You can download smfforum.module for Drupal 4.7 from
http://vgb.org.ru/download
http://vgb.org.ru/files/smfforum-4.7.x-1.x-dev.tar.gz
can you be more specific on
can you be more specific on how to do this ?
Domain with Drupal: http://daciasanderoclub.ro
Domain with Forum: http://forum.daciasanderoclub.ro
?
You say in another post :
Thank's
This does not work for me. I
This does not work for me. I did everything the install posted above said to, but something funky is happening. I'm using the login box to login, but when I try to, the page refreshes and somehow the login box doesn't recognize that I'm logged in. I made sure I did the step to disable drupal login box and enable the SMFforum login box. ALso, I try to log into the admin page but it says I don't have access to it which is clearly not the case since I'm logging into an administrator account..
This is off a fresh install of drupal and an currently active smf forum.
Installation issue
I cannot still imagine which sequence of installation steps and action cause this situation.
>I try to log into the admin page but it says I don't have access to it
I have never seen this situation, module not change adm rights.
First of all restore all. Via ftp rename or delete in directory modules/smfforum smf_api_2.php
This eliminates funky refreshing.
Logout from SMF forum.
Clear qookie and cache in browser.
Login with www.yor_drupal_site/user/login with username admin
Go to Blocks and disable all SMFforum blocks.
It would be better first to test not in live SMF forum but on a local computer.
But I changed all on a live working SMF site and all succeeded.
Do not forget update 1.1.1.02 of smf_api_2
http://vgb.org.ru/files/smf_api_2.zip
Via ftp restore in directory modules/smfforum smf_api_2.php
Place smf_api_2 and smf_api_subs in one place .../includes or smf root
Go to SMFforum settings and ensure that module has found smf and connected.
Enable SMF login block you may not disable Drupal login block (see both)
Logout from Drupal
try to login in SMFforum block with your Drupal login and password
Hope it would be not funny.
If you admin with the same password on SMF forum too then you may click on SMF link and you get authorized in SMF.
If it goes wrong with funky situation please tell all in detail step by step.
Snapshot February 12, 2007 - 03:14
Snapshot smfforum-5.x-1.x-dev.tar.gz February 12, 2007 - 03:14 does not contain last commited updates and has some errors
Please download last changes in smfforum.module v 1.2 from http://vgb.org.ru/files/smfforum-5.x-1.x-dev.tar.gz
This is a working module.
This module works for me now
This module works for me now with a few tweaks on my end and email tagging with vb :)
Great stuff! Some documentation
First of all let me say it took me abt 10 hrs to get it work, most of the issues being on my side. But with great email support from VB all the way through, I could get it working!
*VB you rock dude*
Here is some documentation from what I learnt.
1. The URL issue: This is nothing to do with the module but make sure you have the base URL's same through out the site. In my case, I had redirection issue of http://mysite.com vs. http://www.mysite.com/smf (with www), this was creating qookies for each URL. So I had to change the values of $boardurl in smf/Settings.php and $base_url in drupal/sites/default/settings.php to have same base URL's to fix this. After you do this, you may also want to go to SMF >> Admin >> Themes and Layout >> Themes and Settings >> click on "Attempt to reset all themes" in the "Reset Theme URLs and Directories" box.
2. The gender issue: Well not really the gender issue here..:) but more from a data point of view. This module as of now *MUST* have gender (profile_gender) field filled in. Also the gender field in drupal profile needs to be 1 and 2 and not Male/Female, I guess that is how the info is passed from SMF to Drupal.
Note: If your Drupal/SMF users don't set their gender field, their profile changes will not get synced. I am hoping VB will fix this soon.
3. Security note: The admin profile (user with uid=1) will not have the name, password and email sync. This is not an issue, but a security feature. You will have to manually change it in Drupal and SMF.
4. The Birthdate: The Birthdate of SMF is mapped to profile_birthdate in drupal, but make sure that you create a simple "single-line textfield" and NOT a "date" field like I did.
5. This also comes with a block "SMFforum: Hidden login instead of block `User login`" which need not be activated if you have the "SMFforum: User login" block activated.
Hope the above info is useful.
I have succesfully completed
I have succesfully completed the following stages;
1) Download the SMFforum module from http://drupal.org/project/smfforum or
from http://vgb.org.ru
2) Download the smf_api_2 archive from http://www.simplemachines.org/ or
from http://vgb.org.ru
See the "license.txt" file for details of the Simple Machines license.
3) Copy smfforum directory to your modules directory .../modules/smfforum/
4) Unpack smf_api_2 archive and copy it to subdirectory
.../modules/smfforum/includes/
5) Navigate to Administer » modules and enable the SMFforum and profile module.
6) Navigate to Administer » settings » SMFforum and enter the path to
SMF root (path to forum's Settings.php file).
The next stage ;
Save settings and ensure that SMFforum successfully connected
to the SMF database. I get the following errors;
Error locating SMF installation. Please fix your settings!
Error locating . Please fix your settings!
Unable to connect to the SMF database. Please fix your settings!
The path to drupal is;
/home/httpd/vhosts/mysite/httpdocs/drupal
The path to SMF is;
/home/httpd/vhosts/mysite/httpdocs/smf
SMF seems to work and the database has been set up ok.
Has anyone any ideas please ?
On the project page it
On the project page it mentions that you have to login to your SMF, don't know if it would make a difference...
Another thing you could check is redirects.
Sorry can't be of much help. Good luck !
Shirley
--
I'm from Hong Kong. My profile shows Thailand because Hong Kong was not available from the country list.
Login Problem
Hello Sir
I am facing the same problem
When i enable the SMFForum Login box
i am unable to login into drupal
if a rename smf_api_2.php to something else
i am able to login with the drupal login
but if the smf_api_2.php is there while loging i am unable to login
i am trying this on my localhost
what could be the problem
i have the latest module
Awaiting ur reply
Ajay
Do visit me at http://www.iajay.com
Thanks for the great module :)
It works out of the box with an active SMF 1.1.12 and a fresh install of Drupal 5.1 on different subdomains.
I also love it that if I delete a synced user from Drupal, it does not affect the said user in SMF. Nice :)
Shirley
--
I'm from Hong Kong. My profile shows Thailand because Hong Kong was not available from the country list.
I have added this module but
I have added this module but I get the follwing error message on SMFforum settings :-
Successfully locating SMF installation.
Error locating /home/aussieh/public_html/forum1smf_api_2.php. Please fix your settings!
Unable to connect to the SMF database. Please fix your settings!
Far as I can tell this should be working as i followed the instruction.
What am I doing wrong ???
Thank you for your help NOT
Thank you for your help NOT