There have been tons of requests about integrating SMF with various portals/CMS systems, which is great. The developers would love nothing more than to be able to integrate SMF with as many of these systems as possible. Here's how you can help:
Before you post, do a search and make sure there aren't a ton of other threads about integrating the system you want to use with SMF.
If you don't find anything, then go ahead and start a new topic. Please remember to include a link to the system's website when posting so that the developers don't have to hunt it down...
Now, you obviously know to post here. However, there's one thing you probably haven't thought of. Take it up with the system's developers as well.
If the system has a forum on their site, post there explaining that you will only use their system if you can use SMF with it, and that you really don't have enough time to figure out how to do it yourself (even if that's not true - we're trying to make a point here ;)). Come up with as many reasons as possible as to why SMF is better than the forum that's included with their system. Mention that SMF has 30 SSI functions that let you easily integrate SMF with your website even if you aren't that familiar with the system.
Finally, remember to point them to http://www.simplemachines.org and http://www.simplemachines.org/community/ssi_examples.php and mention that the developers and project managers here will gladly answer any questions they may have (including any licensing issues).
If the system's developers refuse or give you any grief about it, tell them that if they aren't interested, then you're not interested in using their system and you'll tell the SMF developers not to bother working on integrating SMF with their system since they don't want it. ;)
Hope this gives you some ideas. If you have any questions or would like to add your own 2 cents worth, feel free to post them in this thread.
EDIT: Oh yeah... Can someone sticky this for me?
I think it's correct to approach the portal's devs to see what can be done on that side, I don't know if I'd use a jerk attitude though. :)
They should also mention the new SMF API that [Unknown] made available to facilitate SMF's integration to other scripts.
awesome thing you got here http://www.simplemachines.org/community/ssi_examples.php
It's simple to make a portal this way, 10 mins or work :) :)
yup, http://hablajapones.org/ is made with only ssi :)
Omar - any particular reason why you're still running Beta 4.1 Public? :P
Quote from: Omar Bazavilvazo on February 07, 2005, 10:20:57 AM
yup, http://hablajapones.org/ is made with only ssi :)
Just wondering what you used to pull the gallery and what gallery do you use ? I'm using coppermine and basically want to have a random picture on the front page of my site.
He's also using Coppermine apparently.
I thought he might have been. Does anyone know of any easy way to do it ?
I am trying to make a custom portal with ssi.
Can anyone tell me how can i change the <?php ssi_boardNews(); ?>
so i can "import" news from another forum (i thing it takes posts from forum id 1 ?) and how can i have the forum in portal's center and menu always left (like here for example).
Thanks in advance
Just add the board ID in there. By default it takes news from all boards. If you want news from board 1, then use <?php ssi_boardNews('1'); ?>
Don't know what to tell you about the menu.
SSI is very good on SMF!
well ife did tons of experiments on my localhost intergrating complete systems in the smf "core" , but the licence clearly says i'm not allowed to distribute smf, its stops there then... to bad though.... cause i like to do that kinda stuff, maybe some people blame me for advertising, but ife just started a website all about intergrating smf, plus support, although it isnt mutch now, the next week i have more time on my hand to do some more work,
here is a link:
http://www.smf-apps.org/
as you can see its completly intergrated, it uses dibert theme by harzem, even got multi color working
we still need some people to help out if interested, but if you only register to show your support, i would be verry happy~!!!,
Thank you, Leipe_Po
powered by ssi ehue www.istanbulriders.com ;D
Ok. so joomla has released a 1.1.11
so if i do a fresh install of joomla 1.1.11 and SMF RC3. is there a bridge that will work for these two scripts togehter?
Quote from: Oldiesmann on May 21, 2004, 02:28:32 PM
Dear Sir:
help me please!
the wrapped windows are not fit on the right size after integrated
Http://www.vpvp.net/jm
joomla 1.1
smf 1.11
bridge:1.16 ----> smf_1-1_joomla_1-1-6_bridge
would you please tell me why? and how can i repair this?
thank you.
Im using wordpress for my front page and my SMF is at the foder "/home/flydamni/public_html/forum/". I tried pasting the <?php require("SSI.php"); ?> at my wordpress on the top of the <html> and it failed. This is what happened. I know this should be simple, but i dont know where did i go wrong?
Warning: main(SSI.php) [function.main]: failed to open stream: No such file or directory in /home/flydamni/public_html/wp-content/themes/chaoticsoul-10/header.php on line 1
Warning: main(SSI.php) [function.main]: failed to open stream: No such file or directory in /home/flydamni/public_html/wp-content/themes/chaoticsoul-10/header.php on line 1
Fatal error: main() [function.require]: Failed opening required 'SSI.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:.:.:.:.') in /home/flydamni/public_html/wp-content/themes/chaoticsoul-10/header.php on line 1
1st question. Where should i paste the <?php require("SSI.php"); ?> ? In the forum, or at my front page. Since they are both at diff folder.
2nd question. Will it work if both are placed at diff folder? Am i suppose to change the <?php require("SSI.php"); ?> to <?php require("forum/SSI.php"); ?>
<?php require("/yourforum/SSI.php"); ?> paste this at frontpage
Quote2nd question. Will it work if both are placed at diff folder? Am i suppose to change the <?php require("SSI.php"); ?> to <?php require("forum/SSI.php"); ?>
Yeah, it will work fine. It's usually best to use the full path:
<?php require('/home/flydamni/public_html/forum/SSI.php'); ?>
Note that SMF and WordPress both have an is_admin function, so you'll need to remove SMF's (it isn't used any more). Open Sources/Security.php, and find:
// Grudge chickens out and puts this in for combatibility. This will be ripped out on day one for SMF 1.2 though ;)
function is_admin()
{
isAllowedTo('admin_forum');
}
Delete it, and you should have no problems ;)
I use a cms which allows integration with smf. following is the code which checks smf table for and validates the user. However this code doesnt log in the user. The login form is contained within the cms. I do not have more details on how it works. It is part of some protected code which the developer has been kind enough to give me.
if ($user_system == "smf") {
$username = $_POST[username];
$password = $_POST[password];
$username_fixed = mysql_real_escape_string($username);
$password_fixed = mysql_real_escape_string($password);
$fullmd5 = sha1(strtolower($username_fixed) . $password_fixed);
$sql = mysql_query("SELECT * FROM $user_system_usertable WHERE memberName='$username_fixed' AND passwd='$fullmd5'");
$logincheck = mysql_num_rows($sql);
while ($row = mysql_fetch_assoc($sql)) {
**LOGIN USER TO CMS **
**SET CMS COOKIES**
}
}
Is it possible in some way to write the smf cookie writing procedure along with cms login code?
Please forgive me if this is a silly question because, I am only guessing here.... I am assuming that a Bridge might be the exact thing I have been thinking I need.
or I hope it is....
Is the bridge what would make it possible for my members to have one "log in" that will work for both the front page Mamabo (for leaving comments on blogs) and Log In to the SMF Forum?
QuoteIs the bridge what would make it possible for my members to have one "log in" that will work for both the front page Mamabo (for leaving comments on blogs) and Log In to the SMF Forum?
Yes, that's exactly what a bridge is - It "bridges" the two scripts, allowing them to share the same userbase.
As far as I know, there's an official bridge for Mambo available in the downloads section on this site :).
Hi, I recently bridged SMF and Efiction, but when i log in it takes me to the forum, i would like to redirect it back to my Efiction page as this is my homepage, can anyone help me?
I have searched everywhere, found solutions for others such as mambo, xoops etc but not Efiction.
Can someone please help me its driving me crazy trying to figure it out :(
Is no one answering because this can't be done??
:(
If it can't be done could someone please please let me know so I stop spending so much time trying to figure it out, and I will then just have to scrap SMF from my website altogether.
Quote from: arya on February 19, 2007, 02:50:38 AM
I use a cms which allows integration with smf. following is the code which checks smf table for and validates the user. However this code doesnt log in the user. The login form is contained within the cms. I do not have more details on how it works. It is part of some protected code which the developer has been kind enough to give me.
if ($user_system == "smf") {
$username = $_POST[username];
$password = $_POST[password];
$username_fixed = mysql_real_escape_string($username);
$password_fixed = mysql_real_escape_string($password);
$fullmd5 = sha1(strtolower($username_fixed) . $password_fixed);
$sql = mysql_query("SELECT * FROM $user_system_usertable WHERE memberName='$username_fixed' AND passwd='$fullmd5'");
$logincheck = mysql_num_rows($sql);
while ($row = mysql_fetch_assoc($sql)) {
**LOGIN USER TO CMS **
**SET CMS COOKIES**
}
}
Is it possible in some way to write the smf cookie writing procedure along with cms login code?
You can use SMF's setLoginCookie() function.
Can we integrate word press with SMF??
pp
www.hugeh.com
Search the wordpress site. I believe someone already made a wordpress bridge. However, there won't be an official bridge from us because of licensing conflicts (similar to Joomla - GPL with on exceptions)
I have been looking for a SMF/phpnuke bridge. I DO not want to have to use SMF-nuke, as it limits you to only SMF themes. I know that there have been MANY questions about this all over the place, but no one seems to have one. Any help guys??
I'd recommend staying away from PHP-Nuke altogether. It's bloated and has a history of security problems.
I'm looking to do something with SMF that I guess falls under the heading of a "portal". I am building a site with a password-controlled access, whose Home Page will then link to SMF (for discussions), a Wiki (for "fixed" information reference), and (future) possibly a gallery. I want 1) to keep outsiders off of all parts of the site, and 2) to have a single account name and password to sign on with. I'm not particularly looking (at this point), to seamlessly integrate the applications (such as SMF) into a common "look and feel". Maybe later with that, but for now, all the applications can have their own look and feel.
At the moment, the choice is either a password-protected directory tree or a homebrew sign-in form. I'm assuming that SMF can be adequately locked down so that "guests" can't see or post anything without being logged in (and I'll have to see about the Wiki and gallery). The question is how to get the account name (and password, if needed) from the initial sign-on to SMF and other applications. In other words, to tell SMF that "this is user X, they're already signed on so don't ask them for a name and password". Does user X also exist in the SMF user database? If so, can they be added by bridge or portal function calls? Presumably I can directly update the SMF (and Wiki) user databases to add and delete users, but it would be nicer if there's an official way to do it.
Is there portal code that already handles all this? TinyPortal? Does it easily let me pull in non-SMF applications? For another site, I'm thinking about SMF and a shopping cart, and would like a sign-on to either one to also sign on to the other. This is a bit different than a "portal" (?) where you enter through sign-on to a common parent page -- this is more "peer-to-peer". Can this also be handled by the same mechanism? Thanks for any info and suggestions!
Here's a question. My app has its own registration system, and I plan to set it to validate new registrations via email. Of course, I'll have SMF validate registrations via email also. So let's say someone registers via my app, and my app sends out an email, and the user clicks the link and validates the registration. At that point, I can register the user with SMF using SMF_api. Is there a way to tell SMF not to send out a second email to validate the person?
MrPhil - There are lots of possibilities for you. I'm using Sphinx, Gallery2 and Mediawiki on my site, but there are several other portals, galleries and wikis that can be used as well.
Thanks, Michael. Are Sphinx, Gallery2, and Mediawiki all peer applications, or is one of them a portal? Is there a mechanism to share sign-ins among the three of them? I want to (site 1) have a portal or gateway that forces a visitor to sign in, and then permits them into the peer applications (SMF and a Wiki, hidden from outside view); and (site 2) have a sign-in from any peer application (SMF and eStore) work for any other application (guests are free to browse, but only members can post or buy).
Howdy! I have SMF and WikkaWiki (http://wikkawiki.org/HomePage) on a site, I am going to try to integrate them so as to use the SMF user registration, login and user managment.
There is a page on the wikka site, Wikka with Simple Machines (http://wikkawiki.org/WikkaWithSMF?show_comments=1#comments), but it is old and only addresses logging in to both. I tried it but it does not seem to do even that, I believe it was for an older Wikka version.
Ideally I could just change Wikka to look at the DB existing for SMF, and redirecting users to the SMF reg/login page... but Wikka requires usernames in CamelCase, so I don't know if that will be a problem.
Quote from: MrPhil on December 23, 2007, 01:12:43 PMIs there a mechanism to share sign-ins among the three of them? I want to (site 1) have a portal or gateway that forces a visitor to sign in, and then permits them into the peer applications (SMF and a Wiki, hidden from outside view); and (site 2) have a sign-in from any peer application (SMF and eStore) work for any other application (guests are free to browse, but only members can post or buy).
I'm looking for exactly the same thing. It's a shame that at this point in the evolution of so many tools that more hasn't been done to create a simple universal login where all of these packages just call to one common routine to authenticate against one common database. As it is, every package does the exact same thing some completely different way with data stored in different places.
Personal integration aspirations: SMF, WordPress, MediaWiki, Mantis Bug Tracker.
I can probably use Joomla, some Ecommerce package like ZenCart, and Gallery.
Am I able to use a phpbb portal with my smf forum?
no... phpbb and smf use completely different coding and database structure...
Is there a list of successful (and reuseable) integration methods? I'm doing a search for a WordPress integration, and all I'm seeing is complaints about the integration not working - that's on page 1 of 82 search results. There's got to be a better way to collect portal info that that!
QT
Here's another way of looking at it, that I may have asked awkwardly on another site, but what if I asked the "portal" question backwards? Rather than "How do I integrate this with XYZ CMS thingy" what if I asked the new question:
"I make SMF my new 'religion' and let them tell me which blog to use?"
Is there an SMF recommended, developed and supported plug-in PORTAL that at least gives me a blog as a home page? 8)
no...
there are several blog plugins (felBlog, zCommuntity and maybe some others)
There are several portal plugins (FelPortal, EZPortal, TinyPortal)
there are also several bridges to CMS system like mambo, and a few others which have their own links to blogs and other systems.
It's funny how much one's perspective can change in a short period of time. One of the main reasons I wanted "integration" was to save managing another software package, and then the "bridge" between the 2. I just wanted the whole thing to be easy and "plug-in" and I can understand that there's a place for that.
But then another thought occurred. Once integrated, are the 2 databases completely mixed up so that converting either of them to other software in the future would be impossible?
I'm not just making a personal preference choice here, but am thinking of the future of what could become a very large activist group that might even "Associate" in the future. So if the 2 databases of blog/web files and forum files became inseparable and "locked in" to whatever SMF + TP combination I came up with, they might regret it later on? Is that how the databases work? Sorry, I know nothing about databases really except that you need to know their names when installing. ;D
Quote from: eclipsenow on January 25, 2009, 07:01:32 AM
Once integrated, are the 2 databases completely mixed up so that converting either of them to other software in the future would be impossible?
Only if one or more of the products is from Microsoft. Then you definitely
will be locked in. As for open-source products, it may not be easy, but it will always be possible to untangle two applications from each other. This may take enough work to be not worth the effort to you, but someone more familiar with the specific products you have in mind might be able to talk to that point.
Thanks, I think that settles it then. We'll probably have Wordpress as our blog/website to present "summary articles", and simply close the comments section. Each blog article will have a "discuss this article" link to a forum thread anyway. So while our forum might end up with thousands of people discussing Australia's political future, we already have a handful of "leaders" who are authors & Phd's in the field, and so only they will require accounts and authority to post articles in the blog. It's not worth the effort to combine them.
Visually, I think I'll just try and keep a similar logo on the header and then I think we're done. Thanks for your help in clarifying this for me.
Was there a reply to this thread that got deleted? A spam attack or something? Because I was "Notified" but there was nothing new....?
Anyway, after reading all the RC1 mod-incompatibility stories out there, I'm more determined than ever to keep SMF as Vanilla as possible, and maybe use Joomla / Wordpress / Drupal for my other CMS's.... and MAYBE install an RSS display window on my CMS of the latest threads in my SMF forum. Keeping the 2 apart seems just so worth it! There are all these forum owners itching to upgrade to RC1 but can't until their portal/ essential mod/whatever is also upgraded. I'm just left wondering why they didn't keep their systems separate? Have a CMS running finance stuff, or other functions, etc? Anyway, each to their own I guess.