FAQ: How to have a Seamless SMF + CB Integration

Moderator: mcsmom

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Thu Sep 14, 2006 3:45 am

onemak wrote:i do not have "Redirect SMF profile link to CB/CBE: Yes" to configure



Do you mean you don't have this option in the configuration tab of the Joomla-SMF Forum component?  Are you using the Joomlahacks bridge?  You should have this option regardless of whether you are using CB or CBE. 

User avatar
marcd
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Aug 24, 2005 8:19 am
Location: Zürich, Switzerland
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by marcd » Thu Sep 14, 2006 6:08 am

you probably have the wrong bridge component installed. did you install exactly the one that drummergirl refers to? (from joomlahacks) there are many different smf-brige-components available on the joomla extensions directory.

update on the login-issue:
i found a workaround for the issue in the mod_smf_login.php which seems to solve my login isses. i agree that this is not the nice way to do but at least it now works. what i did was changing the visible state of the "remember me" checkbox to "hidden" so it is always set to yet.

orignal:

Code: Select all

<input type="checkbox" name="remember" class="inputbox" value="yes" alt="',_REMEMBER_ME,'" />


modification:

Code: Select all

<input type="hidden" name="remember" class="inputbox" value="yes" alt="',_REMEMBER_ME,'" />


will keep an eye on this to find a better solution but in the meanwhile this workaround is better than to have these "half-way" login ;)
There are only 10 types of people in the world: Those who understand binary, and those who don't

onemak
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Sep 11, 2006 2:36 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by onemak » Thu Sep 14, 2006 11:35 am

i ve installed the recommended 1.1.4.2 bridge. dont know why the redirect isnt´t available in the configuration.


i ve solved it now by editing the config.smf.php-file



greets from vienna,
marko

Prof

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by Prof » Fri Sep 15, 2006 9:44 pm

marcd wrote:don't know cbe. just using cb. this part seems to work quite well.

update on the login-issue:
the problem seems to be if the users do not check the "remember me" checkbox. then he is not logged in into SMF correctly. if this checkbox is checked works well. so the workaround for my users now is to clear the cookies and login again with that check set. hopefully i can check the code and maybe find why this problem occur and fix it.


I have the same problem. Everything work fine. It's just when you try to login and the Remember Me is not clicked that the page is just reloaded without logged in. Remember to click the remember me and loggin and everything work as it should.

Is there any solution to this problem yet.

User avatar
marcd
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Aug 24, 2005 8:19 am
Location: Zürich, Switzerland
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by marcd » Sat Sep 16, 2006 5:34 am

Is there any solution to this problem yet.


the only thing i found so far is the workaround about three posts above this.
There are only 10 types of people in the world: Those who understand binary, and those who don't

radio91
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 24, 2006 5:11 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by radio91 » Wed Sep 27, 2006 10:13 pm

Okey how do i go about makeing the CB profile main image the forum avator, with no options for the user to change this, What ever they use as their main profile pic is what the forum will use as the avator, Is there anyway to do this? and would there be a way for the pics to be resized automatically to fit the forum avator size?

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Wed Sep 27, 2006 10:27 pm

I don't think there is a way to do this automatically without hacking the code a little.  The way I have it set up allows for two different avatars.  I think I would prefer just one (less confusing) so I will look into it more.  If you come across the answer, please post it.

radio91
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 24, 2006 5:11 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by radio91 » Thu Sep 28, 2006 5:41 am

Can you explain a bit about your avator setup at the moment? I followed your post about about seamless integration but im getting a little confused ???

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Thu Sep 28, 2006 4:05 pm

Currently the SMF avatar can be changed in two places on my site.  Under the CB profile there is a tab called "Forum Profile"  (it's a plug-in) and it has an option to push your CB avatar over to SMF.  You can also change the SMF avatar from the special link I provided on the user menu call "forum preferences" which bypasses CB and points to the SMF profile setttings. 

This is really the main area where things are not fully integrated as tightly as I would like.  I am forced to use the "forum prefs" link that points to the SMF prefs so users can setup their signature, notifications, etc.

radio91
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 24, 2006 5:11 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by radio91 » Thu Sep 28, 2006 7:35 pm

which plugin is it?

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Thu Sep 28, 2006 8:45 pm

Plugins
I have added several plugins to CB.  There are 3 new ones that work with SMF.  They don't seem to have a home yet, but the updated versions are being posted here (ironically, it was someone else's visit to my site that started that thread)  Cheesy

They are called:
SMF Info – shows basic info from SMF
SMF Profile – pulls in profile data.
SMF Posts – shows recent posts


It's the one called "SMF Profile"

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Thu Sep 28, 2006 8:50 pm

I just had a strange occurance on my site.  I cannot figure this one out.  I just had a user register and post a message on my forum.  The email I received about the registration was from SMF (not CB) and clicking the link in the email goes to the SMF profile for that user.  The user does NOT show up in CB at all and clicking on the user's name goes to their SMF profile and not to CB!  I cannot figure out how this happened! 

Even weirder is that when I look at my stat logs in BSQ, there is no listing for this person's IP address!  It's a legitimate post - not spam.  I can't even retrace their steps to see where they came from or what link they might have clicked to register.  Anyone have a clue what might be happening? 

???

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Thu Sep 28, 2006 8:55 pm

Wanted to add -- my best guess at this point is that this person some how landed on my unwrapped forum becasue that is the only place where the "register" link points to SMF instead of CB.  I still think it would show up in my stat logs, tho.

Now I gotta get that user imported into CB. 

radio91
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 24, 2006 5:11 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by radio91 » Thu Sep 28, 2006 9:04 pm

drummergirl wrote:
Plugins
I have added several plugins to CB.  There are 3 new ones that work with SMF.  They don't seem to have a home yet, but the updated versions are being posted here (ironically, it was someone else's visit to my site that started that thread)   Cheesy

They are called:
SMF Info – shows basic info from SMF
SMF Profile – pulls in profile data.
SMF Posts – shows recent posts


It's the one called "SMF Profile"


Hmm I see i had it in the wrong place, Can that plugin not be hacked so that it always pushes the the CB avator into smf, with no option to the user, then all youd have to do it hack the smf to remove the option to change the avator, LOL all sounds simple enough but i cant code!! lol

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Thu Sep 28, 2006 9:05 pm

Me either.    ;)

lejovchina
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 25, 2005 8:20 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by lejovchina » Sat Sep 30, 2006 9:16 pm

I have followed this recipe under Joomla 1.0.11.
The recommended bridge does not work properly, therefore i have to input the settings on the config file ditrectly. No big deal.
However, when i register a new user through CB on the frontend, the SMF tables won't get populated.
I have been revising my bridge and CB settings and all seems fine

Suggestions are MUCH welcome.

Ljv.

My bridge settings are as follows (except for sensitive lines, like paths):

Code: Select all

$smf_redirect = 0;
$joomla_redirect = 0;
$mos_prefix = "jos_";
$smf_prefix = "smf_";
$wrapped = 1;
$sync_uname = 0;
$hideemail = 1;
$cbprofile = 1;
$registration_module = "cb";
$login_module = "mod_smf_login";

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Sat Sep 30, 2006 9:26 pm

Are you logging in after you register?  They don't get into the SMF tables until they log in for the first time.  This happens on my site as well. 

lejovchina
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 25, 2005 8:20 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by lejovchina » Sat Sep 30, 2006 10:57 pm

This is rather strange.
When i attempt to log in, a propmt box pops on the screen:

"You are not authorized to view this resource".

and nothing else happens.

smf_members remains unchanged and i cannot login at all.

I am using mod_smf_login as recommended in your guide.

Could this mess be due to any incompatibility with Joomla 1.0.11?

Thanks for helping.

Ljv.

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Sun Oct 01, 2006 2:45 am

I can't say for sure if 1.0.11 is the problem.  I am still on 1.0.10.  You might post your question over at http://www.joomlahacks.com

lejovchina
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 25, 2005 8:20 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by lejovchina » Sun Oct 01, 2006 1:54 pm

Thanks for the hint, but i won't even try to post there.
Most threads at joomlahacks.com are deadends.
Many people have posted on this topic several times and not a single explanation has been provided.

Going to try the other bridge.

If it doesn't work either, good old uncluttered Joomlaboard will address this area. All in all, my customer just enjoys "the look and feel" of SMF :)

Honestly, i am not keen to 3rd party scripts messy orgies. It's all too fragile and hard to maintain.

Ljv.

lejovchina
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Aug 25, 2005 8:20 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by lejovchina » Sun Oct 01, 2006 5:24 pm

Seems i have made some landmark progress.
The lead dev at Joomlahacks.com has released a proper index.php patch for 1.0.11 that can be found here:
http://www.joomlahacks.com/component/op ... pic,2233.0

The smf members table is now populated.

Just wondering how to synchronize deletion.
That is to say, when i erase a user in CB, the user info for that user won't be erased from the smf members table.
Will i always have to erase in both CB/Joomla and SMF?
I must be failing something. It cannot be that arcane... hopefully.

Another doubt.
How can i "trim" the bridge inside the template?
I have a menu item which is linking to the component. Til that point, no problem.
However, when i click on any link, let's say a thread, within the SMF board, it will sort of burst the template and load a show SMF standalone.

Ljv.

User avatar
marcd
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Aug 24, 2005 8:19 am
Location: Zürich, Switzerland
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by marcd » Fri Oct 13, 2006 11:20 am

hi everybody. just got back from holiday  :P

I can't say for sure if 1.0.11 is the problem.


when i upgraded to .11 i ran into many problems with joomla (mambots etc.) as well as with the bridge itself. couldn't figure out all the solution so i did a downgrade to .10 what i still use now. downgrade was a little bit tricky as i had to do several semi-automatic directory-merges of the joomla core but at the end it now runs not too bad ;-)
There are only 10 types of people in the world: Those who understand binary, and those who don't

ljk
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Jan 28, 2006 11:51 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by ljk » Fri Nov 10, 2006 3:36 am

I have Joomla 1.0.11, SMF 1.1 RC3, CB 1.01 amd JSMF 2.0 RC2 and mod_smf_login 2.0.3.

Everything seems to integrate fine, but when SMF is shown it has a Register and Login link and button, but they do not take you to the CB register/login they are SMF register and login. Is this normal? Do you have to go hack the code so the register and login do not show up in SMF?

Thanks.

User avatar
drummergirl
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Feb 22, 2006 9:51 pm
Location: Illinois
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by drummergirl » Fri Nov 10, 2006 3:39 am

You can still login from the SMF board and it should log you into both SMF and Joomla.  It works that way on my site.  If you click on register from there it points to CB registration.  Does it not work that way for you?

ljk
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Jan 28, 2006 11:51 pm

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by ljk » Fri Nov 10, 2006 4:38 am

Your right, it does. I saw the forum formated login and thought that it was only SMF login.

Do you know how to get SMF PMs to work in this set up? I would like to have a member's directory and the members be able to PM each other. If you click on the member's profile there doesn't seem to be a PM link anywhere. Have I just got something in the configuration set up incorrectly do you know?

Thanks for you quick response!!!

User avatar
marcd
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Wed Aug 24, 2005 8:19 am
Location: Zürich, Switzerland
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by marcd » Fri Nov 10, 2006 7:18 am

you either can go with the normal smf-integrated messaging system what should work find within the forum or you use a joomla-PM system that integrates better with CB. drummgirl described this in her first most at "Private Messaging". you can configure the smf-messaging in the smf-admin-panel. maybe it is currently disabled on your site.
There are only 10 types of people in the world: Those who understand binary, and those who don't

User avatar
Rapunzl
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Nov 22, 2005 11:27 pm
Location: USA
Contact:

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by Rapunzl » Sun Nov 19, 2006 7:19 am

I tried the RC3/1.0.11 Bridge with the latest CB installed. I tried all kinds of things to set the SMF directory but kept getting an error about accessing files directly. I had the dual login modules showing up too, but it looks like our SMF/Joomla guru addressed that. I ended up reinstalling both in separate databases again and waiting till someone figures it out, because I've reinstalled Joomla countless times trying to rectify it myself. Oh, and the login module kept telling me wrong password, redirecting me to a wrong password screen, but still logging me in. I know I had the "users can change their login:no". I'll keep watching this forum. Thanks guys!

:pop
I love trying new things, but I hate when new things try me.

zatoichi

Re: FAQ: How to have a Seamless SMF + CB Integration

Post by zatoichi » Wed Jan 10, 2007 7:04 am

Hi Gretchen,
great work,

drummergirl wrote: 
component/option,com_smf/Itemid,298/action,profile/ 



Good to show how to write this like:
http://yourDomain.com/joomlaDirectory/i ... rumProfile

Your guide really helped me intergrte everything.
I noticed if user updates avatar in forum profile, avatar is deleted from CB profile?
Unless I am missing something which I may be as I haven't spent much time on this.

Thx,
Z


Post Reply