Page 2 of 2
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 14, 2006 3:45 am
by drummergirl
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 14, 2006 6:08 am
by marcd
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
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 14, 2006 11:35 am
by onemak
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
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Fri Sep 15, 2006 9:44 pm
by Prof
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Sat Sep 16, 2006 5:34 am
by marcd
Is there any solution to this problem yet.
the only thing i found so far is the workaround about three posts above this.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Wed Sep 27, 2006 10:13 pm
by radio91
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?
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Wed Sep 27, 2006 10:27 pm
by drummergirl
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 28, 2006 5:41 am
by radio91
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
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 28, 2006 4:05 pm
by drummergirl
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 28, 2006 7:35 pm
by radio91
which plugin is it?
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 28, 2006 8:45 pm
by drummergirl
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"
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 28, 2006 8:50 pm
by drummergirl
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?
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 28, 2006 8:55 pm
by drummergirl
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 28, 2006 9:04 pm
by radio91
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
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Thu Sep 28, 2006 9:05 pm
by drummergirl
Me either.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Sat Sep 30, 2006 9:16 pm
by lejovchina
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";
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Sat Sep 30, 2006 9:26 pm
by drummergirl
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Sat Sep 30, 2006 10:57 pm
by lejovchina
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Sun Oct 01, 2006 2:45 am
by drummergirl
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
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Sun Oct 01, 2006 1:54 pm
by lejovchina
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Sun Oct 01, 2006 5:24 pm
by lejovchina
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.0The 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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Fri Oct 13, 2006 11:20 am
by marcd
hi everybody. just got back from holiday
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 ;-)
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Fri Nov 10, 2006 3:36 am
by ljk
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Fri Nov 10, 2006 3:39 am
by drummergirl
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?
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Fri Nov 10, 2006 4:38 am
by ljk
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!!!
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Fri Nov 10, 2006 7:18 am
by marcd
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.
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Sun Nov 19, 2006 7:19 am
by Rapunzl
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!
Re: FAQ: How to have a Seamless SMF + CB Integration
Posted: Wed Jan 10, 2007 7:04 am
by zatoichi
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 ... rumProfileYour 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