News:

SMF 2.1.5 has been released! Take it for a spin! Read more.

Main Menu

Mambo Open Source

Started by Sreya, February 24, 2004, 01:40:26 AM

Previous topic - Next topic

DAB Empire

#400
I believe so.  Possibly not then.  :-(  Do you have a link to the latest download?

In regards to the redirect, if you go to the Parameters of the login module you can specify where the user is directed to upon login.

Kindred

Wow... cool... Orstio added that.
I'll have to test it out a bit myself...


v2.04 can be acquired on Mambo Forge Z(www.mamboforge.net)
I'm not sure of the exact link, but you'll get ther eis you search for SMF
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Thurnok

Well... I have to admit I just read this thread.  I had no idea this thread was even here before trying my hands at setting up MOS-SMF bridge 2.04beta.  Man! this is a lonnnnng thread.  ;)

My experience was 2 fold...

First, I do not use mos_ as my table prefix so I had to modify all the hardcoded table prefixes (there are relatively easy ways to not hardcode the table prefix for Mambo).  Hopefully the next rendition of this mod will not use hardcoded table prefixes for those of us that have multisites.

Second, I did not have any of the font/css style issues discussed in this thread at all.  I did however find that the mod_smf only logged me into SMF and not Mambo.  And the registration function failed for me as well.  It worked to the point of sending the actual registration confirmation link to the appropriate email address, but after using the link (and seeing the confirmation acceptance message on the webpage) when trying to log in as that user, it told me that I needed to do the confirmation still.

I'm using Mambo 4.5.1 and used the com_smf from the appropriate 4.5.1 directory from the MOS-SMF bridge zip file.  I installed each item in the appropriate order as stated in the readme.txt and followed the readme.txt for each piece as explained.  I modified my Mambo template to include the require statement in the <head> section of my template, put the MOS_SMF file in my Sources dir, modified the index.english.php in the SMF template as instructed (for the registration link info) as well as the index.template.php as instructed (for the mambo_login / logout actions) and still it did not work on my system.

I'm not sure where this issue is or whether it is also the reason I did not have the CSS issues others have had.  Frankly, I'm not concerned with SMF being displayed in the Content area of a Mambo template at all.  All I really want is the integration to be of such that my users register in one place, and it registers them on both Mambo and SMF, and when they login / logout it logs them in/out of both Mambo and SMF.  I would prefer having to have a link_url (not a component) on my Mambo menu where I can just have SMF open in a new browser window anyway.  Which is what I do now on one site, on the other I use the Mambo Wrapper and contrary to the info mentioned in a few places, it works just fine in the Mambo Wrapper.  But my users still have to register seperately and log in/out seperately.  :(

Sorry if I missed something in this 27 page thread.. heh...  plus I'm on drugs! 

Note about the Link_URL vice Componet (menu selection setting in Mambo).  If you set to component, those of us that love Tabbed browsing find out that opening your SMF in a new tab from the Mambo menu doesn't open just SMF in the new tab, it opens your whole site (in other words, useless).  Same goes for opening it in a new window.  However if you use Link_URL you can open just SMF in the new Tab / Window.
(I use Mozilla of course)

I saw those early posts about the Mambo bickering, and the vBully switch on Mambo Forge.   Guess that just happens... I've got numerous phpBB forums running on numerous sites, some on PostNuke, others custom websites.  But I really like Mambo's administrative features (their ease of use) as opposed to PostNuke.  So I now have 2 Mambo sites and 2 SMF sites.. now if I can just get that bridge working... hehe
To climb a rock, you must first move your feet!
~ Thurnok


Visit my TinyPortal Blocks site for more of my blocks - Thurnok's TP Blocks [nofollow]

Orstio


DAB Empire

Quote from: kindred on November 19, 2004, 05:36:15 PM
Take these in reverse order:

Are you running v2.04 of the bridge?
because 2.04 solved #4 for certain...  (except in Firefox)

Not sure what you mean by that...  redirect to where?   It usually just reloads whatever page you were on before logging in/out. Are you trying to do something different?

Thread counts are correct on my system...

Mambo shows you logged in for about 5-10 minutes...    BUT, you are not actually... you are deifnitely logged out of Mambo. (because when I log out, although it shows me as being present, I can not access any of the reg-user-only menus)


Upgraded to the latest version of the component and still having issues with 1, 3 and 4 from above.   :(  Is there a fix for voting on polls not working too?

Kindred

Orstio informs us that the voting in Polls should be fixed by the 1.0 full release that Charter members are viewing as preview release right now...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Orstio

QuoteUpgraded to the latest version of the component and still having issues with 1, 3 and 4 from above.     Is there a fix for voting on polls not working too?

Quote1.  When you logout it only logs you out of SMF.  Mambo still shows you logged into Mambo.

I believe you have a corrupt session cookie.  Do the following:  Close all browser windows.  Go to your cookies folder with Windows Explorer and delete any cookies with your domain in them.  Clearing the cookies from the browser does not always work, and if you leave a browser window open it will definitely not work.

The reason I say this, is because I just registered at your site, logged in, saw the user menu, then logged out, and the user menu was gone.  So, I was definitely logged in, then logged out, of both Mambo and SMF.

Quote2.  Thread Views are counted incorrectly.  They count in increments of three.  I am assuming this is because of how it loads the forums wrapped.

The bridge does absolutely nothing to the stats.  Are you sure you didn't make any other changes that may have affected that?  Perhaps you have some type of caching that you don't see the thread count going up right away?

Quote3.  The options to redirect a user upon login/logout in the Module settings do not work

I haven't really added that as an "option" as of yet.  If you look in MOS_SMF.php, you will see a line that looks like this:

    $_SESSION['login_url'] = $mosConfig_live_site;

Instead of $mosConfig_live_site, you can use whatever URL you wish, and upon logging in, that's where people will be directed.  There is a line near the end of the same file for the redirect upon logging out.

How would people feel if I made this part of the configuration?  I have installed a user-friendly backend administration for the next version (no more editing config.smf.php ;) ), so this can be added fairly easily.

Quote4.  A lot of my users access the forums directly and will not be getting to the forums through the bridged component.  With the component installed, if a user accesses the forums directly the logon form at the top does not work.  Example. Go to http://www.eliterides.com and logon through the right module using user: "test" and pass "test". Works great. Now try and go to http://www.eliterides.com/forums and login through the form at the top of the forums. It doesn't work. I updated the index template file login links. Did I miss one?

Some users have been experiencing this, and I have an idea what it is, but not exactly sure how to fix it.  It has to do with the URL being passed to set the cookie.



DAB Empire

Thanks for the replies!

Quote from: Orstio on November 20, 2004, 04:35:58 PM
2.  Thread Views are counted incorrectly.  They count in increments of three.  I am assuming this is because of how it loads the forums wrapped.

This is the only one I am still stuck on.  Does it have anything to do with how the forums are wrapped that it loads/reloads and could be counted?  I'm wondering if it might be something specific to one site (ER), because my other two don't have the problem.

Thanks again!

ryanbsoftware

ok being too lazy to read all 28 pages here, can i intergrate smf into mambo?  if not can it intergreate into any other CMS?

Kindred

EliteRides,

What module are you talking about for the thread counts problem?    Is this form one of the additional modules that Orstio included in the package? (like latest news or something?)

If that's it, there is something different with your setup.  I used the module and it properly reports the post and view counts for my 5 most recent threads.

Ryan,
yes, you can be worked into Mambo...   however, do a quick read of this (and the other) threads for explanations if you have any problems...

Orstio... I've been playing around a little bit.
One thing I'd like to see your bridge do is expand the user table in Mambo, so that alot of the SMF profile data is included in Mambo (and hence the registration process).
Specifically,  I added:


ALTER TABLE `mos_users`
  ADD `gender` tinyint(4) unsigned NOT NULL default '0',
  ADD `birthdate` date NOT NULL default '0000-00-00',
  ADD `websiteTitle` tinytext NOT NULL,
  ADD `websiteUrl` tinytext NOT NULL,
  ADD `location` tinytext NOT NULL,
  ADD `ICQ` tinytext NOT NULL,
  ADD `AIM` varchar(16) NOT NULL default '',
  ADD `YIM` varchar(32) NOT NULL default '',
  ADD `MSN` tinytext NOT NULL;


Now, I'm not so up on php code... but after doing the database add, I figure I need to include these fields as text boxes and drop downs or radio buttons in the Register php file in Mambo (which your smf_registration calls, correct?) I'm just not certain how to go about doing that.

Two other features I'd like to eventually see...
Merging the PM system in SMF into Mambo as well (maybe calling the component, PMS II so whoever does it doens't have to rewrite all the code?   I don't know if that will work) I think this may be an important feature of the bridge...


and possibly merging the shoutbox mod...    on the other hand, the Mambo shoutbox may just replace the mod that is in SMF... (in other word, don't use the SMF mod, use the native amambo component)

--Kindred
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Orstio

Quoteok being too lazy to read all 28 pages here, can i intergrate smf into mambo?  if not can it intergreate into any other CMS?

You can, but I'm going to suggest that if you haven't, wait for a couple of weeks for the next version.  It will have the following:

- Mambo backend editing of the bridge configuration.  No more editing of config.smf.php.
- The "Discuss This" mambot for your content items.
- There is a bug for certain server configurations that a few people have reported concerning members being created in SMF, and in the Mambo front end, but not in Mambo's backend.  This is fixed.
- Registration agreement with a check box to assure that people agree to the terms upon registration.

Orstio

QuoteOrstio... I've been playing around a little bit.
One thing I'd like to see your bridge do is expand the user table in Mambo, so that alot of the SMF profile data is included in Mambo (and hence the registration process).
Specifically,  I added:

Copy to clipboardCode:
ALTER TABLE `mos_users`
  ADD `gender` tinyint(4) unsigned NOT NULL default '0',
  ADD `birthdate` date NOT NULL default '0000-00-00',
  ADD `websiteTitle` tinytext NOT NULL,
  ADD `websiteUrl` tinytext NOT NULL,
  ADD `location` tinytext NOT NULL,
  ADD `ICQ` tinytext NOT NULL,
  ADD `AIM` varchar(16) NOT NULL default '',
  ADD `YIM` varchar(32) NOT NULL default '',
  ADD `MSN` tinytext NOT NULL;

Now, I'm not so up on php code... but after doing the database add, I figure I need to include these fields as text boxes and drop downs or radio buttons in the Register php file in Mambo (which your smf_registration calls, correct?) I'm just not certain how to go about doing that.

There is somebody working on adding the profile editing stuff to the bridge. 

You can add fields to smf_registration.html.php as HTML, and return the variables as part of the form to smf_registration.php as the other variables are.  That's how I added the agreement checkbox.

You can also look into a Mambo mod called Users XTD, or something like thats.  It lets you add custom fields to the users table.

QuoteMerging the PM system in SMF into Mambo as well (maybe calling the component, PMS II so whoever does it doens't have to rewrite all the code?   I don't know if that will work) I think this may be an important feature of the bridge...

I think a separate Mambo PM system can be written to read solely from the SMF IMs.  That way, there does not have to be redundant data.

Quoteand possibly merging the shoutbox mod...    on the other hand, the Mambo shoutbox may just replace the mod that is in SMF... (in other word, don't use the SMF mod, use the native amambo component)

Can someone explain to me the purpose of a shoutbox?  I have never seen any use for this that cannot be accomplished with a forum or chat room. ???

Kindred

Shoutbox is a great way to quickly list a one line message to someone, or everyone.

If restricted to only Admins, it allows an instant message to all users online at the moment.... rather than sending a PM to everyone, it just displays the message to all users in whatever place the Admin has placed the shoutbox.

At least that's how I use it. The people who have shoutbox available to everyone... I'm not exactly certain. :)

BTW: Userlist Extended doesn't actually modify the user table... it adds a seperate table that is also called seperately from the user profile.
(Userlist XTD shows a list of the users with extra information)

Quote
This component extends the core mambo user registration system by providing 15 extra customizable text fields. The labels of the fields can be set in admin backend. (4.5.0 Addon User Extended by Phil Taylor => switched to an installable component!)

but, they're all text fields (no choice fields) anfd they're not displayed or part of the standard user profile.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Varment

QuoteQuote
ok being too lazy to read all 28 pages here, can i intergrate smf into mambo?  if not can it intergreate into any other CMS?

You can, but I'm going to suggest that if you haven't, wait for a couple of weeks for the next version.  It will have the following:

- Mambo backend editing of the bridge configuration.  No more editing of config.smf.php.
- The "Discuss This" mambot for your content items.
- There is a bug for certain server configurations that a few people have reported concerning members being created in SMF, and in the Mambo front end, but not in Mambo's backend.  This is fixed.
- Registration agreement with a check box to assure that people agree to the terms upon registration.

Thanks for the heads up. I was getting ready to install Mambo with my new SMF install.

Dylan Malone

#415
Quote from: Orstio on November 20, 2004, 11:33:01 PM
There is somebody working on adding the profile editing stuff to the bridge. 

You can add fields to smf_registration.html.php as HTML, and return the variables as part of the form to smf_registration.php as the other variables are.  That's how I added the agreement checkbox.

You can also look into a Mambo mod called Users XTD, or something like thats.  It lets you add custom fields to the users table.

This is a very interesting thought.  I've been wringing my hands with how to deal with volunteers and donors on our political website that uses Mambo and SMF.  Ideally, registration on our site should include a series of 6-10 check boxes labeled: "Are you willing to volunteer to help?  If so, check the ways you want to get involved?" and the boxes would be called:  Phone Banking, Fundraising, Web Development, etc.., etc.

I'm not sure if it's something we can pull off or not (this feature isn't needed until early next year, so I have time to wrestle with it).  It would be great to have the Forum profiles reflect this additional info, and have it available to Mambo modules and components as well.... hmm.  If anyone creates this functionality, let me know!

Quote
Can someone explain to me the purpose of a shoutbox?  I have never seen any use for this that cannot be accomplished with a forum or chat room. ???

I agree with Orstio, and besides, what's to integrate-- a shoutbox is just a scrolling text block right?  Wouldn't the standard Mambo shoutboxes work fine?

idigital

I think the Community Builder profiler would be a better solution than Userlist XTD for adding extra fields to integrate/extend SMF in a Mambo environment. I'm planning to use it on the site I'm working on, although I haven't really had time to look into it yet. When I do work something out I'll post my discoveries here and on the Mambo official forums. I know the developer of CB, and also another dev who has done extensive custom work on it for a "social networking" based site, so we may be able to come up with something special ;)

http://mamboforge.net/projects/userextras/

Also, there's some guys that were working on an SMF bridge and CB component, but now it seems they are working towards extending the profiling of SMF itself:

http://pestilence.insert.gr/

At the moment they're using SimpleBoard for their support forums while they work on it ;)

I have been holding out for the final component from JZ/Whiterabbit, as that seemed to have a lot of potential. I believe it even integrated the SMF administration into the Mambo backend. That project seems to be on hold now, the creator appears to have vanished, which is a shame.

Now I'm using Orstio's excellent bridge component, he's been a great help in getting the bridge to work with seperate db's.

I'm going to be doing a very customised theme for SMF so that it works seamlessly in our site, including making it appear as if there are seperate boards for the seperate sections of the site, with template assignment so that the SMF theme changes with the different sections. We're using six different mambo templates on the site, and if all goes well this will be a great showcase of what Mambo and SMF can do.

We'll also be promoting SMF as a great forum solution, although whether that is through a page dedicated to it in our credits section, or simply the copyright footer... We're waiting on an official response to that.

Either way, no problem, it's just an aesthetic thing.

Anyway, I'll get back to this custom template now, in a few weeks time I may be releasing CB/SMF extensions for Mambo sites to make adding some new features a lot easier ;)

Cheers,

Damian

pestilence

Hi all i was away for a week for holidays in the beautiful Paris (anyone from there?) i am now back and with more energy to work on the SMF component (damn i need to refresh my hacks) i will be posting soon on the development of SMF-mambo component :)
hxxp:pestilence.insert.gr [nonactive] =-= Evolution v1

clicker

I must apologise before hand if I missed the answer in this long thread.

I am trying to install the 2.0.4 bridge with MOS 4.5.1a and SMF Preview1.

I followed all instructions but I get
Login Form

Warning: Supplied argument is not a valid MySQL-Link resource in /home/sites/site19/web/forum2/Sources/Subs.php on line 232

Warning: Supplied argument is not a valid MySQL result resource in /home/sites/site19/web/forum2/Sources/Load.php on line 107

Warning: Supplied argument is not a valid MySQL result resource in /home/sites/site19/web/forum2/Sources/Load.php on line 109

Warning: Supplied argument is not a valid MySQL-Link resource in /home/sites/site19/web/forum2/Sources/Subs.php on line 232

Warning: Supplied argument is not a valid MySQL result resource in /home/sites/site19/web/forum2/Sources/Load.php on line 740

Warning: Supplied argument is not a valid MySQL result resource in /home/sites/site19/web/forum2/Sources/Load.php on line 750

Warning: First argument to array_unshift() needs to be an array in /home/sites/site19/web/forum2/Sources/Load.php on line 819
index


I doubled checked the path in config.smf.php to be correct. I uplodaded MOS_SMF.php to sources.
I included the code in the mambo templates right before the /<head> tag.
All tables are in the same database.

gzip and everything else is as it should be.

When I select to edit the confiig from the Mambo Components menu nothing happens.

I have populated SMF  with the data from a phpBB it will replace. No users in Mambo, except the admin from the installation.


Any  ideas please?






Orstio

I haven't done anything with SMF preview yet.

Advertisement: