News:

Wondering if this will always be free?  See why free is better.

Main Menu

Bridge Xoops-SMF 1.1 RC3 Beta 1

Started by Orstio, December 31, 2005, 03:18:57 PM

Previous topic - Next topic

3ex

Maybe it's the hosting. I was thinking about change it. There are many issues about it...

Thanks anyway. You fixed me several bugs :D

CoreOperations

Actually the login/logout hooks dont work on my site - I have just freshly installed it - moving to XOops/SMF from a dedicated SMF - both are still running - but fresh installs of SMF & XOops in a diff directory.

Any ideas?  I can login to SMF fine, but unless I keep the XOops login block theres no way that I will get to administer my site.

Orstio

For beta 1 of the bridge, I am going to be testing the use of the XoopsMemberHandler class instead of writing directly to the session.  Hopefully that gives a more consistent result for everyone.

CoreOperations

Well if you need a cpanel server to test it on then let me know - I am desperate to move my forums into a portal wrap - and cant do it at the moment until I get this working - or I could use Joomla - but not too keen on that.

shavo odadjian

I caught this bridge for the SMF, installed in xoops and it appears in the administration panel. In patch absolute I leave

/home/name of the user/public_html/smf

and it says that he brought up to date certain, but does not add the forum xoops...   

they alguem can say me as to proceed?

already I tried with joomla and it did not give certain...   
I installed xoops in a separate diretorio /xoops/, and not in the root of host

thanks

http://www.informacaodigital.info/
Fórum Windows em língua PORTUGUESA (PT-BR)
Tire suas dúvidas de informática conosco ^^
Seu currículo GRÁTIS na Internet 
em apenas 5 minutos! 

http://www.curriculum.com.br/indicadopor/P1580493-881

lruneh

This is probably a really stupid question...
In the Xoops site administration I am asked to give the absolute path the SMF - not the URL. So if I installed SMF in the folder /forum/ in my root directory, what is the path then?

Thanks

3ex

Quote from: lruneh on October 12, 2006, 05:07:20 PM
This is probably a really stupid question...
In the Xoops site administration I am asked to give the absolute path the SMF - not the URL. So if I installed SMF in the folder /forum/ in my root directory, what is the path then?

Thanks

You can found it in the SMF administration panel

Go in Server Settings and copy the absolute path in SMF Directory textbox

ewonline

Is this bridge being actively developed or are you guys waiting for SMF 1.1 or XOOPS 2.4 or whatever.
hxxp:www.ewonline.net [nonactive]

Orstio

A new version of the bridge should be up on the downloads page soon.  ;D

3ex

Quote from: Orstio on October 28, 2006, 09:24:13 PM
A new version of the bridge should be up on the downloads page soon.  ;D

This will be a very cool halloween present ;D


Robi052

I use xoops 2.0.15 and smf 1.1RC3. When login in SMF login block all working nice, but go directly in board. When login in xoops login block, first open web site, but cannot go to board (must login). How can I use just one login block, and which?

Orstio

You're going to need to use the SMF login block, and you will also need to make the bridge module viewable to Anonymous users.

Robi052

Quote from: Orstio on October 29, 2006, 10:40:05 PM
You're going to need to use the SMF login block, and you will also need to make the bridge module viewable to Anonymous users.

Can I something change when user login to smf login block go to site? No to board directly

Orstio

I haven't set up any login/logout redirection options for this bridge yet.  I'll add it to my ToDo list.  :)

Robi052

Quote from: Orstio on October 29, 2006, 10:58:05 PM
I haven't set up any login/logout redirection options for this bridge yet.  I'll add it to my ToDo list.  :)

That be nice. Like something redirect on login and logout redirect to module which is set in xoops General settings for first module.

3ex

What did you change in this release? ::)

Orstio

Things that were changed:

The login now uses the Xoops user authentication objects, though I just noticed today that my test site ran into a problem with it as well.  It was working perfectly.   :-\

Users that exist in SMF but not in Xoops are transferred over automatically, and vice versa upon login.

Some typos and missing globals were fixed.

inukablaze

#378
When I try to login via the SMF login block, I get the following error:

--------------------
8: Only variables should be assigned by reference
File: /home/SITEUSERNAME/public_html/news/kernel/user.php
Line: 186
--------------------

However, when I hit the browsers BACK button, I'm logged into xoops, but I'm not logged into the SMF forum.


Line 186 in my /kernel/user.php file has to do something with the following function:

---------------------------------------------
    function &getGroups()
    {
        if (empty($this->_groups)) {
            $member_handler =& xoops_gethandler('member');
            $this->_groups =& $member_handler->getGroupsByUser($this->getVar('uid'));
        }
        return $this->_groups;
    }
----------------------------------------------

What is this all about??



Anyway, I'm using xoops 2.0.15 with SMF 1.1 RC 3, with the BETA bridge.

Enable local storage of cookies: off
Use subdomain independent cookies: On
Enable compressed output: off
Use database driven sessions: On


I think I'm gonna turn this off until I can find out what's going on.

Orstio

Quote8: Only variables should be assigned by reference
File: /home/SITEUSERNAME/public_html/news/kernel/user.php
Line: 186

Yes, that is still an incompatiblity with Xoops and PHP 4.4.x.

Open the user.php file in the kernel folder, and find this on line 186:

            $this->_groups =& $member_handler->getGroupsByUser($this->getVar('uid'));


Change it to this:

            $this->_groups = $member_handler->getGroupsByUser($this->getVar('uid'));

Advertisement: