Home arrow Forum redirect profiles to Community builder??
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 11:33:00 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Mambo-SMF 1.3.x
| | | |-+  redirect profiles to Community builder??
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: redirect profiles to Community builder??  (Read 3342 times)
Kindred
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 22


View Profile
redirect profiles to Community builder??
« on: April 26, 2005, 04:38:33 PM »

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...
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: redirect profiles to Community builder??
« Reply #1 on: April 26, 2005, 06:23:25 PM »

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?
Logged
ccondrup
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 29


View Profile
Re: redirect profiles to Community builder??
« Reply #2 on: April 27, 2005, 03:28:17 AM »

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.
Logged
Kindred
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 22


View Profile
Re: redirect profiles to Community builder??
« Reply #3 on: April 27, 2005, 10:17:29 AM »

Hey... I didn't write the other bridge. Smiley  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 » Logged
aravot
Joomla Pro
**

Karma: +0/-2
Offline Offline

Posts: 89


test/test


View Profile WWW
Re: redirect profiles to Community builder??
« Reply #4 on: April 27, 2005, 11:29:01 AM »

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 don't have that problem however I don't have CB installed, Kindred have you released your Calendar mod.
Logged
Kindred
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 22


View Profile
Re: redirect profiles to Community builder??
« Reply #5 on: April 27, 2005, 12:03:13 PM »

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.
Logged
aravot
Joomla Pro
**

Karma: +0/-2
Offline Offline

Posts: 89


test/test


View Profile WWW
Re: redirect profiles to Community builder??
« Reply #6 on: April 27, 2005, 12:50:11 PM »

Kindred checked your website couldn't find anything where to download it from?
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: redirect profiles to Community builder??
« Reply #7 on: April 27, 2005, 01:19:25 PM »

Hey... I didn't write the other bridge. Smiley  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.
Logged
Kindred
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 22


View Profile
Re: redirect profiles to Community builder??
« Reply #8 on: April 27, 2005, 02:44:15 PM »

list is published...   

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.


I will try re-adding the header code...
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login