Read Me: How To Help Integrate SMF With Your Favorite System

Started by Oldiesmann, May 21, 2004, 02:28:32 PM

Previous topic - Next topic

Oldiesmann

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?

Anguz

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.
Cristián Lávaque http://cristianlavaque.com

chupacabra


Omar Bazavilvazo





Personal Signature:
HablaJapones
http://hablajapones.org
http://hablajapones.org/tutoriales.php


NO me manden PM para soporte o dudas
...Leo los foros como todos...

Oldiesmann

Omar - any particular reason why you're still running Beta 4.1 Public?  :P

toontastic

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.

Oldiesmann


toontastic

I thought he might have been. Does anyone know of any easy way to do it ?

Kraken

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

Oldiesmann

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.

Benny Elgazar


Leipe Po

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
There is only one thing more importend to me then coding:
My Girlfriend

Microsoft - "You've got questions.  We've got dancing paperclips."

uYuSs


catchmeonline

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?

leddyxie

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

hxxp:www.vpvp.net/jm [nonactive]
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.


koopa

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"); ?>
hxxp:www.flydamnit.com [nonactive]

pheadrus

<?php require("/yourforum/SSI.php"); ?>   paste this at frontpage


Daniel15

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 ;)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

arya

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?  

HappyMomAnna

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?
HappyMomAnna
Anna Glendenning,
Writer and Adoptive Mother of Special Needs Siblings.

Advertisement: