News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Bridge Xoops-SMF 1.1 RC3 Beta 1

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

Previous topic - Next topic

Grandnegis

#140
Well that didn't work.  now I can't login to anything.  So maybe I should set the xoop login to visible and the smf to invisible nes pas?
I changed it back.  what I want is the xoops login and then the xoops users to be able to go straight into the forums.

Is there somethign I have to do in SMF so that it will use the xoop users instead of asking the to re-login???

Meh, maybe I shoudl just use the xoops forums module just means I have to transfer all the topics and posts from the original site and users.  Is there a converter for this or is it something that I would have to do manually?

Orstio

Quotewhat I want is the xoops login and then the xoops users to be able to go straight into the forums.

Well, then you want the impossible.  There is no way the Xoops login block will set the SMF cookie.

Grandnegis

Quote from: Orstio on March 07, 2006, 08:46:12 PM
Quotewhat I want is the xoops login and then the xoops users to be able to go straight into the forums.

Well, then you want the impossible.  There is no way the Xoops login block will set the SMF cookie.


That is what I thought.  crappy, oh well.  Is there a script that I can use to convert SMF users and boards to Xoops?

X-Ception

Quote from: Grandnegis on March 07, 2006, 11:24:29 PM
Quote from: Orstio on March 07, 2006, 08:46:12 PM
Quotewhat I want is the xoops login and then the xoops users to be able to go straight into the forums.

Well, then you want the impossible.  There is no way the Xoops login block will set the SMF cookie.


That is what I thought.  crappy, oh well.  Is there a script that I can use to convert SMF users and boards to Xoops?
Remember, this is still ALPHA software, as well as SMF itself being RC none of the software involved other than xoops itself and consideard final releases, there is time for improvements and coding changes to take place.

But if you are intent on converting your userbase over, the only project i know of that has spoke on this is located here => http://dev.xoops.org/modules/xfmod/project/?smf2xoops

Joolo.net social community and irc network / Yowzar - random subject forum

mass

any way to hide left and right blocks only in board?

glypo

Sorry just a little confused with what was said above. (regarding the different log ins)

Does this bridge require users to register both on Xoops and SMF and then login to Xoops and SMF independently?
Jason Moller

Orstio

QuoteDoes this bridge require users to register both on Xoops and SMF and then login to Xoops and SMF independently?

No.  You can register in either (once) , and login to both.  You just need to use the bridge login block for logging in, not the Xoops default login block.

theslam2006

#147
This thing doesnt work for me.

I uploaded the smf folder to the modules folder, and installed it. I made the block visable to everyone, and I CAN see it when I go to the site...so it IS enabled. But, for some reason, it doesnt work right. I CAN login as admin that was made when xoops was installed...but when I try to use a login for the BOARD, it says Incorrect Login! So, then it sends me back. Then I say I lost my password, typing in the email that I used for my username on the BOARD, yet it says no corresponding user found....

Looks like it doesnt work for me....please help.

Thanks.

EDIT: Oh, and my board IS 1.1RC2, and xoops is 2.0.x

Orstio


theslam2006


Orstio

Oh, I see.  The bridge module must be viewable to guests, not just the login block.

http://thatsaidwhati.com/main/modules/smf/index.php

Guests need to be able to see that.

theslam2006

Ah, alright cool. Thanks, didnt even think about it like that.

One more thing, on the forums, my login name theslamforevryone is an Administrator. But, when I login as that I DO get logged in just only on the forums and some of xoops. Like with that particular name, I dont have admin rights on the portal...im just a regular member.

EDIT: And now that I added module permissions to anonymous for some reason I lost all right to admin panel using the admin account even...

Orstio

It is suggested that when you install SMF and Xoops, you use the same Admin username and password for both.  How do you think the bridge knows that when you login as "theslamforevryone", that you are trying to login as "admin" in Xoops?  The short answer is, it doesn't.  It looks for the same username, and logs you in as that user.  If the user does not exist, and your login details pass, it will insert a new user and log you in as the new user.

theslam2006

erm, ok. was just a question....i dont do bridges and i dont understand 100% how they work, in another words a newbe at this type of work....

now i know and will work with it

Orstio

Didn't mean to be harsh, I just think it's quite obvious that if you want to login as the same user in both, you'd set up the same username/password for both...  ;)

theslam2006

not that obvious though. as i figured it grabbed the info from the DB and used it, knowing that im a admin there...i should be here...sounds reasonable.

although now its messed up because even know I login as admin now, it thinks of me as a guest (i have the "members online block" on). and all i see is the forums (logged in on the forums, but seeing only anonymous stuff on the portal....er its hard to explain. as admin i see everything. but even logged in as admin from the xoops side, i get logged in on the boards as "theslamforevryone" and guest on the portal....if that made any sense.

In short, the portal sees me as a guest no matter what now. I cant login as the PORTAL admin...sooo, it seems im stuck. This is just a test board, so if need be I can remove it to start over...but I dont want this to happen again...is anyone having this much troubles???

Orstio

Logout as "theslamforevryone" before trying to login as anything else in Xoops.  If you're still stuck, then yes, do a reinstall.

The biggest problem with setting up SMF and Xoops with different admin usernames is the resulting confusion.

I'll probably end up doing something similar with Xoops that I did with Joomla -- having some user and group synching options in the Xoops admin panel so that upon installation, the users from SMF can be imported into Xoops with some preset permissions values.

theslam2006

^^Thats what it was. I couldnt think of what it was that "it knew which permissions my name had", it was joomla. And yea, a sync feature would be AWESOME.

Also, I have admin on both the portal AND the board. And the passwords ARE the same...

And yea, I tried to logout of smf then login as admin by xoops...but it just relogs me in as theslam and only available to the board....

Hopefully a reinstall will fix it, but I dont think it will. Have you heard of anyone else complain about this?

And if you want to see for yourself, I can PM you the login info...maybe im doing something wrong like I did before (by not letting anonymous ppl see the forums).

Orstio

QuoteAnd yea, I tried to logout of smf then login as admin by xoops...but it just relogs me in as theslam and only available to the board....

Are you using Firefox with autocomplete turned on?

theslam2006


Advertisement: