File is attached to this post. Unzip it. Inside, you will find the component to install, and a readme.html. Please read the readme. ;)
After installing the component, you will notice that it also installed the registration component and the login module, populating them with some default values. It is best to go into each in your admin panel and configure them the way you want them. Once configured, you are done.
There is no mod to SMF required for this bridge. :)
This bridge is compatible with SMF 1.1 RC2 (Which is why it says that in the topic title). It is NOT compatible with any previous version of SMF. If you do not wish to upgrade to SMF 1.1 RC2, then please use a previous bridge version that is compatible with your version of SMF:
http://mamboforge.net/frs/?group_id=543
This bridge is released under the terms of the Simple Machines license. Please do not redistribute.
[Update 1/1/06 -- There were multiple problems with the registration routines. Files changed are smf.php and smf_registration.php, if you just want to update instead of reinstalling.]
[Update 1/12/06 -- Various small bugs fixed. Only smf.php was changed, for those updating instead of reinstalling.]
[Update 1/13/06 -- Ther was a typo in the redirect function, which would have affected non-SEF sites. My apologies. Fixed now.]
Awesome, I will be building a test site today :)
Thanks a lot, integration of SMF works fine with this version of the bridge - I just have to figure out why on my testsite the layout for the module is not showing correctly...
Mike
Quote from: Orstio on December 31, 2005, 03:07:34 PM
File is attached to this post. Unzip it. Inside, you will find the component to install, and a readme.html. Please read the readme. ;)
After installing the component, you will notice that it also installed the registration component and the login module, populating them with some default values. It is best to go into each in your admin panel and configure them the way you want them. Once configured, you are done.
There is no mod to SMF required for this bridge. :)
This bridge is released under the terms of the Simple Machines license. Please do not redistribute.
Is this the same as the one I installed last Tuesday or does this one have updates?
If one upgrades from SMF 1.1RC1 and Bridge 3.19 to SMF 1.1RC2 and Bridge 3.20 what is the procedure? Is it better to uninstall the Bridge, upgrade SMF and reinstall the new bridge version?
QuoteIs it better to uninstall the Bridge, upgrade SMF and reinstall the new bridge version?
That would probably be the best way. The other way would be to upgrade SMF, and upload the files from the bridge zip to their proper locations, overwriting the old files.
issue fixed...pebcak
Jestyr: Did you add the code to your Joomla template? That is still required for the modules to work.
MikeTheDon: OIC. Thanks, I'll work on that. :)
I went back and double checked everything right after I posted the problem.. I'm a moron.. I was missing a > when I pasted the code into my template :/
damn... you guys are fast!!!!
thanks a lot!!!
Oristo
Small question I've installed joomla & SMF in different databases & now want to bridge that . is that possible with this mod & pasting code u provide in readme.html in joola template
Also ive installed 2 coppermine 1.4 galleries in different databases i can bridge that also(if there is not any problem)
Regards
Rahul
nevermind.. it was short tag's is my php settings =/
------------------
i am using joomla 1.1 Alpha and SMF 1.1 RC2. when go to install the bridge component i get the following error:
Installation: successful
'; } ?>
Fatal error: Call to undefined function com_install() in C:\Inetpub\wwwroot\AcE\administrator\components\com_installer\component\component.class.php on line 194
any ideas?
Thanks,
Syrius
QuoteSmall question I've installed joomla & SMF in different databases & now want to bridge that . is that possible with this mod & pasting code u provide in readme.html in joola template
Yes, it works with multiple databases. See the FAQ topic for instructions to set that up.
cool bridge!
joomla 1.05 + smf 1.01 rc2
ps: (RUSSIA)
Orstio,
One thing that happens in windows IE is the login module then breaks the site like http://www1.swegon.co.uk (http://www1.swegon.co.uk), but it looks OK in FF
Thanks
Dan
Good day to all and best wishes!!
Compliments for the new bridge that is fantastic!
You pardon my English (that I do not speak hihihi). I write means a translate!
I signal alone a small bug:
When I ask for the absolute path means the button, this comes restored myself without some "/" (Define here the ABSOLUTE PATH to your SMF installation. HINT: if you unsure click the button * Create path automatically *)
I signal also, in case melted interested, that I provided to create for the bridge the translation in Italian (Italian. php) and if necessary to change the file of installation (smf. xml) for add italian. php, beyond to have translated also and entirely the readme. htm in Italian.
If fatemi you are interested to know than I will provide to send off yourselves it it and. . Still compliments!!
P. S. : personally I provided to install SMF in the same database of Joomla.
If you are not sure whether your absolute path is correct, you can copy the one you'll find in your forum admin panel -> server settings -> path to smf.
QuoteOrstio,
One thing that happens in windows IE is the login module then breaks the site like http://www1.swegon.co.uk, but it looks OK in FF
Thanks
Dan
That's the template. That template does the same thing in IE if you happen to post images in the content that are larger than ~300 pixels wide. My suggestion is to try a different template.
Thanks Orstio,
I will make my own once everything is setup and tested like the one im working on at web.swegon.co.uk (http://web.swegon.co.uk), but i was thinking of others who would not adjust a template, is there a standard template that plays nice with the module, maybe if there is you could mention it in the readme.html with your bridge?
Thanks
Dan
Quote from: xenovanis on January 01, 2006, 11:35:24 AM
If you are not sure whether your absolute path is correct, you can copy the one you'll find in your forum admin panel -> server settings -> path to smf.
Thanks of the reply but... I know well my absolute path. :) I signalled but clicking on the button, for example, rather than c: /programs/xampp/htdocs/Mysite appeared (for that bugs) c: programsxampphtdocsMysite
QuoteThanks of the reply but... I know well my absolute path. I signalled but clicking on the button, for example, rather than c: /programs/xampp/htdocs/Mysite appeared (for that bugs) c: programsxampphtdocsMysite
Yeah, the button is mainly just guessing at a few likely locations for the forum to have been installed. It certainly wouldn't find the path if you installed your forum in a folder called "hookalooma" for example. ;)
eeeee... modul last topics in joomla no have for this bridge?!
orstio, i have a question for you. i have both joomla and the smf. installed smf com for the joomla, but where is the package for the smf? i mean, do i need to install and joomla mod for SMF using the package manager? i used to do that for rc1 and oldest versions, so with this new component in this post we don't need anymore the other MOD installed in the package section?
just wodering.
thank you and AWESOME JOB!
Quoteorstio, i have a question for you. i have both joomla and the smf. installed smf com for the joomla, but where is the package for the smf? i mean, do i need to install and joomla mod for SMF using the package manager? i used to do that for rc1 and oldest versions, so with this new component in this post we don't need anymore the other MOD installed in the package section?
QuoteThere is no mod to SMF required for this bridge.
WOW!!! this is GREAT!!!!
thank you man!
Thanks Orstio. This com will make it a lot easier for us to promote smf/joomla/mambo combos. I had trouble with the install as it eemd I needed a trailing slash in the absolute path :-[
And SMF 1.1rc2 rocks.
cheers,
David
The install is great. Much easier to install than the 3.19 version and below, so nice one there.
I have one issue though - now all the hyperlinks on my main joomla site seem to be using the CSS from the SMF forum. I can see how this would be usefull, but I want my links on the joomla site to use their own CSS.
Is this something to do with the code I had to manually insert into my template? Can I delete the line causing this, and If i can, which line(s) should i delete?
I hope that all makes sense, and thanks Orstio for another great release.
oh yeah, i had (have) that same issue, but what i did i removed a few things from the style.css from the default smf theme and it worked just a little. i wonder why this is happening.
Any ideas on this one??, someone at the joomla forum has this error, i am waiting on what version of SMF they have just incase it is 1.1 RC1
Error http://img351.imageshack.us/img351/2628/error26vj.jpg (http://img351.imageshack.us/img351/2628/error26vj.jpg)
Thanks
Dan
Looks like they didn't configure the component....
Orstio,
I take it you mean the absolute path, as the other defaults should still display OK i would of thought??
Thanks
Dan
Right, it looks like the absolute path is empty.
Thanks Orstio,
I've posted your answer, let you know how they get on when they reply
Thanks
Dan
anyway to not have the bridge redirect to the forums for the home page?
Quoteanyway to not have the bridge redirect to the forums for the home page?
I'm not sure what you mean by this?
http://www.eb0la.com/main/index.php
my main page takes it right into the forums..
also when trying to go to the Configuration->Features and Options in SMF it goes back to the forums main page
Go to your Joomla admin panel, Menus menu.
Click on "mainmenu".
Make sure the Forum item is not the first item. Change the Order as needed.
@Orstio: Does Bridge Mambo,Joomla SMF 1.1.1.zip work fine, and should all of us update?
Yes, you should update, or there's a good chance nobody will be able to register on your site.
Using Joomla 1.0.5 and SMF 1.1 RC2. The forum works fine as standalone, and when unwrapped, but when I try to wrap the forum, I just get a blank page when clicking any links to the forum. Anyone else having this, or know how to fix it?
Also, I'm still having this problem http://www.simplemachines.org/community/index.php?topic=63182.msg439354#msg439354
Disable compressed output in SMF.
Is there any compatability issues with the discussbot for Joomla ?
Orstio, have you tested the discussbot and can you provide a link to which bot works please ?
Cheers :)
I can't guarantee the discussbot will work, nor any of the old modules, for that matter. Some might work, some might not.
Any plans for a 3.20 discussbot ?
Quote from: Orstio on January 02, 2006, 07:12:00 AM
Disable compressed output in SMF.
I tried that but it didnt work. However, I did try disabling compressed output in Joomla and everything worked fine - the forum now wraps (with or without the SMF compression).
Thanks Orstio for a point in the right direction and a great bridge.
Everything is now running pretty smooth. I finally sorted out the joomla links using the css from the forums - I just copied the link classes from my joomla CSS over the classes in the SMF CSS. Of course the SMF links will now be the same as the Joomla ones, but i'd prefer that than the other way around.
Oh, and my discuss bot still works from the 3.19 bridge.
Honestly, you should combine the CSS files completely and get rid of the SMF <head> information by "if"ing it out.
i suppose combining the CSS totally would be beneficial, but i'm not all that sure what you mean Kindred about "if"ing out the <head>. Could you just elaborate a tiny bit on that.
I'll post here a correct version of the french translation for the bridge, thanks for your work! :)
<?php
/**
* @version $Id$
* @package smf-bridge
* @copyright (C) 2004-2006 mamboworld.net
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author mic ([email protected]) www.mamboworld.net
* Mambo is Free Software
*/
/** French language file for SMF Bridge
* Corrected by NiLuJe ([email protected] / www.ak-team.com)
*/
class smfbLanguage
{
//common (to be used by all)
var $SMFB_ISO = 'iso-8859-1';
var $SMFB_DATE_FORMAT_LC = '%A, %d. %B %Y'; // use PHP strftime Format, more info at http://php.net
var $SMFB_DATE_FOMAT_SHORT = ' %d.%m.%Y'; // short date
var $SMFB_DATE_FORMAT_LONG = '%d.%m.%Y %H:%M'; // use PHP strftime Format, more info at http://php.net
//admin
var $SMFB_A_CONF_HEADER = 'Configuration du Bridge SMF';
var $SMFB_A_CONF_CONFIG_IS = 'Le fichier de configuration est :';
var $SMFB_A_CONF_WRITEABLE = 'Modifiable';
var $SMBF_A_CONF_NOT_WRITEABLE = 'Non modifiable';
var $SMBF_A_CONF_TAB1 = 'Configuration';
var $SMBF_A_CONF_PATH = 'Chemin vers SMF (absolu)';
var $SMBF_A_CONF_PATH_BUTTON = 'Créer le chemin automatiquement';
var $SMBF_A_CONF_DB_SMF_NAME = 'Nom de la base de données de SMF';
var $SMBF_A_CONF_DB_SMF_PREFIX = 'Préfixe des tables SMF';
var $SMBF_A_CONF_DB_MOS_PREFIX = 'Préfixe des tables Mambo/Joomla';
var $SMBF_A_CONF_WRAPPED_TITLE = 'Intégration du forum SMF';
var $SMBF_A_CONF_WRAPPED = 'Intégré';
var $SMBF_A_CONF_UNWRAPPED = 'Pleine page';
var $SMBF_A_CONF_SETT_SAVED = 'Les réglages ont été enregistrés';
var $SMBF_A_CONF_UPGRADE_SUCCESS = 'Bridge mis à jour avec succès';
// tooltips
var $SMBF_A_CONF_PATH_TT_HEADER = 'Chemin vers l\'installation du forum SMF';
var $SMBF_A_CONF_PATH_TT = 'Définissez ici le CHEMIN ABSOLU vers votre installation de SMF. CONSEIL: Si vous n\'êtes pas sûr, cliquez sur le bouton * Créer le chemin automatiquement *';
var $SMBF_A_CONF_DB_SMF_NAME_TT = 'Le nom de la base de données utilisée par SMF. Laissez le vide si vous avez installé Mambo/Joomla et SMF dans la même base de données';
var $SMBF_A_CONF_DB_SMF_PREFIX_TT = 'Préfixe des tables SMF, normalement * smf_ *';
var $SMBF_A_CONF_DB_MOS_PREFIX_TT = 'Préfixe des tables Mambo/Joomla, normalement * mos_ * pour Mambo, et * jos_ * pour Joomla, ATTENTION: Le préfixe doit être identique à celui défini pour votre installation de Mambo/Joomla! CONSEIL: Si vous n\'êtes pas sûr, cliquez sur le bouton * Ajouter le préfixe des tables Mambo/Joomla *';
var $SMFB_A_CONF_MOS_PREFIX_BUTTON = 'Ajouter le préfixe des tables Mambo/Joomla';
var $SMBF_A_CONF_WRAPPED_TITLE_TT = 'C\'est - peut-être - l\'un des réglages les plus importants! Vous devez spécifier si SMF sera intégré (comme un composant classique) dans mambo/Joomla, ou s\'il sera affiché comme un SMF classique (Pleine page). Selon votre choix, il est possible que vous ayez à définir d\'autres réglages, comme spécifié dans le * readme *';
// errors/messages
var $SMBF_A_CONF_ERR_CONF_NOT_WRITEABLE = 'Le fichier de configuration n\'est pas modifiable!';
// frontend (user)
//header
// general
}
?>
read the tutorial HERE (http://www.technoadvice.com/advanced/developer/modify_an_smf_theme_for_joomla_and_mambo.html)
QuoteI'll post here a correct version of the french translation for the bridge, thanks for your work!
Merci beaucoup. :)
You're welcome ;)
I was testing the GeSHiSMF mod when I encountered a strange behavior... If I access the forum with the component link, everything between '< >' is stripped from my posts... So if I only post something like '<test>', SMF will complain that my post is empty. o_O
It works fine when I access the forum via the 'normal' link (myhost.tld/smf f.e).
(Joomla 1.0.5, SMF 1.1 RC2 Default Theme, Bridge 1.1.1)
EDIT: Snapshots (Normal link (http://n1luj3.free.fr/pic/smf/2006-01-02_1280x1024_snap_1.png) - Component Link (http://n1luj3.free.fr/pic/smf/2006-01-02_1280x1024_snap_2.png))
bridge 1.1.1?
Is that from Joomlahacks.com?
(if so, please report it there for support...)
No, the one from this post ;) (I should have said 3.20, but I used the version number from the zip filename)
QuoteI was testing the GeSHiSMF mod when I encountered a strange behavior... If I access the forum with the component link, everything between '< >' is stripped from my posts... So if I only post something like '<test>', SMF will complain that my post is empty. o_O
Yeah, Joomla will strip that out before SMF even has a chance to see it.
Argh :/ No chance to workaround this in unwrapped mode?
In your Joomla index.php, you can swap these two lines (~138-139):
$message = mosGetParam( $_POST, 'message', 0 );
if ($option == 'login') {
Altered code:
if ($option == 'login') {
$message = mosGetParam( $_POST, 'message', 0 );
(Please note that this is not something that everyone should do! Modifying core files is not typically required for the installation.)
Thanks, it works :)
I get this error when trying to install in Joomla:
Upload module - Upload Failed
ERROR: Could not find an XML setup file in the package.
Upload module - Failed
Installation file not found:
/home/hyster41/public_html/content/media/install_42ae452bc0a5d/
Safe Mode is on. I've read about patch, but couldn't find a link for 1.05. Is there another way?
When I try to install from a directory, it give an error about writing the com_sf/language dir, but everything that needs to be writeable is. Any help would be appreicated. TY.
Unzip it, and install the com_smf.
That's what I did, and that the error I get :D
Also I got the patch installed, but get different error, so I put original files back for now.
QuoteAlso I got the patch installed, but get different error, so I put original files back for now.
Patch?
There is a patch that is supposed to allow the installation of components when the host has SAFE MODE turned on in PHP. That's my problem apparently, because SAFE MODE is on for me. I read something about placing the files where they need to go and then using the "Install from directory" option, but not sure which files need to go where or if the database entries will be put in using the option, and I know nothing about DBs, so I'm trying to screw up as little stuff as possible. Anyway, thanks for you help. Hope I'm not bothering too much. I can usually get stuff figured out, but this one's got me. I just don't know where to go from here.
QuoteThere is a patch that is supposed to allow the installation of components when the host has SAFE MODE turned on in PHP.
Ah. OK. You can install the component manually, but it requires you do a bunch of database queries in PhpMyAdmin.
If you read through install.smf.php inside the com_smf zip, it should give you some clues.
I was wondering if there is any 'known' issues with this bridge. I have used the 'other' bridge before, and there are issues, such as login issues and session issues, and also the total time logged in for users does not update (which is a big issue for me). Is there a list of known issues for this bridge. I did a search and couldn't find anything. Thanks in advance.
Charles
None yet, but it's only been public for two days. ;)
Thanks. I'll give it a shot tonight. I tried what I could think of. Same errors. If I install anything into the /root/component is says that some component is using /root/component/com_smf or something like that. Or if I place the folder somewhere else and try installing from that folder, it says that it has trouble writing the /com_sf/languages folder. I have no idea where to go from here. I can post the EXACT error message if you need them, but those are close.
Quote from: Orstio on December 31, 2005, 03:07:34 PM
Update 1/1/6 -- There were multiple problems with the registration routines. Files changed are smf.php and smf_registration.php, if you just want to update instead of reinstalling.
By this do you mean just uploading and replacing the two files?
Thanks Orstio,
Has there been any known issues in the previous bridges that have not been weeded out for this version yet? I know that sometimes even when bridges update to accomodate a new release of something, that the issues carry over because they haven't yet been fixed or such.
don't knou why I still have this problem: it redirects me to the forum whenever i tries to login from Joomla. It doesn't happen when i logout thou.
I configured the login module but it didn't help.
Here's the error message I got after trying to login from Joomla:
QuoteYou were unable to login. Please check your cookie settings.
Also, sometimes when i tries to logout from SMF, this error message occurs:
QuoteUnable to verify referring url. Please go back and try again.
(It doesn't always happen)
I guess smt is wrong with the cookie?, or the database.... I set up two different databases as guided in the forum
plz help....
Any ideas (Running Joomla! 1.0.5, Bridge 3.2 and SMF 1.1 RC2)...
I was running SMF 1.1 RC1 and a prior version of the bridge.
Uninstalled the Bridge... upgraded SMF to 1.1 RC2 and then installed 3.2 of this bridge.
I have configured the Components and the login module and now I get... Table 'thejfact_smf.jos_menu' doesn't exist SQL=SELECT name FROM jos_menu WHERE link = 'index.php?option=com_smf' on both the Login Module and if I click the link to the forum.
It seems to be getting the Db - Table mixed up ie. using the SMF $db_name for a query on a Joomla! table.
Any thought would be greatly appreciated.
Cheers
PS... I made the template changes ;)
OK, it was SEF on Joomla! causing the problem. All fixed... thanks for a great component/bridge :D
Thank you! This was most certainly very useful!! :)
Regarding the possibility of having SMF and Joomla on different DB..
HERE (http://www.simplemachines.org/community/index.php?topic=63187.msg437146#msg437146) is a solution, but it's impracticable for me because of my ISP control panel, the well know Plesk. Plesk can't let you to have the same user on different DB.
I think that a more general approach is having the bridge managing the DB connections.
Quote from: hobby on January 03, 2006, 03:44:03 AM
don't knou why I still have this problem: it redirects me to the forum whenever i tries to login from Joomla. It doesn't happen when i logout thou.
I configured the login module but it didn't help.
Here's the error message I got after trying to login from Joomla:
QuoteYou were unable to login. Please check your cookie settings.
Also, sometimes when i tries to logout from SMF, this error message occurs:
QuoteUnable to verify referring url. Please go back and try again.
(It doesn't always happen)
I guess smt is wrong with the cookie?, or the database.... I set up two different databases as guided in the forum
plz help....
Disable local cookies in SMF. You may need to change your setting for subdomain independent cookies and database driven sessions as well.
QuoteRegarding the possibility of having SMF and Joomla on different DB..
HERE is a solution, but it's impracticable for me because of my ISP control panel, the well know Plesk. Plesk can't let you to have the same user on different DB.
I think that a more general approach is having the bridge managing the DB connections.
Yes, certain control panels will prevent from being able to use multiple databases. Certain versions of Plesk are a good example.
Excuse me but, after installing the bridge between joomla 1.0.5 and SMF 1.1 RC2 (that works), all the characters of my template have become bigger and my home page seems to be upset, disorganized, disordered. Why? How can I fix this problem?
Quote from: Orstio on January 03, 2006, 07:08:23 AM
Yes, certain control panels will prevent from being able to use multiple databases. Certain versions of Plesk are a good example.
The opportunity to have Joomla and SMF on different DB is important and it's a pity to loose it because of third party application such as CPanels.
Don't know much of PHP but i think isn't that much to get the script handle two DB connections.
Can i alter your code?
Quote from: altropianeta on January 03, 2006, 08:32:21 AM
Excuse me but, after installing the bridge between joomla 1.0.5 and SMF 1.1 RC2 (that works), all the characters of my template have become bigger and my home page seems to be upset, disorganized, disordered. Why? How can I fix this problem?
To all: If you are having problems, please start your own thread.
To altropianeta: It sounds like you are having conflicts between your Joomla template and SMF theme. You need to remove the duplicate CSS from your SMF theme, and change the declaration from xhtml to html in the index of your SMF theme.
Quote from: mcgrelio on January 03, 2006, 10:24:52 AM
Quote from: Orstio on January 03, 2006, 07:08:23 AM
Yes, certain control panels will prevent from being able to use multiple databases. Certain versions of Plesk are a good example.
The opportunity to have Joomla and SMF on different DB is important and it's a pity to loose it because of third party application such as CPanels.
Don't know much of PHP but i think isn't that much to get the script handle two DB connections.
Can i alter your code?
I'm sure Orstio doesn't mind if you do whatever you want with the code. But, the database limitation is more of the fault of the control panel than the script.
Quote from: tondelo on January 03, 2006, 10:36:12 AM
Hello, I jumped the gun on upgrading and am now having a problem.
Once I install the bridge none of my current users can login and my login section only has the text boxes and drop down menu with no words indicating username/password/login time..
I decided to uninstall the bridge and work on it more from on a different site. The problem is when I try to uninstall the components I get the errors below and my page fails to load properly.
Warning: main(/<my path>/administrator/components/com_smf/config.smf.php): failed to open stream: No such file or directory in /<my path>/modules/mod_smf_login.php on line 28
Warning: main(/<my path>/administrator/components/com_smf/config.smf.php): failed to open stream: No such file or directory in /<my path>/modules/mod_smf_login.php on line 28
Fatal error: main(): Failed opening required '/<my path>/administrator/components/com_smf/config.smf.php' (include_path='.:/usr/local/lib/php') in /<my path>/modules/mod_smf_login.php on line 28
It's almost as if it's still trying to use the component even though I've uninstalled it.
Any ideas?
Sounds like you need to uninstall the login module.
Also, your original problem may have been resolved by configuring the login module.
Quote from: chadness on January 03, 2006, 10:37:23 AM
Quote from: altropianeta on January 03, 2006, 08:32:21 AM
Excuse me but, after installing the bridge between joomla 1.0.5 and SMF 1.1 RC2 (that works), all the characters of my template have become bigger and my home page seems to be upset, disorganized, disordered. Why? How can I fix this problem?
To all: If you are having problems, please start your own thread.
To altropianeta: It sounds like you are having conflicts between your Joomla template and SMF theme. You need to remove the duplicate CSS from your SMF theme, and change the declaration from xhtml to html in the index of your SMF theme.
Ok, I'll do that. Sorry.
ich suche Module
für die neue Bridge?
mod_smf_recent_topics for new bridge??
Quote from: chadness on January 03, 2006, 10:37:23 AM
To all: If you are having problems, please start your own thread.
My appologies. will do that so that this thread can stay on focus..
Quote from: Orstio on January 03, 2006, 07:05:49 AM
Quote from: hobby on January 03, 2006, 03:44:03 AM
don't knou why I still have this problem: it redirects me to the forum whenever i tries to login from Joomla. It doesn't happen when i logout thou.
I configured the login module but it didn't help.
Here's the error message I got after trying to login from Joomla:
QuoteYou were unable to login. Please check your cookie settings.
Also, sometimes when i tries to logout from SMF, this error message occurs:
QuoteUnable to verify referring url. Please go back and try again.
(It doesn't always happen)
I guess smt is wrong with the cookie?, or the database.... I set up two different databases as guided in the forum
plz help....
Disable local cookies in SMF. You may need to change your setting for subdomain independent cookies and database driven sessions as well.
Many thanks to you, Orstio :), It works now after I enable subdomain independent cookies and disable local cookies in SMF.
Just installed RC2 on to a site, and the bridge, and wow, is that ever a smooth install! Great work!
So, were you able to accomplish all of this?
Quote from: Orstio on November 13, 2005, 04:28:11 PM
3.20 will also come with a number of enhancements, like integrated profile changes (changing email, password, name, etc. is automatically handled in both) and integrated member admin options (like deleting and registering users).
QuoteJust installed RC2 on to a site, and the bridge, and wow, is that ever a smooth install! Great work!
Thanks. I obviously need to include the instructions about multiple databases in the readme, though.
QuoteSo, were you able to accomplish all of this?
Quote from: Orstio on November 13, 2005, 04:28:11 PM
3.20 will also come with a number of enhancements, like integrated profile changes (changing email, password, name, etc. is automatically handled in both) and integrated member admin options (like deleting and registering users).
Yes. As we've discussed, I also want to add a few tabs to the component admin panel, with a few more integration options, and get rid of those config files.
maybe this is just me, since everbody here enjoyed the bridge.
I work with joomla 1.0.5 and SMF 1.1RC2, and this bridge just doesn't work for.
when I use the regular joomla "login form" module, the SMF doesn't recognize the user. I have to use the bridge "login form" module.
other problem I saw, is when I do use the bridge "login form" module, if I type the username/password incorrect, it will take to the "try again" screen. and there, if I type the user/password correctly, it would bring me to the stand alone SMF forum (without the joomla interface).
is it just me ?
Quotewhen I use the regular joomla "login form" module, the SMF doesn't recognize the user. I have to use the bridge "login form" module.
That's why the bridge login module is provided...
Quoteother problem I saw, is when I do use the bridge "login form" module, if I type the username/password incorrect, it will take to the "try again" screen. and there, if I type the user/password correctly, it would bring me to the stand alone SMF forum (without the joomla interface).
This is occurring with the bridge attached to the first post in this topic? Do you have a URL? You can PM it to me if you wish to keep it private.
Quote from: Orstio on January 03, 2006, 06:24:55 PM
Thanks. I obviously need to include the instructions about multiple databases in the readme, though.
Been catching up on the posts, and, yeah, that'd be a good idea! ;D
Is there a way to bridge a SMF-board on server A to Joomla on server B? Basically, I want the usernames and passwords of SMF imported to Joomla. Any other suggestions?
no... as far as I know, smf and joomla must reside on the same server and so must the databases...
My joomla login is not carrying over to SMF. What things should I check for? I'm using CB 1.1. Also does this bridge work with CB 1.0 RC2?
Regards,
Ed
Quote from: Orstio on December 31, 2005, 03:07:34 PM
[Update 1/1/6 -- There were multiple problems with the registration routines. Files changed are smf.php and smf_registration.php, if you just want to update instead of reinstalling.]
Orstio,
I am able simply owerwrite the 2 files changed?
QuoteAlso register into Community Builder?
(You must have Community Builder already installed, and be using Bridge Registration)
I activated this, added a user, and I m able to login on bridge login, to joomla, and smf
CB 10RC2 does get the username, and the email adress, but Name is not transfered
Is there a chance to fix that?
Another suggestion would be, PM integration for CB, so CB uses SMF PM system (I will love it)
Profile use of CB, instead of SMF, therefore the register button must lead to cb register...or the MSUT HAVE fields of CB wont be used during registration...
(I still hope that CB function will be in SMF)
Thanks a lot, for the bridge
Quote from: clarensio on January 04, 2006, 12:00:26 PM
Orstio,
I am able simply owerwrite the 2 files changed?
Well, I'm not Orstio but the answer is yes, only those files have changed.
Quote from: MikeTheDon on December 31, 2005, 04:03:59 PM
Thanks a lot, integration of SMF works fine with this version of the bridge - I just have to figure out why on my testsite the layout for the module is not showing correctly...
I have the same problem, and because i am new to portals i don't know how to solve my problem... can someone help me?
http://falameezar.de/dragonlords/portal (http://falameezar.de/dragonlords/portal)
I would be really glad, if someone could help me to correct the code. My css-files for joomla and smf are identical (Winterloon theme).
Winterloon is not updated for RC2 (heck, it's not even updated for 1.1b3....)
There are some theme changes REQUIRED to get any pre 1.1 theme working with RC2
little issue
forum is wrapped into joomla, quick reply is activated (both have search engine friendly urls activated,probably this is important)
when hitting QUOTE no quote message is copied into quick reply field
when using reply, and then pressing "insert quote" it works...
Did you put the new code into your Joomla template header? Check the readme.html.
surely
everything is in
i only needed to decide wheter the code comes directly after the opening head oder before end head
so i put all on top
also the line behind body
so i have 2 little issues
the one qith quick reply + quote
and first login is not directed into wrapped forum, instead it gets the original link, after the login, and reloading start page it is wrapped...
some lines taken from my /com_smf/smf.php:
... //Try to set the redirect by the login module params...
... $sql = mysql_query ("
... SELECT params
... FROM {$mosConfig_dbprefix}modules
... WHERE module='mod_smf_login'");
... $result = mysql_fetch_array($sql);
446 $paramlist = $result[0];
447 $paramslogin = mosParseParams($paramlist);
448 $returncheck = $paramslogin->login;
and here my errorlog:
http://falameezar.de/dragonlords/portal/smf/index.php?option=com_smf&Itemid=46&action=login2
8: Undefined property: login
file: /home/falameezar_de/www/dragonlords/portal/components/com_smf/smf.php
row: 448
running joomla 1.0.4 with smf 1.1 RC2.
As I said, I am new to joomla, and my knowledge of php is weak. Can someone give me a hint?
Strange....There's a query in the installation that's supposed to take care of that now.
Go to your Joomla admin panel. Go to the Modules Menu. Click on Site Modules. Find mod_smf_login in the list of modules. It might not be on the first page. Change the parameters to your liking, and make sure to click Save at the top of the page. Even if you change nothing, click save at the top of the page.
Hey Oristo, is everything working 100% w/ 1.0.5 or wait a bit? I tried scanning through here but, thought I would just ask directly.
I'm in no big rush, just let me know. Thanks mate!
you mean Joomla 1.0.5?
as I hear it, some people have had issues with Joomla 1.0.5 and gone back to 1.0.4... (nothing to do with the bridge... all sorts of Joomla users)
Quote from: Kindred on January 06, 2006, 08:46:31 AM
you mean Joomla 1.0.5?
as I hear it, some people have had issues with Joomla 1.0.5 and gone back to 1.0.4... (nothing to do with the bridge... all sorts of Joomla users)
Yes, for Joomla!
I wanted to use it at OSW for our private board plus allow our designers work on templates for JB! (JamboBuilder!.com) website. Their familiar w/ vB so hopefully they like this as it seems to be the mainstream and preferred choice of users.
Quote from: Kindred on January 06, 2006, 08:46:31 AM
you mean Joomla 1.0.5?
as I hear it, some people have had issues with Joomla 1.0.5 and gone back to 1.0.4.
1.0.5 fixes several issues that 1.0.4 had, including typos in couple of files and one vulnerability. Maybe the issues you've heard of are related to upgrading or third party components?
I'd recommend Joomla! 1.0.5 over 1.0.4.
Quote from: Kindred on January 06, 2006, 08:46:31 AM
you mean Joomla 1.0.5?
as I hear it, some people have had issues with Joomla 1.0.5 and gone back to 1.0.4... (nothing to do with the bridge... all sorts of Joomla users)
There are two fixes for Joomla! 1.0.5 available that address the issues some people had. My test installaton of SMF 1.1RC2 and Bridge 1.1.1 is running fine under Joomla! 1.0.5.
Mike
No matter what, when I hit logout, it directs the user back to the unwrapped forum.
The forum is set up to be wrapped and works great save for this logout thing. The login prefs work as you can choose any of the three options and it works as expected, just the logout doesn't.
Any ideas??
Quote from: denouden on January 06, 2006, 04:12:25 PM
No matter what, when I hit logout, it directs the user back to the unwrapped forum.
The forum is set up to be wrapped and works great save for this logout thing. The login prefs work as you can choose any of the three options and it works as expected, just the logout doesn't.
Any ideas??
http://www.takeitaway.ca:22 user: test_user pass: test
^^ test server...not always up ^^
This bridge is for SMF 1.1 RC2. The bridge for SMF 1.1 RC1 is here:
http://mamboforge.net/frs/download.php/6471/MOS_SMF_BRIDGEv3.19a_SMF1.1b3.zip
I'm also experiencing redirect trouble. When the user logs in/logs out through the site's log in module they go to the wrapped forum as intended. However, if they log in/log out through any login that SMF provides in the forum area, they go to the unwrapped forum. :'(
I'm using SMF 1.1 RC2, and the bridge that is provided in the first post of this thread.
Do you have a URL?
Quote from: Orstio on January 06, 2006, 06:13:14 PM
Quote from: denouden on January 06, 2006, 04:12:25 PM
No matter what, when I hit logout, it directs the user back to the unwrapped forum.
The forum is set up to be wrapped and works great save for this logout thing. The login prefs work as you can choose any of the three options and it works as expected, just the logout doesn't.
Any ideas??
http://www.takeitaway.ca:22 user: test_user pass: test
^^ test server...not always up ^^
This bridge is for SMF 1.1 RC2. The bridge for SMF 1.1 RC1 is here:
http://mamboforge.net/frs/download.php/6471/MOS_SMF_BRIDGEv3.19a_SMF1.1b3.zip
Thanks my man, I was trying to do a quick test bridge install and forgot that my production site is RC1 at this time (RC2 is still in testing).
Thanks again!
Is there a way to disable the users SMF avatar from appearing on the Joomla main screen after they have logged in? Some of my users have large avatars and it really disrupts the look of the page.
open mod_smf_login.php
remove these lines, starting at around line 65...
<tr>', empty($context['user']['avatar']) ? '' : '
<td valign="top" align="' . $smf_align . '">' . $context['user']['avatar']['image'] . '
</td>
</tr>
I just installed your latest bridge with RC2 with Joomla 1.0.5. Looking good.
Where do I know more about it's features and limitations? What is the difference between "Bridge registration" and "SMF registration"?
Some pages in wrapped format(for Fixed width Joomla Templates) are breaking. Any solution to this?
Thanks.
Is it just me, or does the smf bridge login form look like its missing some things, no labels for username, password, is there anway to get it to be like the joomla login ? I get an almost blank login form on the screen is this right ? I have joomla 1.05 and smf 1.1rc2
you have forgotten to edit the joomla php file manually..
see readme in zip file
I see now, got it thanks, looks good
question: when it gives the option of bridge vs smf login
what do they mean by smf login is that simply, you have to login in at the smf page ?
I would assume the joomla login would then be used separately ?
the reason I ask is, i'm trying to understand the relationship of logging onto the site and getting automatically logged into smf, is there a difference between a registered user of the joomla site and a registered user in smf, I suppose it wouldn't matter once they are logged in. the forum becomes part of the site
Hi.
It will be nice, to do small language releated fix in login_smf_module.
Please put instead "Forgot password?" appropriate universal definition. I can`t find now which one it is, but when i find I post it here.
Quote from: webfm on January 07, 2006, 05:40:44 AM
Hi.
It will be nice, to do small language releated fix in login_smf_module.
Please put instead "Forgot password?" appropriate universal definition. I can`t find now which one it is, but when i find I post it here.
Please see:
http://www.simplemachines.org/community/index.php?topic=64075.msg442849#msg442849
Quote from: bugsmi0 on January 07, 2006, 05:34:14 AM
I see now, got it thanks, looks good
question: when it gives the option of bridge vs smf login
what do they mean by smf login is that simply, you have to login in at the smf page ?
I would assume the joomla login would then be used separately ?
Maybe this clarifies what SMF login does
http://www.simplemachines.org/community/index.php?topic=63438.0
Quote from: Kindred on January 01, 2006, 10:39:27 AM
If user A exists in joomla, but not in SMF, then the first time they log in using the bridge, they will be told that system security was recently upgraded and then asked to re-enter their password. At this time, they will be imported into the SMF userlist.
Is user B exists in SMF, but not Joomla,then the first time they log in using the bridge, they will be added into the Joomla userlist (with nothing shown to the user, it happens in the background)
If user C exists in both joomla and SMF (same username, same email), then the first time they log in using the bridge, the joomla user will be updated with the SMF password. (Note: They will have to use the SMF password to log in properly)
If User D exists in both Joomla and SMF (different username or different email), then the will be treated like User A or B, above... depending on which username they try to log in as...
Quotequestion: when it gives the option of bridge vs smf login
Uhhh....the options are bridge
registration or SMF
registration, not login. Don't confuse registering and logging in.
QuoteWhere do I know more about it's features and limitations? What is the difference between "Bridge registration" and "SMF registration"?
Bridge registration is a registration component written specifically for use with the bridge. It looks very much like the default Joomla registration, but it functions very differently.
SMF registration is the registration method in SMF.
It doesn't really matter which one you use, other than your own personal preference.
Thanks.
Quote from: animas on January 07, 2006, 02:08:33 AM
Some pages in wrapped format(for Fixed width Joomla Templates) are breaking. Any solution to this?
?
Quote from: animas on January 07, 2006, 02:08:33 AM
Some pages in wrapped format(for Fixed width Joomla Templates) are breaking. Any solution to this?
Yes... modify your templates (both SMF and joomla) or use a different combination or templates.
If you plan to use either Joomla or SMF for any period of time, it is really important that you learn the templating systems, because there are always little changes that you will want to make. :)
i have joomla for my site @ http://www.prasad007.rajhosting.com/cms/
and ive installed the smf bridge
the Login Form isnt showing anything
its blank!!
why?
please help!
also as mentioned in readme:
Quote
Mambo/Joomla template changes
The changes to the Mambo/Joomla template are still required for this version of the bridge. Copy the code below, and paste it into the header area (between the <head> and </head> tags) of your Mambo/Joomla template.
<?php
global $sc, $context, $settings;
if (!defined('SMF')){
require ("administrator/components/com_smf/config.smf.php");
require ($smf_path."/SSI.php");
}
$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
mysql_select_db($mosConfig_db);
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?beta4"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
var smf_scripturl = "', $scripturl, '";
var smf_session_id = "', $context['session_id'], '";
// ]]></script>';
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc1" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?beta4" media="print" />
<link rel="help" href="', $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' . $scripturl . '?action=search" />
<link rel="contents" href="', $scripturl, '" />';
?>
You will also need to make sure to add the next line just below the </body> (the closing body tag at the bottom) tag of the template.
<?php mysql_select_db($GLOBALS['db_name']); ?>
where am i supposed to place this?
which file?
please help!
Thank you!
That code goes to your Joomla! template, in your case /templates/rhuk_solarflare_ii/index.php
Original index.php file, around line 10
Original:
<head>
<?php mosShowHead(); ?>
Modified:
<head>
<?php
global $sc, $context, $settings;
if (!defined('SMF')){
require ("administrator/components/com_smf/config.smf.php");
require ($smf_path."/SSI.php");
}
$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];
mysql_select_db($mosConfig_db);
echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?beta4"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
var smf_scripturl = "', $scripturl, '";
var smf_session_id = "', $context['session_id'], '";
// ]]></script>';
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc1" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?beta4" media="print" />
<link rel="help" href="', $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' . $scripturl . '?action=search" />
<link rel="contents" href="', $scripturl, '" />';
?>
<?php mosShowHead(); ?>
around line 221 (after adding the code above):
Original:
<?php mosLoadModules( 'debug', -1 );?>
</body>
</html>
Modified:
<?php mosLoadModules( 'debug', -1 );?>
</body>
<?php mysql_select_db($GLOBALS['db_name']); ?>
</html>
Quote from: Markku on January 07, 2006, 11:20:26 AM
That code goes to your Joomla! template, in your case /templates/rhuk_solarflare_ii/index.php
thanks!
what abt the first prob?
Your first problem will go away when you add that code to your template.
Quote from: Orstio on January 07, 2006, 11:25:24 AM
Your first problem will go away when you add that code to your template.
okay
it works!
Thanks! :)
Made $settings['doctype'] = 'html' in index.template.php of default theme of RC2. But big font issue still remains.
that xhtml/html fix is really not worth it any more...
What you need to do is follow chadness' amazing tutorial on getting rid of the SMF <head> section and move all the non-duplicate SMF CSS entries into the mambo/joomla CSS file...
After upgrading SMF to 1.1RC2 with Bridge Mambo,Joomla SMF 1.1 RC2 (aka 3.20) on my Joomla 1.0.5 site i have encountered troubles when posting special characters like ", ', \, etc...
They're ESCAPED with \ also in the posts! Each time i edit a post i get an extra \ behind special characters.
This only after the bridge upgrade. Obviously i've tested the forum unembedded and it works fine.
I see i'm the first in this thread to have sucj a problem.
http://www.simplemachines.org/community/index.php?topic=63182.msg440422#msg440422
Hi
i just downloaded Bridge Mambo,Joomla SMF 1.1 RC2 (aka 3.20) from the first message of this thread , but when i checked the folder where i saved it , its name changed to index.zip !!!
but the package still contains the right files ! ? if they are these ,
com_smf.zip
readme.html
but there were no step by step instructions , where can i find step by step instructions for newbies ?
Sounds like the right files. The instructions are in the readme.html file.
I respect your work, but very is one more problem with your bridge.
I use in my site joomla! + smf rc2, and problem is in quoting system caused by SEF in bridge, which makes addresses shorter and killes code, that forum need to quote.
<a href="http://localhost/component/option,com_smf/Itemid,79/action,post/quote,38/topic,3.0/num_replies,5/sesc,caef1d00216c08a16a35778e250e66f5" onclick="doQuote(38, 'caef1d00216c08a16a35778e250e66f5'); return false;">
- is now
should be...
<a href="http://localhost/forum/index.php?action=post;quote=38;topic=3.0;num_replies=5;sesc=caef1d00216c08a16a35778e250e66f5" onclick="doQuote(38, 'caef1d00216c08a16a35778e250e66f5'); return false;">
Quotebut the package still contains the right files ! ? if they are these ,
com_smf.zip
readme.html
but there were no step by step instructions , where can i find step by step instructions for newbies ?
Open the readme.html in your browser. If you want numbered steps, here:
1) install com_smf.zip.
2) Configure the bridge component.
3) Configure the Bridge registration component.
4) Configure the login module
5) Add the code from the readme.html to your Joomla template.
QuoteI respect your work, but very is one more problem with your bridge.
I use in my site joomla! + smf rc2, and problem is in quoting system caused by SEF in bridge, which makes addresses shorter and killes code, that forum need to quote.
Your hypothesis is not quite correct. I have this fixed in CVS already. I have a small problem with the board jumpto that i want to fix yet before I release the next revision.
Joomla 1.0.5 SMF 1.1rc2
Everything works swell (thanks !), however one small thing I've noticed is if I have a site under construction & is in maintenance mode via Joomla Admin, the preview site function no longer works after installing the bridge.
** Updated: Disregard, I got this worked out. The theme index.php code needs to be put in right under the <head> tag, as opposed to just before the </head>. Fixed it right up.
thank you Orstio. i will try...
Quote from: mcgrelio on January 08, 2006, 01:59:25 PM
After upgrading SMF to 1.1RC2 with Bridge Mambo,Joomla SMF 1.1 RC2 (aka 3.20) on my Joomla 1.0.5 site i have encountered troubles when posting special characters like ", ', \, etc...
They're ESCAPED with \ also in the posts! Each time i edit a post i get an extra \ behind special characters.
This only after the bridge upgrade. Obviously i've tested the forum unembedded and it works fine.
I see i'm the first in this thread to have sucj a problem.
I'm getting the same problem. Any fix to this?
Quote from: rsuplido on January 10, 2006, 04:24:35 PM
Quote from: mcgrelio on January 08, 2006, 01:59:25 PM
After upgrading SMF to 1.1RC2 with Bridge Mambo,Joomla SMF 1.1 RC2 (aka 3.20) on my Joomla 1.0.5 site i have encountered troubles when posting special characters like ", ', \, etc...
They're ESCAPED with \ also in the posts! Each time i edit a post i get an extra \ behind special characters.
This only after the bridge upgrade. Obviously i've tested the forum unembedded and it works fine.
I see i'm the first in this thread to have sucj a problem.
I'm getting the same problem. Any fix to this?
you obviously did not read the next response...
Quote from: Orstio on January 08, 2006, 05:26:45 PM
http://www.simplemachines.org/community/index.php?topic=63182.msg440422#msg440422
Quote from: dan1dyoung on January 01, 2006, 10:57:10 AM
Orstio,
One thing that happens in windows IE is the login module then breaks the site like http://www1.swegon.co.uk (http://www1.swegon.co.uk), but it looks OK in FF
Thanks
Dan
You can fix this by changing the left_outer from 165px to 160px. It will render in IE much better with that hack.
A new problem... (I think)
Redirection after login or logout is not working properly. Bridge version is 1.1.2.
QuoteRedirection after login or logout is not working properly. Bridge version is 1.1.2.
Can you describe how you believe it is not working properly?
I get a blank page after login or logout, and the link is duplicated (http://www.mysite.com/http://www.mysite.com/index.php?)
Do you have SEF turned on or not?
SEF is turned off (server is Microsoft-IIS/6.0)
Safe Mode is off
MySQL version is 4.0.18-nt
PHP version is 4.3.10
What about this error?
Notice: Undefined index: action in c:\programmi\easyphp1-8\www\modules\mod_smf_login.php on line 192
(http://img395.imageshack.us/img395/6795/joomlaerror3me.png)
Quote from: Excalibur! on January 13, 2006, 07:08:31 AM
I get a blank page after login or logout, and the link is duplicated (http://www.mysite.com/http://www.mysite.com/index.php?)
same thing here orsito!
www.battlefieldranking.net - vanilla joomla SEF OFF
the older version ( the pre-fixed version) didnt have this error.
on login/logout, it puts siteurl infront of the link
Quote from: mirus on January 13, 2006, 10:28:03 AM
What about this error?
Notice: Undefined index: action in c:\programmi\easyphp1-8\www\modules\mod_smf_login.php on line 192
Did you add the required code to your Mambo/Joomla template?
Quote from: satcom on January 13, 2006, 10:52:45 AM
Quote from: Excalibur! on January 13, 2006, 07:08:31 AM
I get a blank page after login or logout, and the link is duplicated (http://www.mysite.com/http://www.mysite.com/index.php?)
same thing here orsito!
www.battlefieldranking.net - vanilla joomla SEF OFF
the older version ( the pre-fixed version) didnt have this error.
on login/logout, it puts siteurl infront of the link
I saw that you put the Forum in formal procedure Wrapped! !!. if interests you, instead, I did an alteration to the forum to introduce a button (site either web or like_you_seems) to be depicted for the home of joomla with the forum in formal procedure not wrapped. If serves you fammi to know and.. compliments for the link Smiley
Ita:
Ho visto che hai messo il Forum in modalità Wrapped!!!. se ti interessa, invece, ho fatto una modifica al forum per inserire un pulsante (web o sito o come_ti_pare) da configurare per la home di joomla con il forum in modalità non wrapped. Se ti serve fammi sapere e.. complimenti per il link :)
huh? ???
Quote from: Excalibur! on January 13, 2006, 07:08:31 AM
I get a blank page after login or logout, and the link is duplicated (http://www.mysite.com/http://www.mysite.com/index.php?)
I am having this same problem. SMF 1.1RC2, Joomla 1.05, wrapped.
Uninstalled smf_login, registration component, and smf component before installing the new one.
edit:
Also, this information in the SMF error log:
8: Undefined variable: mosconfig_live_site
File: /var/www/html/components/com_smf/smf.php
Line: 505
TG
My apologies for the redirect errors. It was a small typo, but with a profound effect on non-SEF sites. The package has been updated.
for the 1/13 update, if i just want to upgrade, can i simply replace files, like i replaced smf.php and smf_registration.php for the previous updates? if that's ok, then which file do i update? (and i'm assuming i update the files in /components/com_smf and /components/com_smf_registration, correct?)
Yes, and for the 1/13 update, the only file changed was smf.php in your components/com_smf folder.
Orstio,
It is probably worth putting in the 1st post of this thread that the Orstio 3.20 bridge does not currently not any Modbots or Modules for the 3.20 version of the bridge. Or, if that satement is wrong please point me in the right direction.
read the combined readme post. There are modules and bots attached or linked in there.
We also have a thread around here that discusses which modules still work with RC2
Quote from: Orstio on January 13, 2006, 06:07:40 PM
My apologies for the redirect errors. It was a small typo, but with a profound effect on non-SEF sites. The package has been updated.
Thanks Orstio! :)
Compliments Orstio!!
Now the bridge perfectly is aligned to the standard to which you got used us!!
Quote
Did you add the required code to your Mambo/Joomla template?
Yes :(
Mirus: Your problem will be fixed in the next revision.
If you want to fix it yourself, you can change line 192 of mod_smf_login.php in your modules folder to this:
if ($params->get('login') == '2' && (!isset($_REQUEST['action']) || $_REQUEST['action'] != 'login') && (!isset($_REQUEST['option']) || $_REQUEST['option'] != 'com_smf_registration'))
Quote from: Orstio on January 14, 2006, 12:57:07 PM
Mirus: Your problem will be fixed in the next revision.
If you want to fix it yourself, you can change line 192 of mod_smf_login.php in your modules folder to this:
if ($params->get('login') == '2' && (!isset($_REQUEST['action']) || $_REQUEST['action'] != 'login') && (!isset($_REQUEST['option']) || $_REQUEST['option'] != 'com_smf_registration'))
Is this going to be the only place where you are going to check for uninitialized variables before using them? Looking through my error log, I see other such errors that aren't as noticeable as this one.
Here are a few entries near the end of that error log:
[Sat Jan 14 22:10:07 2006] [error] [client 192.168.0.1] PHP Notice: Undefined variable: im in C:\\Apache2\\htdocs\\joomla\\administrator\\components\\com_smf_registration\\admin.smf_registration.php on line 44, referer: http://honda/joomla/administrator/index2.php?option=com_smf_registration&task=config
[Sat Jan 14 22:10:07 2006] [error] [client 192.168.0.1] PHP Notice: Undefined variable: cb_reg in C:\\Apache2\\htdocs\\joomla\\administrator\\components\\com_smf_registration\\admin.smf_registration.php on line 44, referer: http://honda/joomla/administrator/index2.php?option=com_smf_registration&task=config
[Sat Jan 14 22:10:08 2006] [error] [client 192.168.0.1] PHP Notice: Undefined variable: act in C:\\Apache2\\htdocs\\joomla\\administrator\\components\\com_smf_registration\\admin.smf_registration.php on line 129, referer: http://honda/joomla/administrator/index2.php?option=com_smf_registration&task=config
[Sat Jan 14 22:10:22 2006] [error] [client 192.168.0.1] PHP Notice: Undefined variable: smfpath in C:\\Apache2\\htdocs\\joomla\\administrator\\components\\com_smf\\admin.smf.php on line 120, referer: http://honda/joomla/administrator/index2.php?option=com_smf&task=config
[Sat Jan 14 22:10:22 2006] [error] [client 192.168.0.1] PHP Notice: Undefined variable: act in C:\\Apache2\\htdocs\\joomla\\administrator\\components\\com_smf\\admin.smf.php on line 149, referer: http://honda/joomla/administrator/index2.php?option=com_smf&task=config
Thanks, I'll look into those. :)
Hallo,
I've installed Joomla 1.05 and SMF 1.1 RC2 (wrapped). With Firefox it works fine, but with IE 6 some pixels are missing on the right side. The end of the table isn't visible. If the right blocks are activated they cover some pixels of SMF.
I couldn't find some information about this problem here.
Greetings Artos
Hi. The bridge is perfect but all the menus reserved to registered users in Joomla (1.07) do not display anymore when I'm logged in. They were displayed just before I installed the bridge. Now only my public menus are displayed. ???
Alain
Then you're not logged in....
Try logging out, and back in again.
Thanks. I tried. I get the following message in a window : Login incomplete. Then I click on OK and
- I'm logged in the forum
- I seem to be logged in Joomla (please take a look at the screenshot.) The address of my site is http://www.quebec-japon.com/marais (http://www.quebec-japon.com/marais)
(http://img18.imageshack.us/img18/2299/bridgeconnexion2vd.th.jpg) (http://img18.imageshack.us/my.php?image=bridgeconnexion2vd.jpg)
http://www.simplemachines.org/community/index.php?topic=63187.msg437146#msg437146
Thanks a lot, I did as you say and now it works perfectly. :D
I still have one last problem, but I'm not sure you can help. My SMF forum is in ISO-8859-1, and my Joomla too. The problem is :
1. I can write in Japanese in my SMF Forum when I access directly.
2. I can write in Japanese in Joomla (and my members can write comments in Japanese.
BUT
3. I cannot write in Japanese in the forum when I use the bridge. The Japanese characters are not recognized. As a consequence, my members cannot use the bridge when they have something to write in Japanese (it's a forum for translators). Any idea? ::)
How about this?
http://www.simplemachines.org/community/index.php?topic=63182.msg440422#msg440422
!!!!!!!!!!!!!!!!! It works !!! I can hardly believe it ! :D
ありがとう!Thanks !
Thanks for this bridge, just what i was looking for.Time to have fun on my localhost ;D
I know Oristo has reccomended turning off gzip in SMF to make this work for some people. Does anyone know how to do that? I cannot find it in my SMF 1.1 rc2 anywhere in the admin controls. Am I missing it somewhere?
SMF Admin Panel -> Server Settings -> Feature Configuration -> Enable compressed output
Wow...thanks...don't know how i missed it!
Is there anyway by which we can post latest topics from the SMF Forum using this bridge?
look at the combined readme post for a list of modules that work with the new bridge.
Thanks a lot!
beautiful work man!!! :D i too had a small problem with the page redirecting, but when i read the first post again i realised that there was a new login module installed.... after i opened and saved it, works perfect :D
again its great. thanks a lot!!!
Orstio, is this a known problem:
http://www.simplemachines.org/community/index.php?topic=66112.0
You have redirected me to the Combined Readme but I can't seem to find any downloadable mod_recent_posts there. Where can I find it?
as noted, recent_posts is part of the old bridge package.... look in the 3.19a package...
hey guys, i have a slight problem :( its with the look of the login box. when its on the left side, it looks correct in IE, and ok in Firefox and opera. But when i changed it to the right, it looks like crap in Firefox and opera. in IE its OK. ( but it does not look like when in the left side )
can you please tell me which file / css to edit?
thanks so much
Test site URL: http://srijit.info
Orstio,
1.1.2 fixed the link problem with notifications, but it still exixts for New members Joined. i.e. To view profile of new member clcik
index.php?option=com_smf&Itemid=83&?action=profile;u=1041
Cheers and very nice job on the bridge!
Quote from: Slack on January 17, 2006, 10:06:14 AM
Orstio,
1.1.2 fixed the link problem with notifications, but it still exixts for New members Joined. i.e. To view profile of new member clcik
index.php?option=com_smf&Itemid=83&?action=profile;u=1041
Cheers and very nice job on the bridge!
Thanks for the details, Slack. There is more wrong with that URL than just the missing domain.....
Is there more than one link in that email?
Nope, here is the whole body fo the email:
---snip---
soao has just signed up as a new member of your forum. Click the link below to view their profile.
index.php?option=com_smf&Itemid=83&?action=profile;u=1041
Regards,
The WeenieCampbell.com Team.
OK, now I'm all excited about this, I *need* to get my forum integrated. But, no file seems to be attached to the original post, Orstio!
Maybe I just need another shot of caffiene, but I'm not seeing an attachment on the first post in the thread......
Quote from: meadwench on January 17, 2006, 06:08:15 PM
OK, now I'm all excited about this, I *need* to get my forum integrated. But, no file seems to be attached to the original post, Orstio!
Maybe I just need another shot of caffiene, but I'm not seeing an attachment on the first post in the thread......
If you are referring to the Bridge file use FireFox for some reason I can't see attached files in IE too.
Nope, I was using Firefox. But, now its there! I guess I *do* need more caffiene.....
Running off to install it.......
Quote from: Slack on January 17, 2006, 06:03:16 PM
Nope, here is the whole body fo the email:
---snip---
soao has just signed up as a new member of your forum. Click the link below to view their profile.
index.php?option=com_smf&Itemid=83&?action=profile;u=1041
Regards,
The WeenieCampbell.com Team.
That is very odd. Not only should it not have the &? structure, but it should not remove the domain unless SEF is turned on.
Are you sure you have the latest download?
QuoteAre you sure you have the latest download?
Wel, I thought so -- the component listing says 3.20 and it did fix the notification link problem. Maybe I should re-download and overwrite the files again?
Please try, and report back again. I find the situation very strange, because notification emails are not treated any differently than any other emails in the bridge....
Well, I just checked the files and they are the latest -- dated 1/13/06 and the proper size. This is not a big deal --- I rarely click those links anyway. Id no one else has reported it -- than it jsut might be something wacky with my installation. But now that I have your attemtion....
...the other odd problem that I have is that if the Quote button is clicked it will quote the message and UnWrap the forum in the process... however, if I quote a Personal Message -- the quote works properly. Any guesses on that one? ::)
That one is very odd. Can you PM me a link?
Dang. I installed the component file, changed my template, and my site crashed. I got the header and menu, but all the body items and the right side column went *blip*.
So, I put back the template, no change. Uninstalled the component, no change. Uninstalled the *login component*, and everything came back. So, it appears that either 1) the login component and my template don't like each other, or 2) I had some dangling item in there messing with the system.
I'll try it again after doing some cleanup and see what happens....
The code you put into your template must go into the template you are using. So, if you switch templates, you must add that code to the template to which you have switched.
Quote from: cylonite on January 17, 2006, 10:02:46 AM
hey guys, i have a slight problem :( its with the look of the login box. when its on the left side, it looks correct in IE, and ok in Firefox and opera. But when i changed it to the right, it looks like crap in Firefox and opera. in IE its OK. ( but it does not look like when in the left side )
can you please tell me which file / css to edit?
thanks so much
Test site URL: http://srijit.info
fixed it myself lol... added a couple of <br>'s to the mod_smf_login.php file. Now looks great in IE, Firefox and Opera :) this mod rocks :D
waiting anxiously for the discussbot :)
Quote from: cylonite on January 17, 2006, 10:16:47 PM
fixed it myself lol... added a couple of <br>'s to the mod_smf_login.php file. Now looks great in IE, Firefox and Opera :) this mod rocks :D
waiting anxiously for the discussbot :)
You mind sharing it.
Original Code
<form action="', sefReltoAbs($scripturl . 'action=login2'), '" method="post" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
',$txt[35],': <input type="text" name="user" size="10" />
',$txt[36],': <input type="password" name="passwrd" size="10" />
<select name="cookielength">
Modified Code
Quote from: mod_smf_login.php<form action="', sefReltoAbs($scripturl . 'action=login2'), '" method="post" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
',$txt[35],':<br /> <input type="text" name="user" size="10" /><br />
',$txt[36],':<br /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
that was good enough for me :)
also i had to goto joomla backend and open the SMF login module, make changes and save it :)
( i had edited the file from the original zip, maybe it did not have settings saved :) ) you can try the file from the server itself. that would be more appropriate. cheers
warning: it just LOOKS nice. still have to test it fully :)
NOTE: You should use <br /> for validations reasons.
aha ... thanks :D
Quote from: Kindred on January 17, 2006, 08:02:35 AM
as noted, recent_posts is part of the old bridge package.... look in the 3.19a package...
Will this work in 1.1 RC2?
Quote from: shen brood on January 18, 2006, 01:13:52 AM
Quote from: Kindred on January 17, 2006, 08:02:35 AM
as noted, recent_posts is part of the old bridge package.... look in the 3.19a package...
Will this work in 1.1 RC2?
Seems to be working http://www.simplemachines.org/community/index.php?topic=65627.msg456604#msg456604
But is the bridge going to support the integrate_change_member_data?
The integrate_change_email is deprecated as far as I can see.
Thanks for the nice component!
Will the recent topics module still work with this after upgrading?
Problems with integrate_outgoing_email
When a user changes his email, and I have requested that users that changes their email need to reactivate the account, this is what the link looks like:
http://mydomain.no/smf/http://mydomain.no/index.php?action=activate/u=4/code=ee1ef7458c
I have SEF turned on.
The link should have been
http://mydomain.no/component/option,com_smf/action,activate/u,4/code,ee1ef7458c
QuoteBut is the bridge going to support the integrate_change_member_data?
The integrate_change_email is deprecated as far as I can see.
Yes, I already have that in CVS.
QuoteProblems with integrate_outgoing_email
When a user changes his email, and I have requested that users that changes their email need to reactivate the account, this is what the link looks like:
http://mydomain.no/smf/http://efa.pipp.no/index.php?action=activate/u=4/code=ee1ef7458c
I have SEF turned on.
The link should have been
http://mydomain.no/component/option,com_smf/action,activate/u,4/code,ee1ef7458c
Thank you for the details. That is very strange....
Ups..my mistake..one folder had remained out from the path. :P
Now I have tested two different versions in which in the another is with Commynity Bilder. This latest version in which is (not with CB) works correct otherwise except that if you have noted to the normal to the side admin with the code and with the same admin panel and if entries out normal from the side entries with the same out also admin panel.
When earlier I put private message login problems (two times insaide and two time outside login) it must its arise CB.
I don't doesn't come to mind else reason the in question problem as that CB causes its for some reason...
thank you
ooopps nevermind
Quote from: Orstio on January 18, 2006, 05:45:06 PM
QuoteBut is the bridge going to support the integrate_change_member_data?
The integrate_change_email is deprecated as far as I can see.
Yes, I already have that in CVS.
QuoteProblems with integrate_outgoing_email
When a user changes his email, and I have requested that users that changes their email need to reactivate the account, this is what the link looks like:
http://mydomain.no/smf/http://efa.pipp.no/index.php?action=activate/u=4/code=ee1ef7458c
I have SEF turned on.
The link should have been
http://mydomain.no/component/option,com_smf/action,activate/u,4/code,ee1ef7458c
Thank you for the details. That is very strange....
I altered the original links from the email, so the full link should have been
http://mydomain.no/smf/http://mydomain.no/index.php?action=activate/u=4/code=ee1ef7458c
in my first post.
I have tracked it down to be this line in the integrate_outgoing_email
$message = str_replace ($mosConfig_live_site . '/index.php', 'index.php', $message);
It work better if it's
$message = str_replace ($boardurl . '/index.php', 'index.php', $message);
When changed the link becomes
http://mydomain.no/index.php?action=activate/u=4/code=ee1ef7458c
No double of domain and path to smf, but is still missing option=com_smf
Edit:
If I add this line
$message = quoted_printable_decode( $message );
before
$message = un_htmlspecialchars(ob_mambofix($message));
The link in the mail is correct, except that the link have an extra / at the end, on a new line...
http://efa.pipp.no/component/option,com_smf/Itemid,33/action,activate/u,4/code,cb4ae2f4e3
/
I want to thank you for the bridge. My fresh installation from Joomla 1.07, SMF 1.1RC2 and the bridge 3.20 was without any bumps. Converting my Invision 1.3 database to SMF was the only troublemaker. Bridge works great, the SMO Ajax shoutbox is running on the Joomla portal with the SMF users ... like a dream.
Thanx again!
QuoteI have tracked it down to be this line in the integrate_outgoing_email
$message = str_replace ($mosConfig_live_site . '/index.php', 'index.php', $message);
It work better if it's
$message = str_replace ($boardurl . '/index.php', 'index.php', $message);
When changed the link becomes
http://mydomain.no/index.php?action=activate/u=4/code=ee1ef7458c
No double of domain and path to smf, but is still missing option=com_smf
Yeah, that's because ob_mambofix() has already converted the URL to a Mambo/Joomla URL. So, it is not appropriate to use $boardurl there.
QuoteEdit:
If I add this line
$message = quoted_printable_decode( $message );
before
$message = un_htmlspecialchars(ob_mambofix($message));
The link in the mail is correct, except that the link have an extra / at the end, on a new line...
http://efa.pipp.no/component/option,com_smf/Itemid,33/action,activate/u,4/code,cb4ae2f4e3
/
Just adding that line fixed all the email URLs? Interesting....
Quote from: Orstio on January 19, 2006, 06:31:07 AM
Just adding that line fixed all the email URLs? Interesting....
Except that a extra / is added at the end of the url
Edit:
The extra / is correct, but this line is must change from
$new_url = sefReltoAbs($url[0]);
to
$new_url = sefReltoAbs(trim($url[0]));
to stop the last / to fall off.
The regex '~index\.php.+~' is including whitespaces on the end, resulting that the last / is falling of the url in the mail
Quote from: Orstio on January 17, 2006, 07:31:54 PM
The code you put into your template must go into the template you are using. So, if you switch templates, you must add that code to the template to which you have switched.
I did put it into my default template. Didn't do any switching. I'm using 247portal-b-brown as a default at http://www.gotmead.com. I'll play with it some more, but I followed the instructions, the registration mod just doesn't seem to like my template.
meadwench...
1- Your site is not bridged... at all.
a) your menu does not link to the com_smf component
b) you do not even have a forum item in the main menu at all
c) you are not using the mod_smf_login
d) you have not added any code into your mambo head section...
Any hint as to when the next version of Bridge will be release?
OK, Ortsio. I have what may be a rather odd question. I read the readme.html file and I understand I have to copy and paste some stuff into the head of my Joomla template. Now here's the question...
ALL templates? I use several variations on a template to change colors and stuff and one variation was built JUST for my current SMF forums as the wrapper from Joomla. It really only has a header logo at the top and the Joomla breadcrumbs to get folks back to the Joomla site and out of the forums. Do I copy that text from the readme.html file into any template that has a menu link to the forums? PLUS the template that wraps the forum? (it has no side bars so the forums go full width).
Or just copy it into all templates being used on my site?
Thanks
All templates that will be used on the site should have that code...
Missing a translation in mod_smf_login.php
In the file mod_smf_login.php the following text is not translated:
QuoteForgot your password?
The text is transalated in $txt[315]
OK I guess I'm not understanding something here about the text we're copying into our Joomla site templates.
In that text that gets pasted into the head, there are calls to the SMF style sheets. I don't want the styles from the message boards mixing with the web site. I'm really ok with them looking a little different. They compliment each other. Those extra style sheet calls are actually changing things on my web site. Do I need them in there?
Quote from: jenscski on January 20, 2006, 05:14:57 AM
Missing a translation in mod_smf_login.php
In the file mod_smf_login.php the following text is not translated:
QuoteForgot your password?
The text is transalated in $txt[315]
../modules/mod_smf_login.php
line 190
from:
<a href="', ($bridge_reg==true ? sefReltoAbs(basename($_SERVER['PHP_SELF']). '?option=com_smf_registration&task=lostPassword') : sefReltoAbs($scripturl . 'action=reminder')) , '">Forgot your password?</a>';
to (italian):
<a href="', ($bridge_reg==true ? sefReltoAbs(basename($_SERVER['PHP_SELF']). '?option=com_smf_registration&task=lostPassword') : sefReltoAbs($scripturl . 'action=reminder')) , '">Password dimenticata?</a>';
Quote from: yardbird on January 20, 2006, 12:16:16 PM
OK I guess I'm not understanding something here about the text we're copying into our Joomla site templates.
In that text that gets pasted into the head, there are calls to the SMF style sheets. I don't want the styles from the message boards mixing with the web site. I'm really ok with them looking a little different. They compliment each other. Those extra style sheet calls are actually changing things on my web site. Do I need them in there?
Yes, you mostly do... but, with an integrated/bridged site, you should have modified your smf CSS file to remove the duplicate calls...
I detect errormessages in SMF caused by the bridge:
Applying Filter: Error message '8: Undefined index: sa
File: /home/httpd/vhosts/..../httpdocs/joomla/components/com\_smf/smf.php
Line: 497'
Line 497 in smf.php is: if (substr($setLocation, 0, 4) == 'http' && $_REQUEST['action'] != 'logout' && $_REQUEST['sa'] != 'check')
I'm not sure what to do next? Can you help me?
Found it!
http://www.simplemachines.org/community/index.php?topic=65654.0 :
if (substr($setLocation, 0, 4) == 'http' && $_REQUEST['action'] != 'logout' && (!isset($_REQUEST['sa']) || $_REQUEST['sa'] != 'check'))
Now I need to get on my files, files installed by Joomla are owned by the apache and I ain't got the rights to edit them ... sigh .. challenge, challenge!
Joomla 1.07, SMF 1.1RC2 and the 3.20 bridge.
you have a couple of options with the file ownership...
- Have Joomla make everything 777....
- Install MamboXplorer... this will let you chmod the specific files fom within joomla/
Thank you, Kindred! Joomla!XPlorer added as component and learning fast.
Um...I hope this isn't as stupid as it may seem..but for the life of me I can't find the file attached to this post...
The post started:
"File is attached to this post. Unzip it. Inside, you will find the component to install, and a readme.html. Please read the readme. Wink"
and yet I can not find the file attached to this post......help...
lol.
thank you
it is present in the first post, attached to the bottom of the post. it cannot be distributed by someone else :D so u have to ask the developer to PM u if u cant get it :)
llitten,
make sure you are logged in... I thought the same thing orginally and it "showed up" when I logged in.
Chris
I form Russia, probably problem with coding (my coding cyrillics - Windows-1251)
appeared problem, when entering through Bridge with site (Joomla) to SMF (www.mysite.aa/component/option,com_smf/...),
in previews (Post reply), russian text it is displayed wrong :-[
but if open straight (www.mysite.aa/forum) - all OK :o
(http://www.audioware.ru/images/wrongforum.jpg)
http://www.simplemachines.org/community/index.php?topic=63187.msg461437#msg461437
Hi, I found a bug in the brigde
On one of my sites the integrate_register did not work at all. I tracked it down to several problems. On my site the globals $regOptions was causing the variable to be empty, removed $regOptions from globla declaration variable contained info. And why is it declared global when it's a parameter to the function.
The next is that the data in $retOptions is already escaped, so there is no need for escaping the variables when used in a sql-query.
When I removed all the ' sorrounding the $retOptions variables in the sql queries things worked fine.
QuoteOn one of my sites the integrate_register did not work at all. I tracked it down to several problems. On my site the globals $regOptions was causing the variable to be empty, removed $regOptions from globla declaration variable contained info. And why is it declared global when it's a parameter to the function.
The password entered into your Mambo/Joomla user table will be empty if you do that.
QuoteThe next is that the data in $retOptions is already escaped, so there is no need for escaping the variables when used in a sql-query.
When I removed all the ' sorrounding the $retOptions variables in the sql queries things worked fine.
I'll have a look at it.
since using this bridge, my statistics dont count any new user
Okay, thank you all!
I started over and read the installation files and I did it all wrong the first time.
Now it's installed and I'm going to search now how to fix the big letters. Something with the css I read somewhere.
Quote from: Orstio on December 31, 2005, 03:07:34 PM
File is attached to this post.
When I click on the attached zip file link it tells me it can not be found. HELP.
Quote from: tinatoth on January 25, 2006, 04:45:01 PM
Quote from: Orstio on December 31, 2005, 03:07:34 PM
File is attached to this post.
When I click on the attached zip file link it tells me it can not be found. HELP.
Worked for me once I registered and logged in, you can't even see it until that happens.
Might have just been a a momentary glitch, you might wnt to try again.
Joe
wrapped forum with bridge
PMs get a direct message link like: originalforumadress+an incorrect adress of joomlamodule
QuotePMs get a direct message link like: originalforumadress+an incorrect adress of joomlamodule
Can you post an example of what you are seeing?
This is an example link
http://chaosempire.info/forum/http://chaosempire.info/web/index.php=3Faction=3Dpm/sa=3Dsend/f=3Dinbox/pmsg=3D25808/quote/u=3D3397
Can you edit the file smf.php in your components/com_smf folder?
If you add this line:
$message = quoted_printable_decode( $message );
immediately before this line:
$message = un_htmlspecialchars(ob_mambofix($message));
Then does it work?
better, but not perfect :P
http://chaosempire.info/web/component/option,com_smf/Itemid,56/action,pm/sa,send/f,inbox/pmsg%823/quote/uI52/
result...i get into PM section...NEW MESSAGE
How about if you go to phpMyAdmin, and perform this query:
INSERT INTO smf_settings
(variable, value)
VALUES ('disableQuotedPrintable', '1');
i added it
but it does not change the result for me
btw what does 'disableQuotedPrintable' do? and why via phpmyadmin, is there no switch in adminpanel?
Reply to this Personal Message here: http://chaosempire.info/web/component/option,com_smf/Itemid,56/action,pm/sa,send/f,inbox/pmsg%824/quote/u/6/
(SEF is enabled in joomla, not in forum)
Hello, I am Spanish and I do not speak very well English. I have all the users in SMF and no in Joomla. I have seen that is used for all, the users of SMF, but i want integrate Gallery2 and I need to fit the users with joomla. I can synchronize the users of SMF with Joomla with this bridge?
User will show up in Joomla the first time they login using the bridge
thanks!
Looking for a solution to the "Register to Read More" bug where it goes to the Joomla registration rather than SMF. Thanks.
Sorted it by editing the content.html file in all 4 cases. Thanks anyway.
is it possible, that after wrapping and bridging the load on mysql increases really much?
during logins i get 100% cpu, and there are 50-75 users online
this hasn t been before
cpu is 3ghz and 1,5gb ram..so i dont expect limits for such less amount of users
2 Sorts of errors are many times logged in SMF Error Log:
http://chaosempire.info/forum/index.php?option=com_smf&Itemid=56&action=post2
8: Undefined index: sa
File: /var/www/chaosempire.info/html/web/components/com_smf/smf.php
Line: 498
and
http://chaosempire.info/forum/index.php
8: Use of undefined constant _VALID_MOS - assumed '_VALID_MOS'
File: /var/www/chaosempire.info/html/forum/Themes/default/BoardIndex.template.php (eval?)
Line: 438
how can i fix this?
well, if you read the sticky posts, you're know how to fix the sa issue...
http://www.simplemachines.org/community/index.php?topic=25718.msg460344#msg460344
and as for the VALID_MOS, apparently some people have trouble with that one, oddly enough... instead of
if (!VALID_MOS)
}
use...
if (empty($_REQUEST['option'])){
}
thanks for redirecting
but why not:
(!isset($_REQUEST['sa']) || $_REQUEST['sa'] != 'check'))
as mentioned in the thread?
an improved fix?
I just installed the bridge and I'm using the spanish translation because my site is in spanish right now.
It's at: http://www.aztlanrpg.net/ in case you want to check it out :)
In the module for the bridge you have a hardcoded string that needs to be changed:
<a href="', ($bridge_reg==true ? sefReltoAbs(basename($_SERVER['PHP_SELF']).
'?option=com_smf_registration&task=lostPassword') : sefReltoAbs($scripturl . 'action=reminder')) , '">
Forgot your password?</a>';
That needs to be changed to:
<a href="', ($bridge_reg==true ? sefReltoAbs(basename($_SERVER['PHP_SELF']).
'?option=com_smf_registration&task=lostPassword') : sefReltoAbs($scripturl . 'action=reminder')) , '">'
,$txt['315'],'</a>';
I noticed because that was the only string that wasn't in spanish :D
Hope it helps!
I was playing with my new site and discovered this:
If you change stuff like user passwords in the Joomla! backend, they doesn't update the SMF ones!
The old password still stays until you go and change it explicitly in SMF.
Is there any synchronization facilities for this bridge?
Thanks in advance!
Regards,
Adrián.
It syncs the other way... if you change the user's passwor din SMF, it will sync up the joomla user.
Changing the password in the joomla backend will have no effect, because the next time they login, it will be resynced to what the SMF password was.
Ok thanks! good to know it was intended :)
By the way I hope the little issue about localization that I pointed out in another post can make it in the next release of the bridge! ;D
The language issue for the Forgot Password is fixed for the next revision.
Syncing from Mambo to SMF will be possible in a future version of Mambo. Depending on the direction Joomla takes, this may also be possible in future versions of Joomla.
Hello,
The forum user's doesn't appear in the User Manager ni Joomla's Administration. Shouldn't they appear?
Thanks
By default they'll apear in the Joomla usermanager once they logged in once.
I do remember seeing talk about a script for doing a full sync though. Search around on the bridge board.
QuoteHello,
The forum user's doesn't appear in the User Manager ni Joomla's Administration. Shouldn't they appear?
Thanks
Existing SMF users will be transferred into Joomla as soon as they perform the action of logging in. New registrations should appear immediately.
QuoteBy default they'll apear in the Joomla usermanager once they logged in once.
I do remember seeing talk about a script for doing a full sync though. Search around on the bridge board.
There is no practical way to do a full sync from SMF to Joomla, because without modifying the Joomla core, Joomla has no way of dealing with SMF's password encryption. A raw password is required, which is supplied only when the user performs the action of logging in. That would be why they are transferred only as they perform the action of logging in.
But I have to login "manualy". With automatic login it doesn't work (i have just tryed). How can I make to everyone has to login manualy in the portal?
Go to your SMF admin panel, and change the name of the SMF cookie.
Ok thanks :D
Orstio what you think this..
I have followed this subject and made all activities what the first from the side has said. And I use so latest bridge versions. (akabridge 3.20 1.1.2 versions)
I use Crazybrowser 1.0.5 and Explouder 6.0
Note until now otherwise also such kind of also matter that when i open forum direct url
address different window and then normal page in which bridge joomla is. .and you look that you haven't noted joomla inside with that on the moment. Then entries there in the separate forum in the from the side inside to the forum and you update joomla page after that so its joomal site login window show you inside but you are not inside the joomla however. In other words joomla site user selections no see joomla site. Then you can login out joomla page windows from the side but you are not login out separate forum adress when you update the forum page.. And at the same time you can be admin panel with on the other admin code and you not put without dropping out...heh
Work this akabridge right..?
Normally if i entries joomla page inside and with the same time management panel (this admin code must be same or otherwise login of the other fails ) as if login out joomla side entries at the same time out also management panel...
There is link my testsite.. http://www.rokkiralli.info/portal/
And direct address foorum http://www.rokkiralli.info/portal/rc2smffoorum/index.php
From the side has also one small fault which reason I don't know. When I go joomlasite by way of inside to the forum and I open the forum admin area and i select template selection so the in question one page is missing.. (you can see photo here -->http://www.simplemachines.org/community/index.php?topic=68934.0 )in other words it won't see it. But if i go inside normal forum adress by way of so same plase i can be found this page and is so in there in place. From where that sort of fault can to arise?
Sorry my bad english.. :-\
I am terribly sorry, but your translation to English is completely undecipherable to me.
I have no idea what you are asking. ???
Hmn ok.. I try once again.. :P
Because exists in two ways go to the my forum..
Right add foorum.. http://www.rokkiralli.info/portal/rc2smffoorum/index.php
And my joomla site..where i have to use menu link foorum.
If i have bouth adds open different windows..and im not login in that moment inside whit joomlasite.
When i go login my foorum whit right adds http://www.rokkiralli.info/portal/rc2smffoorum/index.php and then i refresh my joomlasite is site loginwindows show me inside..but im not inside because joomlasites user menu not show.! Then i can login out joomlasite (bececause login windows shows me inside)..but im not login out foorum when i refresh this right foorum add http://www.rokkiralli.info/portal/rc2smffoorum/index.php
And same time i can login different admin code in management panel (like normally is possible if joomla bride is not in use)
You can login different admin code in management panel or what you use in normally login in joomlasite. When akabridge is use this is not possible.
When akabridge is servise ..normally i have to use same login code what i use to normal login whit joomlasite or another book mist comes to fail.
From the side has also one small fault which reason I don't know. When I login inside joomlasite and go to the forum and I open the forum admin area and i select template selection so the in question one page is missing.. (you can see photo here -->http://www.simplemachines.org/community/index.php?topic=68934.0 )in other words it won't see it. But if i go inside normal forum adress http://www.rokkiralli.info/portal/rc2smffoorum/index.php by way of so same plase i can be found this page and is so in there in place. From where that sort of fault can to arise?
If you login from the stand alone forum:
http://www.rokkiralli.info/portal/rc2smffoorum/index.php
You will not be logged into Joomla. Because that URL does not initiate Joomla, SMF has no way to know that Joomla is there.
jeps..but my joomlasite still shows me inside loginwindows when i refresh my joomlasite..and loginout link is shows..
What you think case two..missing files..?
The bridge login module checks only SMF to see if you are logged in there. As long as you are logged into SMF, the bridge login module will show you as logged in, even though you are not logged into Joomla.
So if you go to the stand alone forum and login, then go to you Joomla site, the login module will say you are logged in, but not to Joomla.
Quote from: Orstio on February 05, 2006, 09:32:03 PM
The bridge login module checks only SMF to see if you are logged in there. As long as you are logged into SMF, the bridge login module will show you as logged in, even though you are not logged into Joomla.
So if you go to the stand alone forum and login, then go to you Joomla site, the login module will say you are logged in, but not to Joomla.
Hmn..ok but why this joomlasite login window not drop me out stand alone SMF foorum site when i use log out windows links my joomlasite..?
Hello Orstio,
Great Bridge! With a not so easy installation but hey as long as one does it a couple of times there's no mistaking it in the future. ;)
I am having a couple of problems though. While testing the several registration options available I came accross some oddities, most probably things I am not fully understanding. So here it goes:
First: I am having the same problem as Slack with the incomplete activation link in the e-mail message.
After I tried to get to that link with the partial link completed with the initial part manually I ended up activating the account but...
And here comes the second problem:
I ended up with a jos_user in the database that says "migrated" let me put up the pictures for you and you'll understand better:
(http://i9.photobucket.com/albums/a80/MadPax/image3.jpg)
(http://i9.photobucket.com/albums/a80/MadPax/image1.jpg)
(http://i9.photobucket.com/albums/a80/MadPax/image2.jpg)
Also it seems that the Joomla Long User Name and the smf Display don't get synced.
Funnily enough if I choose to register without admin intervention the bridge asks me for 2 names.
When I choose to register with admin approval (the Bridge doesn't have this option) smf only asks for one name.
Bit odd!
Any ideas?
QuoteGreat Bridge! With a not so easy installation but hey as long as one does it a couple of times there's no mistaking it in the future.
I'm not sure how much easier it can get than install, configure, and add a small piece of code to your template.....
QuoteFirst: I am having the same problem as Slack with the incomplete activation link in the e-mail message.
That was solved in 1.1.2. Are you still using 1.1.1? Or perhaps you had the Joomlahacks bridge installed previously, and some of your sources are still modified for that?
QuoteI ended up with a jos_user in the database that says "migrated" let me put up the pictures for you and you'll understand better:
That would be correct. That happens when a SMF user logs in and the challenge password hash is activated, so no raw password is available. The word "migrated" is put into the password field of your jos_user table. That doesn't mean that user's password is "migrated" however, because no md5 hash is ever going to equal "migrated". You can get rid of that by going into your SMF profile and editing your password.
QuoteAlso it seems that the Joomla Long User Name and the smf Display don't get synced.
This is due to response from Mambo users last year who complained that their users Forum name was displaying as their real name (from Joomla/Mambo).
QuoteFunnily enough if I choose to register without admin intervention the bridge asks me for 2 names.
When I choose to register with admin approval (the Bridge doesn't have this option) smf only asks for one name.
Are you using bridge registration, or SMF registration?
QuoteQuote
Great Bridge! With a not so easy installation but hey as long as one does it a couple of times there's no mistaking it in the future.
I'm not sure how much easier it can get than install, configure, and add a small piece of code to your template.....
I was only a statement comparing this install to other installations for dummies types like me ;). You know, install comp, mod, bot upload and continue... done. This one's a bit more involved (true, only if it is wrapped, unwrapped is simpler). But I do understand that we're talking about a complete forum package, thus the respective installation procedure SHOULD be a bit involving. I am sry if I have sounded criticizing. Was not meant so.
QuoteQuote
First: I am having the same problem as Slack with the incomplete activation link in the e-mail message.
That was solved in 1.1.2. Are you still using 1.1.1? Or perhaps you had the Joomlahacks bridge installed previously, and some of your sources are still modified for that?
Nope I am indeed using version 1.1.2 and this is a clean install. Started from scratch. J! 1.0.7 + SMF 1.1 RC2 + ORSTIO Brigde 3.20. Following all of the excellent instructions available on the site.
QuoteQuote
I ended up with a jos_user in the database that says "migrated" let me put up the pictures for you and you'll understand better:
That would be correct. That happens when a SMF user logs in and the challenge password hash is activated, so no raw password is available. The word "migrated" is put into the password field of your jos_user table. That doesn't mean that user's password is "migrated" however, because no md5 hash is ever going to equal "migrated". You can get rid of that by going into your SMF profile and editing your password.
Understood. Thnx.
QuoteQuote
Also it seems that the Joomla Long User Name and the smf Display don't get synced.
This is due to response from Mambo users last year who complained that their users Forum name was displaying as their real name (from Joomla/Mambo).
Understood too. That probably means that the best way to handle registration by configuring the bridge to register via SMF registration. One user name only asked.
QuoteQuote
Funnily enough if I choose to register without admin intervention the bridge asks me for 2 names.
When I choose to register with admin approval (the Bridge doesn't have this option) smf only asks for one name.
Are you using bridge registration, or SMF registration?
Well that's implicit in my post. From what I understood and I wager I am correct in this assessment; if I tell the bridge to register via the bridge there is NO OPTION to have users' registration wait for approval. If I tell it to register via SMF then you can. Which is what I am doing. The "Slack" problem only appears if I choose the bridge registration method when users are asked to activate their registration with no admin intervention.
___________________
Also, noticed an additional strange thing. The bridge says:
Hey, MadPax,
you have 0 messages, 0 are new.
Total time logged in: 3 hours and 52 minutes.
But for the other registered users it shows, ie.:
Hey, newuser,, 0 are new.
Total time logged in: 0 minutes.
Note the two successive commas, no info about how many messages user has.
___________________
If you want to you may try registering with the site just tell me which version you wish to debug first: bridge or smf.
___________________
Also additional info on backend:
Linux neptune 2.6.11.12-grsec #1 SMP Fri Jun 17 15:31:28 WEST 2005 i686
Database Version: MySQL 3.23.57
PHP Version: 5.1.1
Web Server: Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7g PHP/4.3.11 mod_perl/2.0.1 Perl/v5.8.4
WebServer to PHP interface: cgi
Joomla! Version: Joomla! 1.0.7 Stable [ Sunburst ] 15-Jan-2006 20:00 UTC
Relevant PHP Settings:
Safe Mode: ON
Open basedir: /hosting/:/usr/local/lib/php/
Display Errors: OFF
Short Open Tags: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: OFF
Output Buffering: OFF
Session save path: /hosting/tmp
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
WYSIWYG Editor: No WYSIWYG Editor
Finally let me congratulate your team and all the other coders and admins for a great quality support!
Hello? Anybody out there? (courtesy Pink Floyd)
lol, give it atleast a day. these are people you know :P
QuoteWell that's implicit in my post. From what I understood and I wager I am correct in this assessment; if I tell the bridge to register via the bridge there is NO OPTION to have users' registration wait for approval. If I tell it to register via SMF then you can. Which is what I am doing. The "Slack" problem only appears if I choose the bridge registration method when users are asked to activate their registration with no admin intervention.
Bridge registration uses Mambo/Joomla's registration options.
Quote from: cylonite on February 08, 2006, 12:34:04 PM
lol, give it atleast a day. these are people you know :P
:-[ LOL, you're right sorry about that!
Quote from: Orstio on February 08, 2006, 05:27:13 PM
QuoteWell that's implicit in my post. From what I understood and I wager I am correct in this assessment; if I tell the bridge to register via the bridge there is NO OPTION to have users' registration wait for approval. If I tell it to register via SMF then you can. Which is what I am doing. The "Slack" problem only appears if I choose the bridge registration method when users are asked to activate their registration with no admin intervention.
Bridge registration uses Mambo/Joomla's registration options.
Well, by tweaking things a bit and trying to follow the code's logic I came to the conclusion that when I tell the bridge to "Use SMF Registration" it redirects the registration process so that it is smf handling the registration process. This is now working flawlessly so far. In smf I then have the option to activate users or let them do te activation, as I see fit. Good work.
Quote___________________
Also, noticed an additional strange thing. The bridge says:
Hey, MadPax, you have 0 messages, 0 are new.
Total time logged in: 3 hours and 52 minutes.
But for the other registered users it shows, ie.:
Hey, newuser,, 0 are new.
Total time logged in: 0 minutes.
Note the two successive commas, no info about how many messages user has.
What about this? Will the space between the commas appear filled as soon as a user has at least one message in their inbox? If yes then why is it not so for the admin? Just curious might be a bug. That's all.
Regards,
Hi,
I want my forum to remain stand alone, only logins/logouts and user should be added to both db's.
I dont see any option for 'stand alone' in this version of the bridge (atleast in the readme)
I will manually change the registration link from the forum to the bridge registration. Is that sufficient for the integration to work properly?
Will notifications go with standalone URL? Do I need to lookout for anything?
Sorry, v3.20 does not work standalone... Users MUST use the bridge login module in order to be logged into Joomla/Mambo.
If they log into the SMF site directly, then they will NOT be logged into Joomla.
Quote from: Kindred on February 09, 2006, 02:00:22 PM
Sorry, v3.20 does not work standalone... Users MUST use the bridge login module in order to be logged into Joomla/Mambo.
If they log into the SMF site directly, then they will NOT be logged into Joomla.
Well that is fine with me, mainly I want the user db to be synced.
I was just wondering about the notification emails n such, would they have the full stand alone address?
the user DB is only synced when the users use the bridge login module in joomla.
Quote from: Kindred on February 09, 2006, 04:11:32 PM
the user DB is only synced when the users use the bridge login module in joomla.
That is also fine with me.
So for registration I use the bridge component (so it adds to both db's) and also for login the bridge component in joomla to sync logins.
In this method it should work as standalone right?
I dont want to change my forum from standalone now, as would loose all the PR etc.
A issue i forsee running standalone is that incase the password is changed from the forum it wont reflect in the portal.. Could be fixed by hardcoding the 'account information' to go thru com_smf or changing the calls I guess..
Hi, I'm using the latest version to date, of Joomla, SMF and the SMF Bridge Component
However i opted to use the Joomla / VirtueMart Ecommerce package to save a couple steps,
the ecommerce / joomla build is working excellent.
I see the problem alread, it's obvious that the SMF bridge isn't going to be sync with the VirtueMart registration system since VirtueMart requires much more user registration details,.. , and VirtueMart doesn't
directly support SMF or the SMF build directly, although i wish they did for simplicity and ease.
Is there any quick solutions or modification to the bridge that can be done to integrate with VirtueMart, or should I request or petition to the VirtueMart developers to support / integrate with SMF or the SMF Bridge?
What do you think?
Thanks,
Chris C.
Re: Bridge Mambo,Joomla SMF 1.1 RC2 (aka 3.20)
Hi, I'm using the latest version to date, of Joomla, SMF and the SMF Bridge Component
However i opted to use the Joomla / VirtueMart Ecommerce package to save a couple steps,
the ecommerce / joomla build is working excellent.
I see the problem alread, it's obvious that the SMF bridge isn't going to be sync with the VirtueMart registration system since VirtueMart requires much more user registration details,.. , and VirtueMart doesn't
directly support SMF or the SMF build directly, although i wish they did for simplicity and ease.
Is there any quick solutions or modification to the bridge that can be done to integrate with VirtueMart, or should I request or petition to the VirtueMart developers to support / integrate with SMF or the SMF Bridge?
What do you think?
Thanks,
Chris C.
Re: Bridge Mambo,Joomla SMF 1.1 RC2 (aka 3.20)
QuoteI see the problem alread, it's obvious that the SMF bridge isn't going to be sync with the VirtueMart registration system since VirtueMart requires much more user registration details,.. , and VirtueMart doesn't
directly support SMF or the SMF build directly, although i wish they did for simplicity and ease.
Is there any quick solutions or modification to the bridge that can be done to integrate with VirtueMart, or should I request or petition to the VirtueMart developers to support / integrate with SMF or the SMF Bridge?
There is an incompatibilty with VirtueMart, but it has nothing to do with registrations. Those who register in VirtueMart will be migrated to SMF as soon as they login with the bridge login module, so there is no conflict. People who are already logged in to Joomla/SMF will be asked for the additional information normally as it is coded into VirtueMart, so again, no conflict.
The incompatibility with VirtueMart is in the sessions, which for some reason are rewritten after SMF's SSI is loaded. This makes logging in difficult, so it is something I need to look into before the next revision.
I posted a question about the registration component of the bridge that I though was in this topic. For some reason it ended up here:
http://www.simplemachines.org/community/index.php?topic=70680.0;topicseen
and has remained unanswered. If anyone has an idea please reply.
Since that post I have also discovered another 'bug'. If the SMF installation requires a password with High security (Capitals, lowercase and numbers - 8 char or more) then the bridge registration component recognises this and will give an error if a user enters a password that does not comply. This is good to this point. The problem comes when they then try to enter a password that complies. They can not register as the user already exists.
What happens is that the user is registered in Joomla, but not in SMF when the error is first returned. I guess what should happen is that if either user registration fails then a user is not created in the other database. Does that make sense?
Regards,
Alistair
QuoteSince that post I have also discovered another 'bug'. If the SMF installation requires a password with High security (Capitals, lowercase and numbers - 8 char or more) then the bridge registration component recognises this and will give an error if a user enters a password that does not comply. This is good to this point. The problem comes when they then try to enter a password that complies. They can not register as the user already exists.
Not really a bug -- If your password security permissions are higher in SMF than they are in Joomla, Joomla will allow the SQL query that enters the user. SMF will not, and will throw an error. So, when you try to re-register, the userr exists in Joomla, and then that throws an error.
The solution is to make sure that your SMF password security is no higher than Joomla's, or use SMF registration instead of bridge registration.
Quote from: Orstio on February 11, 2006, 06:50:43 PM
There is an incompatibilty with VirtueMart, but it has nothing to do with registrations. Those who register in VirtueMart will be migrated to SMF as soon as they login with the bridge login module, so there is no conflict. People who are already logged in to Joomla/SMF will be asked for the additional information normally as it is coded into VirtueMart, so again, no conflict.
The incompatibility with VirtueMart is in the sessions, which for some reason are rewritten after SMF's SSI is loaded. This makes logging in difficult, so it is something I need to look into before the next revision.
Any workarounds that can be used, or something we can tweak in the meantime to make logging in less "difficult"? The forums and VirtueMart are kinda the stars of my site, and having spent the weekend migrating from a custom-built solution to Joomla, I was a little distressed to find this little gremlin this morning.
Thanks a ton.
QuoteAny workarounds that can be used, or something we can tweak in the meantime to make logging in less "difficult"? The forums and VirtueMart are kinda the stars of my site, and having spent the weekend migrating from a custom-built solution to Joomla, I was a little distressed to find this little gremlin this morning.
From the bridge end of things, the login module gets the session id in a variable named $sc, in the code inclusion in the Joomla template header:
$sc = &$context['session_id'];
Now, what I'm not sure of at this point is whether this is a variable name collision with $sc, or whether the value of $context['session_id'] is rewritten by VirtueMart.
To test the first, you would change the variable name to something else, like:
$smf_sc = &$context['session_id'];
And then in mod_smf_login.php, change every instance of $sc to $smf_sc.
To test the second, you would just remove the ampersand:
$sc = $context['session_id'];
Although, I'm not sure what other problems this may cause later.
Quote from: Orstio on February 13, 2006, 05:52:54 PM
To test the first, you would change the variable name to something else, like:
$smf_sc = &$context['session_id'];
And then in mod_smf_login.php, change every instance of $sc to $smf_sc.
To test the second, you would just remove the ampersand:
$sc = $context['session_id'];
Although, I'm not sure what other problems this may cause later.
So your recommendation would be to try the first option, and if it blows up, undo everything and try the second option?
Just making sure I understand, so I don't go and do both when that's not what you meant.
Yes, one or the other, but not both. ;)
Is there another place to download the current bridge? mambofoge seems to be down for me, and I would really like to get this installed on my site and work out the kinks so that I may be able to launch it by the end of the month.
by current bridge, you mean what (current is not a version number)
3.19a for 1.0.x and 3.19a for 1.1 beta3, beta4 and RC1 are available in the combined readme sticky post (as has been mentioned about a dozen times now)
1.1.2 (aka 3.20) for 1.1 RC2 is available in the first post of this thread... (as has also been mentioned a dozen or so times)
my aplogies for my continued noobness on this, hopefully I can get this all to work soon and be out of everyones hairs...
ok i've got smf v 1.0.6
i got the v 3.20 bridge ( i believe )
i followed the directions, and came across a question and a problem. if anyone tries to register i get this error.
Warning: saveregistration(/home/tasagi/public_html/smf/Sources/Subs-Members.php): failed to open stream: No such file or directory in /home/tasagi/public_html/test/components/com_smf_registration/smf_registration.php on line 343
now my question is this...I have community builder installed...if the users register with the forums, i have the Also register into Community Builder box checked, will that also set them up with a community builder account and allow them to login to get the benefits from that, IE. the blog posting and what not?
Again I apologize for my noobness.
Fatal error: saveregistration(): Failed opening required '/home/tasagi/public_html/smf/Sources/Subs-Members.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tasagi/public_html/test/components/com_smf_registration/smf_registration.php on line 343
3.20 does not work with SMF 1.0.6.
oh...so i've got to get the version right below it then?
http://www.simplemachines.org/community/index.php?topic=68663.0
I also need this file if anyone would be kind enough to either post it or send to
[email protected] the download link does not work
thank you guys I will be donating
Bridge Mambo,Joomla SMF 1.1 RC2 (aka 3.20)
It works great for me, Thx a lot.
But i have a small problem
FF vs IE problem,
installed:
- Joomla 1.0.7
- SMF 1.1 RC2
- JaclPlus 1.0.7
- CB 1.0 RC2 comprofiler
- Bridge Mambo, Joomla SMF 1.1.2
Internet Explorer:
Every thing works fine in internet explorer, only my layout is wrong (but thats just the layout).
i login on joomla bridge SMF 1.1.2, works OK. I click on forum, forum popsup and i am logedin.
If i logout, i go back to joomla.
This is what i want, and how it works in IE
Firefox:
I log in on joomla bridge SMF 1.1.2, I get forum and i am logged in. But i wanted to login on joomla.
If i go back to the joomla site, and click on logout, i get redirected to the forum again.
The login works fine, only the links are diffrend in FF than in IE
Suggestions?
Never Mind...
Problem solved itself
is there an alternative link where i can download the 3.20 bridge from as mamboforge is down or if not would someone mind emailing me it?
Quote from: redmist on February 15, 2006, 10:49:16 AM
is there an alternative link where i can download the 3.20 bridge from as mamboforge is down or if not would someone mind emailing me it?
You can download it here, it is attached to the first post http://www.simplemachines.org/community/index.php?topic=63182.0
thanks aravot, didn't notice the attachment there when i read it 1st time ;D
Quote from: Orstio on February 13, 2006, 05:52:54 PM
From the bridge end of things, the login module gets the session id in a variable named $sc, in the code inclusion in the Joomla template header:
$sc = &$context['session_id'];
Now, what I'm not sure of at this point is whether this is a variable name collision with $sc, or whether the value of $context['session_id'] is rewritten by VirtueMart.
To test the first, you would change the variable name to something else, like:
$smf_sc = &$context['session_id'];
And then in mod_smf_login.php, change every instance of $sc to $smf_sc.
Should I be worried that I've gone through mod_smf_login.php, and can't find a single instance of $sc ?
I'll test your second solution first, and hope it doesn't blow everything up.
Thanks.
Still waiting for your contact, Orstio.
Anyway, about the 2 possible solutions you`ve mentioned:
changing $sc to something else at page header and mod_smf_login:
Theres no instance of $sc @ mod_smf_login. You use there $context['session_id'] so I guess that $sc is useless. I`ve checked and both are the same always. So if something is changing it, its before youre calling $context.
About taking the & out before $context, as $sc does nothing, so did this solution.
And yes, this error is happening becouse something is changing the session id, possibly VirtueMart.
Oh, by the way, forum/index.php loads Sources/Load.php that mentions $GLOBALS[sc] at the function loadSession. So I guess that this is the session that you are trying to work with?
I`ve found a "huge" cookies(?) collision between SMF and Joomla. That is explained here:
http://forum.joomla.org/index.php/topic,38163.0.html
(This happens with or without your bridge, both J! and SMF just have to be on the same machine I guess).
I don't know about you, Felipe... but I have never had the problem you describe with the frontend/backend objects...
Did you name your cookies the same thing? If so, THAT was your mistake...
$sc is set in the code that you add to the head section of the joomla template.
There is no cookie collision between SMF and Joomla..... They each handle cookies and sessions so differently that there are no issues.
Well, then theres something REALLY wrong with my site.
My SMF cookies are named "default": SMFcookie129 or something like that.
Well, theres definately something wrong. I could give you developers a backend login at my site so you could see whats wrong =/ And I tried replacing all files that could be related to this (like joomla.php) with brand new ones, so that I would be sure that this is not happening becouse some wrong code insertion...
But theres something wrong, I mean, I cant even run SMF and Joomla at the same machine (lcc.furb.br) at diferent paths (/home/magic/forum and /home/magic/public_html, without your bridge) that this bug happens...
About $sc, I chaged it at the header, within the code I added to something like $smf_sc, but theres no instance of $sc at mod_smf_login.php. Theres only $_GLOBALS[sc] at joomla.php. (BTW, acording to new php codes, shouldnt this be $_GLOBALS['sc']?)
QuoteTheres only $_GLOBALS[sc] at joomla.php. (BTW, acording to new php codes, shouldnt this be $_GLOBALS['sc']?)
How did $_GLOBALS[sc] get into joomla.php?
The bridge from here changes nothing in any core Joomla files.
Sorry, my mistake. Im still sleepi.
Can you tell me that if I change a password in SMF the change is updated to Joomla? The reason I ask is that the passwords in my database for an admin user in SMF and Joomla (same db) are different. It's probably not much of an issue as long as the bridge is in use, though there may come a time for not using it.
Also, if someone registers but do not activate their account, could there be a conflict with user IDs at some point,for instance registering under similar names? Just asking because my Joomla end has 13 more users than the SMF end.
many thxs
QuoteCan you tell me that if I change a password in SMF the change is updated to Joomla? The reason I ask is that the passwords in my database for an admin user in SMF and Joomla (same db) are different. It's probably not much of an issue as long as the bridge is in use, though there may come a time for not using it.
Yes, it is. But the hashes you see in the database will never be the same. SMF uses a different hashs encryption than Joomla. So, the hash results in the database look different for the same password.
QuoteAlso, if someone registers but do not activate their account, could there be a conflict with user IDs at some point,for instance registering under similar names? Just asking because my Joomla end has 13 more users than the SMF end.
That depends. Do you have the registration set to bridge or SMF registration?
I just installed VirtueMart on my Mambo 4.5.3h, and oddly, I can't reproduce the session change issue..... Everything is working perfectly. I am wondering if this is something specific to Joomla?
???
Hi... mamboforge has been down since yesterday (maybe even longer) and I'm wondering if someone can link me to a mirror or send me the file to my email at
[email protected] (remove the nospam of course)
Much Appreciated, Thanks
The 3.20 bridge has never been at MamboForge. It will never be at MamboForge.
It is attached to the first post in this topic. Attachments appear at the bottom of posts.
Stupid question
I m unsure, but I believe, my forum has been gone down in speed after bridging...
To be sure the 2 slowest queries (of 5, last 3 only happend 0.1% often than the both 2 executed):
SELECT
mem.realName,
m.posterTime,
m2.subject,
t.ID_TOPIC,
t.ID_MEMBER_UPDATED,
t.ID_LAST_MSG,
m.ID_MSG_MODIFIED,
m.ID_BOARD,
b.name AS bName,
t.numReplies,
m.posterName AS memberName,
IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, -N)) + N AS new_from
FROM
(smf_members AS mem,
smf_topics AS t,
smf_messages AS m,
smf_messages AS m2,
smf_boards AS b
LEFT JOIN smf_log_topics AS lt ON (lt.ID_TOPIC = t.ID_TOPIC AND lt.ID_MEMBER = N)
LEFT JOIN smf_log_mark_read AS lmr ON (lmr.ID_BOARD = t.ID_BOARD AND lmr.ID_MEMBER = N))
WHERE
t.ID_BOARD = m.ID_BOARD
AND t.ID_BOARD = b.ID_BOARD
AND t.ID_LAST_MSG = m.ID_MSG
AND t.ID_FIRST_MSG = m2.ID_MSG
AND mem.memberName = m.posterName
AND (FIND_IN_SET(N, b.memberGroups) OR FIND_IN_SET(N, b.memberGroups))
ORDER BY
m.ID_MSG DESC
LIMIT N
SELECT
mem.realName,
m.posterTime,
m2.subject,
t.ID_TOPIC,
t.ID_MEMBER_UPDATED,
t.ID_LAST_MSG,
m.ID_MSG_MODIFIED,
m.ID_BOARD,
b.name AS bName,
t.numReplies,
m.posterName AS memberName,
N AS new_from
FROM
(smf_members AS mem,
smf_topics AS t,
smf_messages AS m,
smf_messages AS m2,
smf_boards AS b
)
WHERE
t.ID_BOARD = m.ID_BOARD
AND t.ID_BOARD = b.ID_BOARD
AND t.ID_LAST_MSG = m.ID_MSG
AND t.ID_FIRST_MSG = m2.ID_MSG
AND mem.memberName = m.posterName
AND FIND_IN_SET(-N, b.memberGroups)
ORDER BY
m.ID_MSG DESC
LIMIT N
I dont know what they do, I m glad to find how to get the information what queries are slwo :)
hi :Di installed bridge orstio in joomla but i riceved this error:Fatal error: tportal_init(): Failed opening required 'SSI.php' (include_path='.:/php/lib/php/') in /web/htdocs/www.miosito.com/home/forum/Sources/TPortal.php on line 27
why? ::)thanks a lot good job
You can't have both TinyPortal and Joomla.
:D thanks.. :D
Any word o how the newer session management in upcoming Joomla 1.0.8 will affect this bridge?
yes... there are two threads on this topic already.
The current bridge will not work with Joomla 1.0.8.
However, apparently, the developers of joomla have changed things even further and Predator's code fix won't work either...
Found the threads, thanks. I'll keep an eye on those once 1.0.8 is out.
It will be a fairly quick fix, regardless, I'm sure.
Hi,
it looks like you will be able to use the bridge (even before Ostrio updates the fix) with Joomla 1.0.8 as they have included a backwards compatibility option in the admin panel.
Have a look here:
http://dev.joomla.org/component/option,com_jd-wp/Itemid,33/p,28/
So does that mean that we have to use the "Level 1 Security - Backwards Compatibility" setting till the fix is up? So confuzzled...
Quote from: pokehamtaro on February 25, 2006, 11:01:28 AM
So does that mean that we have to use the "Level 1 Security - Backwards Compatibility" setting till the fix is up? So confuzzled...
My understanding would be, Yes, the 'Level 1 Security - Backwards Compatibility' would essentially be the old way of session management and would likely (although not confirmed I don't think) work with the current bridge. However, as Osrtio mentioned, a new revision of the bridge will be available at some point as so many sites utilize SMF and this bridge....we have the best brains in the community working on these wonderful projects!!
Guys,
When using the bridge (which works lovely!) I do however encounter an issue that seems to relate to the CSS, here's my website...
http://www.fhmvxr.co.uk
...the site is flush to the top and far left of the browser window BUT only because I've removed some of the code that we are recommended to add into our sites template, here's what I removed...
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc1" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?beta4" media="print" />
<link rel="help" href="', $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' . $scripturl . '?action=search" />
<link rel="contents" href="', $scripturl, '" />';
Is this code necessary and will anything 'break' by me excluding it?
Cheers, ASh
You should keep these lines:
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?beta4" media="print" />
<link rel="help" href="', $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' . $scripturl . '?action=search" />
<link rel="contents" href="', $scripturl, '" />';
The first line you removed should fix your CSS, but not necessarily for the forum page.
Thank for your reply. I'm not using the 'Wrapped' mode for the forum, therefore do I still need those other bits of CSS in there? I'm merely using the login screen, other than that my forum is standalone from my Joomla template and it all appears to be workin!
Have you tried things like the "Print Topic" option, or using the "Jumpto" dropdoen from one board to another?
Quote from: Orstio on February 26, 2006, 09:19:24 AM
Have you tried things like the "Print Topic" option, or using the "Jumpto" dropdoen from one board to another?
Yes and they all work fine!?
Then it should be alright. 8)
Can you recommend a better LastPosts type module though? The one I have is so limited, would like something with more more options!
When will SMF incorporate Joomla functionality as default into its Forums? Seems odd to me that they haven't yet!
QuoteWhen will SMF incorporate Joomla functionality as default into its Forums? Seems odd to me that they haven't yet!
SMF is a stand-alone product. While it has integration hooks to aid in its integration into other systems, it is not designed to be a Joomla component. Because such a small niche of users actually use the combination of Joomla and SMF, it would most likely be to SMF's detriment to incorporate anything Joomla by default.
I'm doing a local test with Joomla 1.0.8 and SMF 1.1 RC2
I can install both and run SMF, but I can't get it wrapped, SMF shows as a standalone.
Any chance to fix this?
Thank you,
1- the bridge does not work with joomla 1.0.8
QuoteI'm doing a local test with Joomla 1.0.8 and SMF 1.1 RC2
I can install both and run SMF, but I can't get it wrapped, SMF shows as a standalone.
Any chance to fix this?
Thank you,
Did you install the bridge?
Quote from: Orstio on February 26, 2006, 10:02:21 PM
QuoteI'm doing a local test with Joomla 1.0.8 and SMF 1.1 RC2
I can install both and run SMF, but I can't get it wrapped, SMF shows as a standalone.
Any chance to fix this?
Thank you,
Did you install the bridge?
Yes, yes, I've changed the path and it works OK, sorry.
I have to change the CSS files but it's working with Joomla 1.0.8.
Quote from: Kindred on February 26, 2006, 09:48:47 PM
1- the bridge does not work with joomla 1.0.8
Well, at least the dual login doesn't work. Logs into SMF fine but not to Joomla. There was a fix posted in the Joomla forums but it didn't work for me, I'm hoping a fix will show up here in the near future.
Joe
I haven't installed 1.0.8 yet, but apparently it has a "backwards compatibility" setting for the sessions...
Quote from: Orstio on February 26, 2006, 11:02:03 PM
I haven't installed 1.0.8 yet, but apparently it has a "backwards compatibility" setting for the sessions...
Assuming I've found the right setting, it's still not working, I log in and it shows me as logged in but I'm not logged in to Joomla, just to the forum.
Last time I upgrade the days something new comes out. Ok, so probably not, but I'll think about it more next time.
Luckily, I'm still working on my site so this isn't too big a deal for me.
Joe
Well, I must confirm that upgrading to Joomla 1.0.8 takes the bridge to strange behaviours. Even with the backward compatibility setting, it's still not working. For us, we will stay on this new Joomla, as the rule is to be Up to date all the time with the latest versions of the software running.
sure Orstio will adapt his bridge to this news joomla version soon...
:D
am I right?
;D
quoiqu'il en soit, Bravo pour le boulot!!
:-X
Well, I tested new Joomla (1.0.8) with Orstio's bridge on my test site and everything is ok.
Test site: Link Removed
Quote from: dogood on February 28, 2006, 09:33:43 AM
Well, I must confirm that upgrading to Joomla 1.0.8 takes the bridge to strange behaviours.
M
Quote from: dogood on February 28, 2006, 09:33:43 AM
Well, I must confirm that upgrading to Joomla 1.0.8 takes the bridge to strange behaviours.
Me too, even with compatibility mode in Joomla. The users are loged in SMF but not in Joomla. Also problems with Virtuemart.
At this momment, the best is not upgrade to Joomla 1.0.8, and wait until Orstio have time to make a new bridge.
I'd recommend not upgrading to any new joomla release until at least 2-3 months after the date of release, joomla has way too many issues on the upgrade ;)
rule of thumb: don't be in a big hurry to upgrade to the new release, check out the issues prior so you don't end up in issueville
Quote from: bugsmi0 on February 28, 2006, 08:47:50 PM
I'd recommend not upgrading to any new joomla release until at least 2-3 months after the date of release, joomla has way too many issues on the upgrade ;)
Seeing as how there's a security release per month essentially...how do you work out that 2-3month cycle. :)
QuoteAt this momment, the best is not upgrade to Joomla 1.0.8, and wait until Orstio have time to make a new bridge.
As I said before, the good practice, from my point of view, is to upgrade as fast as you can, because of the security fixes that come with new releases! Note that this is recommended too, for example, in the Red Hat security guide. On one hand you loose some functionnalities, due to the bridge not working, but on the other hand, you get a more secure service.
anyway, I'm going to try to re-install Orstio's bridge today, with the "backward compatibility" setting in joomla 1.0.8. I'll see how it works or not...
:)
dogopd... neither action is "best practice".
Yours is especially not best when in the actual release notes the developers indicate that changes made may break 3rd party connections and bridges.
BEST practice is to read the release notes, be aware of situations and upgrade when you have any additional fixes that continue your base functionality.
(in other words, IMO, one should not be upgrading to 1.0.8 until a confirmed version of the bridge works...)
hello Kindred
Yes I understand what you say. I read the release notes, I saw that the bridge couldn't work with the latest joomla release, but I decided to upgrade anyway. Why? Well, I won't tell you the entire story, but I'm now in charge of the server's security, and previous problems (great problems!) where due to the fact that the upgrades, especially the security ones, were not done in time.
When I say "best practice", it's only referring to the red hat security and administration guide!!
:)
So it is OK with you that the bridge will not work and therefore you will not be able to use the forum until Ostrio releases a patch which may be weeks away?
There are security fixes in Joomla 1.0.8 but a better word to descibe them is "security hardening fixes". That means that there are not "critical" security issues fixed in this releases AKA fix for some security problem that is known to be exploited and running wild.
So it is really a matter of if you are using the forum much or not. For a site that like 70% of its user's activities is using the forum, upgrading to 1.0.8 is not an option. (yet)
And they should not feel insecure about running 1.0.7 too. (again, yet)
;)
QuoteAs I said before, the good practice, from my point of view, is to upgrade as fast as you can
to upgrade or not to upgrade depends how much you have invested in your site, if something happens and you lose everything then it was a bad move to upgrade. Upgrading can often be risky since the developers shoot the next release out with disclaimers "we don't know what will happen so use at your own risk" look at the boards after a new release and you find many issues then there's the thing about third party components, etc not working with new releases all this and more can shut down a site or break it.
a rule of thumb is if you are confident and don't fear losing some of your stuff then go for the fools rush and upgrade on the other hand if you want to play it safe read some of the boads to see how others are doing with the new release.
it's like the fools who rush out to a sale at the local store or online shop like pigs to the slaughter :P
Quote from: bugsmi0 on March 02, 2006, 04:28:41 AM
it's like the fools who rush out to a sale at the local store or online shop like pigs to the slaughter :P
Wise words, I could not agree more with you.
Excuse: only one.
For me with J 108 the bridge works. I can use it like in 107.
But one extrange effect: the icon for write (this like a pen) dissapear, and when i want work with a link url (like: index.php?option=com_content&task=new§ionid=1&Itemid=0), a message tell that i have not permission for this.
Can anybody help me
Please
azajet... that's because the bridge is NOT working properly. You are not getting logged into joomla when you log into the bridge (as we have mentioned about 15 times.)
Joomla 1.0.8 breaks the login integration between joomla and most (of not all) third party components.
Quoteit's like the fools who rush out to a sale at the local store or online shop like pigs to the slaughter
strange words, i don't agree at all!!
but posting here about upgrading joomla, I didn't mean to throw such a debate!! From the sysadmin point of view, the system, in all its aspects,
must be up to date with the latest versions, even if these concern only minor security fixes. Concerning 3rd party software, as you say, one has to decide what's the most important thing!!
@+
Quote from: dogood on March 03, 2006, 02:47:44 AM
Quoteit's like the fools who rush out to a sale at the local store or online shop like pigs to the slaughter
strange words, i don't agree at all!!
what is it that you don't agree with "fools rushing in" or "pigs being lead to the slaughter" ;D
I hate shopping malls and watching consumers pig out buying stuff with money they don't have with a plastic credit card that allows them to spend more than what they have in their bank account, best not to buy into the sales unless you really need it. Now correct me if i'm wrong what kind of government would be ok with luring its people into debt hmmm indeed. got off topic sorry :D
online shoppers specially disgust me lol sick of seeing google ads plastered all over a website i won't even enter the site when i see that crap.
Quotewhat is it that you don't agree with "fools rushing in" or "pigs being lead to the slaughter"
please! I know my english is just scholar, or even less than that, but I just meant that comparing the fact of upgrading just in time a new release is coming out with these
Quoteconsumers pig out buying stuff with money they don't have with a plastic credit card that allows them to spend more than what they have in their bank account,
was a little strong from my point of view!!
here is the red hat security guide, if it can help... (http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/)
Red hat is well known all over the world for its security level and expertise... some good inspiration anyway...some good practices.... ;D
@+
Yes. Some good practices.
I have some practical experience with security upgrades and such (it's part of my real job)
And I will say that we never apply patches without first doing a customer effect evaluation.
We almost never apply "non-critical" patches as "just-in-time".
Quote from: dogood on March 03, 2006, 09:18:50 AM
Quotewhat is it that you don't agree with "fools rushing in" or "pigs being lead to the slaughter"
please! I know my english is just scholar, or even less than that, but I just meant that comparing the fact of upgrading just in time a new release is coming out with these
Quoteconsumers pig out buying stuff with money they don't have with a plastic credit card that allows them to spend more than what they have in their bank account,
was a little strong from my point of view!!
here is the red hat security guide, if it can help... (http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/)
Red hat is well known all over the world for its security level and expertise... some good inspiration anyway...some good practices.... ;D
@+
Actually stability is another thing you have to be careful.
If for example PHP 4.5.2 comes out (hypothetical version!) that fixes some minor security problems, but it brakes (again, hypothetically) osCommerce, and you have 10 clients in that server using osCommerce, you can't say "hey your sites are not working but the server is secure. Wait for a parch from osCommerce".
Same way (to remain on topic) if you update a site to Joomla 1.0.8 using the bridge and that sites does not work anymore, the minor security fixes in 1.0.8 are useless if the site doesn't work. So please, do not rush everyone here to upgrade to 1.0.8 until the bridge is compatible with it.
The right thing to do is
REMAIN IN 1.0.7 until a new version of the bridge is out. If you want to move to 1.0.8 you may as well uninstall the bridge as it will
not work. (it will not let your visitors login into Joomla). There is no known security issue with 1.0.7, you are quite safe using it.
To end, remember as a sysadmin to value stability equally to security. A stable but insecure server is about the same with a secure but instable one.
PS1. I hope you are not using Redhat 9 in your server, are you? :-\
PS2. Please do not start talking for distros, security, or the sales at the big stores here, it is a topic about the bridge.
Try this:
In smf.php, find this in the integrate_login function:
//Let's make sure this works in both Mambo and Joomla
$sessionCookieName = md5('site' . $mosConfig_live_site);
setcookie($sessionCookieName, '', -3600, '/');
Add this after:
//Joomla 1.0.8 compatibility
global $_VERSION;
if (isset($_VERSION) && $_VERSION->DEV_LEVEL >= '8'){
$remCookieName = mosMainFrame::remCookieName_User();
$remCookieValue = mosMainFrame::remCookieValue_User( $username ) . mosMainFrame::remCookieValue_Pass( $passwd );
setcookie( $remCookieName, $remCookieValue, $lifetime, '/' );
}
Thanks Orstio, :) I added your suggested changes to the smf.php and my bridge seems to be working again. Your a gem thanks again. ;)
It works even the copperminebridge is working again with this modification :D
Thanks Orstio, your're the greatest ;)
ps, logging out doesn't work, but that's for later :)
QuoteSame way (to remain on topic) if you update a site to Joomla 1.0.8 using the bridge and that sites does not work anymore, the minor security fixes in 1.0.8 are useless if the site doesn't work. So please, do not rush everyone here to upgrade to 1.0.8 until the bridge is compatible with it.
the only thing that did not work was the joomla login. now, with Orstio's modification to smf.php, everything is fine, with the "bacward compatibility" setting. great!! It's now running joomla 1.0.8 with a working bridge!!
the discussion was interesting, and permitted me to figure out that one must be very prudent upgrading to the latest versions...thank you everybody!
:)
Thanks, the 1.0.8 hotfix seems to work fine, except that the joomla login will eventually expire after a short period of inactivity, but the smf login doesn't seem to be affected.
EDIT: Err, apparently, it only happens when using the 'forever' login time in the mod_smf_loin, but I may be wrong here, I just logged for one day, and for now, i'm still logged in both in joomla & smf.
The logout works only for the SMF!
Is it just me or the bridge totally brakes the site with Joomla 1.0.8 when viewing with Opera web browser?
If any of you uses Opera, please have a look here:
www.sys-clan.com
In Firefox and IE it works just fine.
PS. Logout works just fine are well. Try clearing your cookies.
Quote from: afonic on March 04, 2006, 11:12:24 AM
Is it just me or the bridge totally brakes the site with Joomla 1.0.8 when viewing with Opera web browser?
If any of you uses Opera, please have a look here:
www.sys-clan.com
In Firefox and IE it works just fine.
PS. Logout works just fine are well. Try clearing your cookies.
Hmmm... Opera 8.5.2 on OS X and yes, having an issue. Okay with Safari, Firefox, Camino.
Did this definitely occur after the bridge install, and when you say that I'm assuming that to mean it occured after putting the required code in to your theme's index.php?
Quote from: afonic on March 04, 2006, 11:12:24 AM
PS. Logout works just fine are well. Try clearing your cookies.
Tried - no change!
P.S. About Opera: Disable the gzip compression
The code above only addresses logins, not logouts. I thought logging in was more important. ;)
The next release will have the logout functioning as well. :)
Quote from: galingoran on March 04, 2006, 02:39:18 PM
Quote from: afonic on March 04, 2006, 11:12:24 AM
PS. Logout works just fine are well. Try clearing your cookies.
Tried - no change!
P.S. About Opera: Disable the gzip compression
Hi,
thanks it worked!
Weird problem however, without the bridge or with Joomla 1.0.7 and the bridge it works just fine with gzip on.
Since it fixes it though, no biggie!
QuoteHi,
thanks it worked!
Weird problem however, without the bridge or with Joomla 1.0.7 and the bridge it works just fine with gzip on.
Since it fixes it though, no biggie!
Yeah, I was looking at that too while I was working on the session fix, and it seems that the exiting and compression have changed a bit in Joomla 1.0.8 as well.
It's beginning to look like the release of Mambo 4.5.4 will mark the separation of the bridge into two distinct forks.
Does the hotfix described above still require the backward compatibility security setting in Joomla?
By the way, thanks for keeping on top of this issue. :)
QuoteDoes the hotfix described above still require the backward compatibility security setting in Joomla?
You should be able to choose any setting. I left Joomla sessions at default for my testing.
QuoteBy the way, thanks for keeping on top of this issue.
No problem. I think I should also warn you that the smf.searchbot will probably break with the next release of the bridge. The configuration has been moved to a database table to circumvent some server issues, and actually resulted in a slight loading speed boost. On the downside, any add-ons that included config.smf.php will be broken.
Sounds like an easy fix. I'll try to keep an eye on the release. If I miss it, feel free to pester me via PM. I'm going to try to change the searchbot so that it can be configured to return either individual posts (which it does now) or simply one link per topic. Even on my small board, it's returning too many results.
Where I can find the bridge?
Thanks!
Excuse me for my English...
Quote from: andryonline on March 05, 2006, 12:10:41 PM
Where I can find the bridge?
First page of this topic: http://www.simplemachines.org/community/index.php?topic=63182.0
QuoteWhere I can find the bridge?
Gee, this topic has actually gone five pages without needing to answer that.... ::)
I get an erro when uploading the bridge component in 1.0.8. Anyone else having a problem?
What error do you get?
Does anyone have an example?
An example of what?
what this mod does
http://www.simplemachines.org/community/index.php?topic=25008.0
It's not a mod....It's a component for Mambo/Joomla.
Thank you!
damn, that was a long retarded search.... if you can't find the "attached" file login ;)
Has this been updated for Joomla 1.0.8 yet?
Quote from: ZowieZ on March 06, 2006, 10:03:30 AM
Has this been updated for Joomla 1.0.8 yet?
Did you READ through this thread, or the other threads, or the combined readme?
Quote from: Orstio on March 04, 2006, 03:01:42 PM
The code above only addresses logins, not logouts. I thought logging in was more important. ;)
The next release will have the logout functioning as well. :)
hi Orstio. great job. any predictions on when a next version will be available, one without any restrictions regarding 1.0.8?
keep it up
Quote from: Kindred on March 06, 2006, 11:05:35 AM
Quote from: ZowieZ on March 06, 2006, 10:03:30 AM
Has this been updated for Joomla 1.0.8 yet?
Did you READ through this thread, or the other threads, or the combined readme?
You want me to read dozens upon dozens of postings, unrelated to my question, to possibly find the answer to my question (and possibly not) when a simple, "yes" or "no" would have sufficed?
1) Use the search there are like 10 posts asking this.
2) Read the combined readme sticky post.
If you had done 1 and 2 you shouldn't have to ask, so you will not have wasted your answer waiting for an answer.
You may not care about mine or Kindred's free time but don't you value your time also?
Quote from: Excalibur! on March 05, 2006, 12:53:15 PM
Quote from: andryonline on March 05, 2006, 12:10:41 PM
Where I can find the bridge?
First page of this topic: http://www.simplemachines.org/community/index.php?topic=63182.0
Could we have a locked topic dedicated to bridge news and downloading ? So we can subscribe notification on this topic and so be informed of update without receiving notification of comments, requests, ... ?
have you seen the combined readme post? Every time something important regarding the bridge changes, I either modify or add to that thread.
Quote from: Kindred on March 07, 2006, 12:47:12 PM
have you seen the combined readme post? Every time something important regarding the bridge changes, I either modify or add to that thread.
No. I'll search for it, but if you want to refer someone to it, why not include a link in the post? Why make it harder for folks to find things if you're not going to provide a direct answer?
As it is the second post in this forum it should be easy to find:
http://www.simplemachines.org/community/index.php?topic=25718.0
I finally got the bridge to work and I am very happy with. Only one question: when a user requests a lost password is it possible to send him his old password instead of a newly generated? Is this the bridge function of Joomla? Thanks
Quote from: ZowieZ on March 07, 2006, 01:44:58 PM
Quote from: Kindred on March 07, 2006, 12:47:12 PM
have you seen the combined readme post? Every time something important regarding the bridge changes, I either modify or add to that thread.
No. I'll search for it, but if you want to refer someone to it, why not include a link in the post? Why make it harder for folks to find things if you're not going to provide a direct answer?
Mostly because I post these messages between other things I am doing at work, during the day and I don't have time to repost the link for everyone who refuses to read the sticky posts (which are sticky for a reason!)
QuoteOnly one question: when a user requests a lost password is it possible to send him his old password instead of a newly generated?
That's not possible. The password is hashed before storing it in both Joomla and SMF. There is no way to "un-hash".
Quote from: Kindred on March 07, 2006, 12:47:12 PM
have you seen the combined readme post? Every time something important regarding the bridge changes, I either modify or add to that thread.
Yes right, but like for this :
Quote[Update 1/12/06 -- Various small bugs fixed. Only smf.php was changed, for those updating instead of reinstalling.]
[Update 1/13/06 -- Ther was a typo in the redirect function, which would have affected non-SEF sites. My apologies. Fixed now.]
it could be useful to have a subject with the download link and bellow a new message for each change/update/etc.
This is the combined readme:
http://www.simplemachines.org/community/index.php?topic=25718.0
Not exactly the same thing with what I suggest... But if I'm the only one that found this useful, forget it 8)
Understanding that this isn't the developers' full-time job, and a little patience is important. Appreciation for their volunteering to help us all out is certainly warranted. However, as a follower of the Mambo/Joomla bridge mod since almost the beginning, I would also have to say that this area has become a labyrinth of outdated and current versions, numbers, and fixes. I have learned to go to the very last post in a thread and work backward. However, I can certainly see that to a newbie coming here for the first time, navigating to needed information would be very frustrating.
Obviously I don't know the inner workings behind the scenes, but why not dump or archive all the posts and threads that have nothing to do with current versions of the bridge and Joomla? There really shouldn't be any reason that I can think of as to why any posts regarding anything but the most current, or perhaps latest two versions of the bridge should remain here.
Just my thoughts.
For the second (or is it the twentieth?) time... I regularly update the combined readme thread with the most recent information.
The Combined readme started with the v2 series and has been updated regularly. Currently it only covers the bridges 3.19a (for SMF 1.0.x) and 3.20 (for SMF 1.1RC2)
If you do nothing else, read the bloody sticky posts. They are sticky for a reason!
Kindred, I'm not sure if this post was directed at me, but if it was, I'm sorry you took offense, I certainly didn't mean anything other than a suggestion of how the needing to constantly respond to newbies confusion with using this forum might be lessened. Personally, I've read nearly every post in this forum at some time. My bridge works just fine.
Quote from: fototrust on March 09, 2006, 12:25:36 PM
Kindred, I'm not sure if this post was directed at me, but if it was, I'm sorry you took offense, I certainly didn't mean anything other than a suggestion of how the needing to constantly respond to newbies confusion with using this forum might be lessened. Personally, I've read nearly every post in this forum at some time. My bridge works just fine.
Never apologize for speaking your mind, if people can't handle it frak um
fototrust... no offense taken on my part.
The thing is, even with sticky posts, the people come in and post (and post and repost) the same question. The first thing we usually do is direct them to read the sticky posts... :)
OK, i've read through almost all the posts in this thread and i dont think this has been asked before.
my Joomla 1.0.7 and SMF 1.1RC2 ( 3.20 bridge ) works perfectly. But it has a small problem with wrong passwords. When a user gives a wrong password 3 times, a page comes asking for a username and corresponding email. when the correct details are given, it sends a new generated password to the user. Its fine upto here
Problem is that after the line saying Password has been sent to email, i am seeing the the new user registration page. That will be very confusing to new users. They might think that they need to register again. Can you please suggest a solution?
Also is there a way to increase the number of tries to more than 3?
Thanks in advance :)
QuoteProblem is that after the line saying Password has been sent to email, i am seeing the the new user registration page.
Bridge registration, or SMF registration?
Wrapped, using Bridge Registration.
Thanks. I agree that this could be quite confusing. It will be changed to redirect to the frontpage.
Is there any modification that i can do, in the meantime? i have a couple of sites that i have set this on.... :)
In your components/com_smf_registration folder, the file smf_registration.php, at the end of the function sendNewPass, find:
mosRedirect('index.php?option='.$option.'&Itemid=' . $Itemid . '&mosmsg=' . _NEWPASS_SENT);
Change to:
mosRedirect('index.php?mosmsg=' . _NEWPASS_SENT);
Works. Thanks a lot. :)
I hope this gets into the next version of the bridge :D
If I upgraded to SMF 1.1RC2 and also upgraded to Joomla 1.0.8 would the updated version of the bridge work?
I upgraded to Joomla 1.0.8 on two of my sites, both using the same SMF 1.1rc2 + 3.20 bridge. However, one of them no longer displays the SMF avatars properly, and the Joomla "usermenu" is not showing up. Any items on the usermenu that are set to registered are also saying that I don't have permission to view the resource. Everything worked fine prior to patch 1.0.7 -> 1.0.8. Any ideas?
I'll be releasing a bridge that won't need patching soon (hopefully tomorrow, if no other bugs are reported by then).
Ok great. I just double checked and this problem is on both sites, I just didn't realize it at first. It looks like the status of "registered" is being tracked differently.
Quote from: Orstio on March 12, 2006, 06:18:16 PM
I'll be releasing a bridge that won't need patching soon (hopefully tomorrow, if no other bugs are reported by then).
Fantastic news, I was just about the upgrade with the patched bridge.
I added the two snippets of code in the other thread and both of my sites are working again.
and... what is the final solution? im confused :-\ :-\ :-\
opt... read the combined readme thread....
Quote from: Radianation on March 12, 2006, 07:12:35 PM
I added the two snippets of code in the other thread and both of my sites are working again.
I have added the two pieces of code and my site still does not keep my logged in? ( www.ukhdtv.net ) got any ideas? I'm running Joomla 1.0.8 withe SMF 1.1RC2 and bridge 3.20
QuoteI have added the two pieces of code and my site still does not keep my logged in? ( www.ukhdtv.net ) got any ideas? I'm running Joomla 1.0.8 withe SMF 1.1RC2 and bridge 3.20
Yes, you are accessing your site at:
http://www.ukhdtv.net
But when you installed Joomla, you told it your live site was at:
http://ukhdtv.net
That makes a very big difference for Joomla cookies.
is it possible to keep my css for my mambo site instead of using the smf css? cause my font for my mambo site when i use this bridge and i dont want that >_< it looks bad. And i like the smf css for the forums....any suggestions? And when i used the 3.19 bridge, it only logged into smf...it wouldn't allow me to enter my registered pages in my mambo site, does this bridge have the same thing?
Quote from: Orstio on March 13, 2006, 07:29:29 PM
QuoteI have added the two pieces of code and my site still does not keep my logged in? ( www.ukhdtv.net ) got any ideas? I'm running Joomla 1.0.8 withe SMF 1.1RC2 and bridge 3.20
Yes, you are accessing your site at:
http://www.ukhdtv.net
But when you installed Joomla, you told it your live site was at:
http://ukhdtv.net
That makes a very big difference for Joomla cookies.
Cheers all working now :)
Quote from: LazyBum on March 13, 2006, 07:51:56 PM
is it possible to keep my css for my mambo site instead of using the smf css? cause my font for my mambo site when i use this bridge and i dont want that >_< it looks bad. And i like the smf css for the forums....any suggestions? And when i used the 3.19 bridge, it only logged into smf...it wouldn't allow me to enter my registered pages in my mambo site, does this bridge have the same thing?
Lazy... you really are lazy, aren't you? All these questions have been answered a bunch of times. Use the search function... or try reading the sticky posts.
lol thank you for your advice. i got it working now ;D
say sorry to all
my bridges have peoblems,it's my mambo sef and smf sef have hacked
now working fine.thank all help me frinds ;)
Read the combined readme, upgraded from 107 to 108 with Jaclplus and smf bridge. Read the combined readme and it's working like a charm so far.
Great work Orstio and Kindred!
Thnx,
Pax
Quote from: Orstio on March 04, 2006, 07:30:39 PM
Yeah, I was looking at that too while I was working on the session fix, and it seems that the exiting and compression have changed a bit in Joomla 1.0.8 as well.
Hi,
Since upgrading to Joomla 1.08 & Bridge 3.20 gzip in Joomla stopped working has anyone else had this problem?
When I test the page here: http://www.gidnetwork.com/tools/gzip-test.php
I now get:
QuoteSorry, I am unable to decompress the contents of this page. Possible bogus gzip/deflate encoded data.
It seems to be the bridge or the code added to the template - if I remove the code gzip works (yes gzip is off in smf). Is there anyway to fix it?
Do you have compressed output turned on in SMF?
Hi,
No gzip in smf is off, that was the first thing I checked :) After I upgraded I noticed everything was much slower but didn't think to check the compression till today, I've got a test site with the same set up and gzip won't work there either so I tried removing the bridge code from the template & unpublishing the smf login module and then compression in joomla works fine.
I also checked a couple of sites here: http://www.simplemachines.org/community/index.php?topic=25008.0
and found a couple with the same problem on the 3.20 bridge
zigzag, have you tried it with gzip on in SMF & Joomla? It seems like the login module might be the problem, but I can't be certain. You can always disable gzip in Joomla for now until it's fixed.
Hi,
I tried it but no luck, I'm not sure it's the login module - I just tried unpublishing it and still no gzip but if I take the smf code out of the template it works ok.
Quote from: zigzag on March 18, 2006, 11:14:28 AM
Quote from: Orstio on March 04, 2006, 07:30:39 PM
Yeah, I was looking at that too while I was working on the session fix, and it seems that the exiting and compression have changed a bit in Joomla 1.0.8 as well.
Hi,
Since upgrading to Joomla 1.08 & Bridge 3.20 gzip in Joomla stopped working has anyone else had this problem?
When I test the page here: http://www.gidnetwork.com/tools/gzip-test.php
I now get:
QuoteSorry, I am unable to decompress the contents of this page. Possible bogus gzip/deflate encoded data.
You answered your own question before you posted, it seems..... ::)
I have Joomla 1.07 and SMF 1.1 RC2. Both were running fine as standalones but I am having a bit of trouble since I installed the bridge. Everything works perfectly with the exception of the forum Jump To menu. For some reason using this menu takes users to an unwrapped forum. If anyone knows how to fix this I would be very grateful. I don't know it matters but I do have SMF and Joomla in separate databases and my site is www.simposieum.net
That will be fixed in the next release. Until then, you can find this in the code you put into your Joomla template:
var smf_scripturl = "', $scripturl, '";
And change it to this:
var smf_scripturl = "http://www.simposieum.net/component/option,com_smf/Itemid,18";
Thanks ever so much Orstio for both the quick reply and solution :)
how can I make the com_login work using community builder ::)
com_login will never work with the bridge.
in order to use the SMF bridge, you MUST use the mod_smf_login login module.
After bridging Joomla and SMF on my site (wrapped), I am unable to create more boards and many admin functions have disabled.
I also get this message often:
An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.
Can I please get some help on this?
Site: http://www.joomlaspan.com
There is no sef_ext.php that works 100% with the bridge yet, so you cannot use SEF Advanced with the bridge.
Hi,
Is there any difference between your patch and this one: http://www.joomlahacks.com/component/option,com_remository/Itemid,41/func,fileinfo/id,345/
Yes, they are very different. That bridge changes things in both Joomla and SMF to make it work. The bridge supported here requires only a small change to the Joomla template, which will also soon be obsolete.
Quote from: Orstio on March 25, 2006, 02:14:04 PM
There is no sef_ext.php that works 100% with the bridge yet, so you cannot use SEF Advanced with the bridge.
OK. That comment solved my issue. I am using OpenSEF by the way :)
I read here that Predator is orking on making OpenSEF compatible with the bridge, with the help of Orstio. Waiting for it.
Meanwhile, what I did was temporarily disable the OpenSEF. Perform all administrative tasks on the Forum, and enable the SEF again. Works like charm 8)
Thank you Orstio!
There's a small problem when recieving PN's - when i'm browsing the portal and the popup about a new pn appears, clicking on ok leads me into my unwrapped forum. If i'm browsing the forum and klick ok when the notification apperas, i'm still in my wrapped forum. So must be a bug in the login module!?
BTW, i'm using joomla-bridge 3.20 with the login-module and joomla 1.0.8.
cheers,
Benson
No, not a bug in the login module. I may be able to fix that, but no promises.
I've installed Joomla 1.8 and SMF 1.1 RC2.
I followed the installing devices and tried it two times to get a clear installation. But I've still the same problem: For any reason the New Log-In Module didn't log in the user to Joomla.
"Only" logout and registration works correctly.
Is it possible the bridge recommends a lower version of joomla?
Greets,
Lord
http://www.simplemachines.org/community/index.php?topic=25718.msg504382#msg504382
Quote from: Benson on March 26, 2006, 07:53:01 AM
There's a small problem when recieving PN's - when i'm browsing the portal and the popup about a new pn appears, clicking on ok leads me into my unwrapped forum. If i'm browsing the forum and klick ok when the notification apperas, i'm still in my wrapped forum. So must be a bug in the login module!?
BTW, i'm using joomla-bridge 3.20 with the login-module and joomla 1.0.8.
cheers,
Benson
I have the same problem man :( everything else is working perfectly though.
It seems when I follow the new pm notification I get a repeat of my joomla instalation folder in the 'subject link' of each PM, for example:
http://mywebsite.com/joomla/joomla/index.php?action=pm#5
Instead of
http://mywebsite.com/joomla/index.php?action=pm#5
The bridge does not work with SEF Advanced.
QuoteThere's a small problem when recieving PN's - when i'm browsing the portal and the popup about a new pn appears, clicking on ok leads me into my unwrapped forum. If i'm browsing the forum and klick ok when the notification apperas, i'm still in my wrapped forum.
Hmm... I was getting thrown to the forum unwrapped whether I was already browsing the forum or not every time I received and chose to see a PM.
My temporary workaround, until this is fixed, was to change the line in Subs.php:
window.open("'.$scripturl.'&action=pm");
to:
window.open("http://my.site.com/index.php?option=com_smf&Itemid=10&action=pm");
my.site.com and 10 should be changed appropriately. ;)
cferd,
i made the change you suggested, but evene after deleting my cache it still doesn't work, i still get thrown to the unwrapped forum when klicking ok...
Quote from: Orstio on March 25, 2006, 06:21:10 PM
Yes, they are very different. That bridge changes things in both Joomla and SMF to make it work. The bridge supported here requires only a small change to the Joomla template, which will also soon be obsolete.
What will soon be obsolete?
The need to change code by hand as written in the combined readme.
Quote from: Benson on March 28, 2006, 04:37:17 AM
cferd,
i made the change you suggested, but evene after deleting my cache it still doesn't work, i still get thrown to the unwrapped forum when klicking ok...
There is something obviously different about our respective codes. You were staying wrapped when already browsing the forum, while I wasn't. You have a redirect somewhere in your code, I wish I knew where, but I don't. There is no apparent reason why the code I posted should be throwing you into unwrapped mode, other than a redirect.
Try changing the line to this instead:
window.location="http://my.site.com/index.php?option=com_smf&Itemid=10&action=pm";
That should keep you in the same window, maybe keep you wrapped too?
Quote from: Orstio on March 26, 2006, 11:06:58 AM
http://www.simplemachines.org/community/index.php?topic=25718.msg504382#msg504382
Thx - Works fine :D
Has the zip file for smf mambo bridge been removed from the OP? I was trying to integrage SMF 1.1rc2 with Mambo 4.5.3h and it seems many people have already installed the bridge successfully. Has the file been taken down for an upcoming upgrade?
Thanks.
http://www.simplemachines.org/community/index.php?topic=79530.0
Quote from: Orstio on March 19, 2006, 02:39:14 PM
That will be fixed in the next release. Until then, you can find this in the code you put into your Joomla template:
var smf_scripturl = "', $scripturl, '";
And change it to this:
var smf_scripturl = "http://www.simposieum.net/component/option,com_smf/Itemid,18";
I have this problem too except 'jump to' anything takes me to the main joomla page :( I didnt realise as I dont use the jump to menu but a member informed me yesterday.
I tried this code but it it still takes me to the main joomla page, any ideas?
A dumb question the 1.1.3 BRIDGE is the continuation of this one?
best,
Carla
the 1.1.3 bridge shoudl REPLACE the 1.1.2 bridge.
It is only for SMF 1.1RC2
oops, that's very interesting, because I'm using the 3.20 bridge with Joomla 1.0.8/SMF 1.1rc2
Thanks a lot Kindred, I'm going to install the right version of the bridge right now. Interesting that the version .3.20 works with no problem in my install with SMF 1.1rc2!.
Quote from: Orstio on December 31, 2005, 03:07:34 PM
File is attached to this post.
Hum humm...
Realy sorry, I dont very well speak englsih.
So I need this file but can't find it.
Where it possible to download ?
I'm actually installing Joomla/SMF/CB
I'm going to lock this now.
The new bridge is in the sticky topic at the top of the board.