nipun_jain wrote:
Hey Brat, does your smf plugin replaces the smf profile with the cb profile? I am really looking forward to integrating smf and cb.
Post edited by: nipun_jain, at: 2006/08/05 23:43
Okay, let me see if I can explain a few things.
First off, this depends upon which SMF bridge you are using. If you use Joomlahacks bridge, the forum PROFILE link already reroutes to CB. If you are using Ortisio's bridge, I don't think that is a feature. I am using Joomlahacks because of the CB tie-in, among other reasons (i.e., I don't need a separate login module, which makes it easier to integrate other 3PD applications).
The PROFILE could be handled at either the bridge or template level. In other words, you can edit your SMF template to link to whatever you want. Joomlahacks bridge includes code that will automatically reroute SMF to the CB profile when the PROFILE link is clicked.
If Ortisio's bridge doesn't do that, then you can either hack the bridge to include the code from Joomlahacks that hanldes the link rewrite (it's just a few lines of code) OR you can customize your SMF template to remove the forum's profile link and include the CB profile link. That means you'd also have to edit the template file that controls post layouts, as a member's profile link is included there as well.
Again, not hard to do, just a bit tedious. But, in the end, you could have your desired functionality without having to hack the source code of any platform.
SMF is very robust, and includes a LOT of features that aren't really needed if you are using Joomla with CB. If you genuinely do not want to use something in SMF, you typically can handle it from a template level without even touching base code if you don't want to. The average user/member most probably won't notice or care, so long as everything functions smoothly.
Rather than excluidng, I'm focusing on getting SMF and CB to share information. With some coding effort, you can create CB tabs that pull everything from the forums. You can dump the entire SMF profile into a CB tab if you wish - the SMF programmers have had the foresight to anticipate people wanting to share info between the forum and other platforms, so the software is programmed so that you can "drop" code from SMF into your application if you know what you're doing.
Rather than "replace" SMF's profile, the goal here is to allow members to access its functions from CB as seamlessly as possible. Ultimately, for CB installations with bridged SMF, I'd like the members to be able to access all key forum Profile functions from CB tabs without having to even go into the native Profile panel.
That's why it's going to take me a minute or two to get this working the way I want.
Hope this makes sense!
Regards,
Brat.
Post edited by: Brat, at: 2006/08/06 01:47