Hmmm... I just tried this out on one of my test sites.
The installation is a little buggy if your mambo directory is not writeable, despite index.php being writeable. (but you know that already)
You claim that it redirects the SMF profile to the community builder profile... in my tests, it does not.
I go to the SMF profile from SMF and it calls the SMF profile. I also go to the SMF profile from Coppermine and it calls the SMF Profile...
one MAJOR complaint that I have: Many of the standard bridge modules will not work with this version, including the who's online (both versions), and my (kindred's) calendar modules. I do see that you have released a revision of the latest post module to work with it...
Overall, it's a nice piece of work but it has distinctly separated from the standard bridge...
redirect to SMF profile: i'm taking note of this... my only claim is just the main profile button redirecting to smf profile, i have to work on linking individual users profile to it's smf profile.
Can you please elaborate about this not working with other modules so I can make adjustments? Are you talking about the removal of piece of code embedded on the mambo template, that's why other modules would not work?
Hey, I wrote something on the subject here To elaborate: File: administrator/components/com_smf/functions.smf.php Since not all modules are called "mod_comprofiler", the isCBLogin() will return false even if you are indeed using CB, just with a modified loginmodule. Isn't it better to check if the #_comprofiler table exists? Or maybe there's an even more secure way - to have the admin select it in the backend config.
In the component config, I didn't get any option to redirect to CB profiles - same cause? I also tried altering functions.smf.php to reflect my setup (if that has anything to do with it) but same result. Nothing in backend config about CB, though: It DOES register users in both CB&Mambo when syncing (?)
About recent posts module: My module version: mod_smf_recent_posts.php,v 1.0 2005/04/01 11:49:45 kochp (downloaded yesterday) I am also getting the following on the recent posts module: undefined function db_query. I see that my index.php has been patched, so that's not it. Tried to fix the first error, but then I got another error on the censorText() function. Commented that out, got error on un_htmlspecialchars(). Realized I probably was clueless, so I stopped there. Might be a missing include with all these functions? - Hope it helps somewhat.
Just a cheerful sidenote: Kindred, I really admire that you are giving this build a shot, and not just act grumpy because "someone stepped on someones toes". After all, we all benefit from all these experiences! So thanks.
Hey... I didn't write the other bridge. I just worked with Orstio to test it out (I like testing new things.)
The error I get in my Who's online module (mod_smfonline2) is:
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /PATH/modules/mod_smf_online2.php on line 26
Fatal error: Call to undefined function: writelog() in /PATH/modules/mod_smf_online2.php on line 167
line 24-28 reads:
Code:
$sql = "SELECT id FROM ".$mos_prefix."menu WHERE link='index.php?option=com_smf'"; $result = mysql_query ($sql); $row = mysql_fetch_array($result); $myurl = $_SERVER['PHP_SELF'] . "?option=com_smf&Itemid=" . $row[0]."&"; $scripturl = $myurl;
writelog() is a standard fuction called in SMF (and SSI) so, it should be defined!
The calendar module (mod_smf_calendar) [which displays a list of events and holidays] gives:
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/kindred/public_html/aaw/modules/mod_smf_calendar.php on line 9
Fatal error: Call to undefined function: smf_loadcalendarinfo() in /home/kindred/public_html/aaw/modules/mod_smf_calendar.php on line 21
Again, the search of the database and another standard smf function.
All three of these work correctly with the original bridge... (and work correctly with v1.2 as far as I know)
oh... and one other point (regarding the redirect to CB profile) Since the themes I design for SMF for use with Mambo all have the top button bards completely removed (there's no need for those, when you have a left or right menubar!)... I never even see a button within SMF for Profile. All calls for the SMF Profile are done either by linking to com_smf&action=profile or by the who's online module or by coppermine...
Actually, I just tried something else. Clicking on a user's name in a post SHOULD bring you to the profile (eithe SMF or CB)... instead, it bring up:
Code:
The page you are trying to access does not exist. Please select a page from the main menu.
when trying to access: index.php?option=com_comprofiler;u=1
« Last Edit: April 27, 2005, 10:39:18 AM by Kindred »
I have released the list the events & holidays module...
I am still working on the "show calendar" module. I have it displaying the current month, perfectly... I am now working to get it to allow the user to switch display months, within the module.
What with real life, etc... I am estimating a release around the end of May.
Hey... I didn't write the other bridge. I just worked with Orstio to test it out (I like testing new things.)
The error I get in my Who's online module (mod_smfonline2) is:
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /PATH/modules/mod_smf_online2.php on line 26
Fatal error: Call to undefined function: writelog() in /PATH/modules/mod_smf_online2.php on line 167
line 24-28 reads:
Code:
$sql = "SELECT id FROM ".$mos_prefix."menu WHERE link='index.php?option=com_smf'"; $result = mysql_query ($sql); $row = mysql_fetch_array($result); $myurl = $_SERVER['PHP_SELF'] . "?option=com_smf&Itemid=" . $row[0]."&"; $scripturl = $myurl;
writelog() is a standard fuction called in SMF (and SSI) so, it should be defined!
The calendar module (mod_smf_calendar) [which displays a list of events and holidays] gives:
Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/kindred/public_html/aaw/modules/mod_smf_calendar.php on line 9
Fatal error: Call to undefined function: smf_loadcalendarinfo() in /home/kindred/public_html/aaw/modules/mod_smf_calendar.php on line 21
Again, the search of the database and another standard smf function.
All three of these work correctly with the original bridge... (and work correctly with v1.2 as far as I know)
oh... and one other point (regarding the redirect to CB profile) Since the themes I design for SMF for use with Mambo all have the top button bards completely removed (there's no need for those, when you have a left or right menubar!)... I never even see a button within SMF for Profile. All calls for the SMF Profile are done either by linking to com_smf&action=profile or by the who's online module or by coppermine...
Actually, I just tried something else. Clicking on a user's name in a post SHOULD bring you to the profile (eithe SMF or CB)... instead, it bring up:
Code:
The page you are trying to access does not exist. Please select a page from the main menu.
when trying to access: index.php?option=com_comprofiler;u=1
I think I know why those other modules are not working, it's the piece of code that was removed in your mambo template during uninstall of 1.2. Try to inserting it manually.
About the member profiles redirecting to CB, it's still quite a work. SMF member profile has some useful info such as posts made by the member etc. I don't think people would want that unaccessible. I personally would like that instead of seeing CB profile. I can actually add this type of change to the SMF mod or probably something like a menu hover to choose bet. SMF and CB profile. I guess i'll just have this pending.
Anyway about accessing CB prof, you need to publish a list first. If you haven't done so.
I agree, I prefer the SMF profile, myself, although I wish it were easier to add fields to it. I think Orstio's profile Manager will be the answer, when it comes out of Alphatest.
None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved. TERMS OF USE