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
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...
I believe the problem was that when the file was added with the mambo install, it was assigned as belonging to either NO USER or the SYSTEM... neither of which a standard user (in this case the site owner) has rights to change...
You didn't need to actually do all those edits... what you actually needed was to make certain that config.smf.php is setting the proper path to the forum directory. The rest descends from that...
OK... this is a strange one. I installed the exact same files on two different servers. On one, the registration worked fine. On another, the registration failed, every time... The user was added to mambo, but not to SMF and the registration aborted to an SMF error page.
The line numbers below are for v1.0 of the component, but v1.1 has the same issues, just different line numbers.
The functions.smf.php errors were fixed by adding the appropriate $variables into the global declarations of the registration function.
The smf.html.php error was fixed by commenting out line 160.
Code:
Notice: Undefined variable: context in /XXX/administrator/components/com_smf/functions.smf.php on line 363
Notice: Undefined variable: db_prefix in /XXX/components/com_smf/smf.html.php on line 160
Notice: Undefined variable: email in /XXX/administrator/components/com_smf/functions.smf.php on line 431
Notice: Undefined variable: email in /XXX/administrator/components/com_smf/functions.smf.php on line 468
Notice: Undefined variable: username in /XXX/administrator/components/com_smf/functions.smf.php on line 469
Notice: Undefined variable: username in /XXX/administrator/components/com_smf/functions.smf.php on line 470
Notice: Undefined variable: username in /XXX/administrator/components/com_smf/functions.smf.php on line 476
Notice: Undefined variable: username in /XXX/administrator/components/com_smf/functions.smf.php on line 477
Notice: Undefined variable: txt in /XXX/administrator/components/com_smf/functions.smf.php on line 477
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