Uutiset:

Join the Facebook Fan Page.

Main Menu
Advertisement:

SMF SDK

Aloittaja rublind, lokakuu 08, 2006, 04:17:06 IP

« edellinen - seuraava »

rublind

I was wondering if anyone has made, or is making an SDK for the board itself (not the packages).

Something similar to http://ipbsdk.sourceforget.net [nofollow].

This would be useful for people who want to integrate whole sites into the forum with users, comments and other junk.  :)

I'm willing to participate with anyone interested in working on this (I just don't have a lot of free time).

Thanks  :D

H

http://www.simplemachines.org/community/ssi_examples.php

There is also SMF API available from tools in the download section.
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

rublind

Both of these things have some good stuff, but neither has exactly what I'm looking for, so I guess I can just modify it to suit my needs.

But thank you. =)

Oldiesmann

SMF 1.1 also has a bunch of built-in integration hooks. Orstio can give you more info on those.
Michael Eshom
Christian Metal Fans

rublind

Does it have the ability to get posts from a specific board? Not necessarily all new topics, but new topics from board A or something...?

Dannii

You can do that with SSI.php.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

rublind

how ? I read it, and it looked like none of the functions take any arguments..

... maybe I'm retarded?

Dannii

Have a read of the source of SSI.php, it explains a lot more. Look at the SSI FAQs as well.. search for them here.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

rublind

Oh, I just read what was on that one page, I didn't read the source of the thing, maybe that would be a wise idea....

... thanks. =)

Thantos

One of the things we are working (slowly) on is basically making the SMF source a giant API.  So that once you include SSI all you'll have to do is include the file that handles that particular piece and call some function.

rublind

Which would be awesome. =]

Thantos

You should have seen me when I found out about createPost() in SMF 1.1.  I thought I was going to cry :P

rublind

#12
O_O no way...


... hey, how do I use SSI.php to only get the topics from a specific board? I've been modifying SSI.php and change NOT IN $exclude_boards to IN $exclude_boards, but it still gets topics from other boards, me no likey.

[EDIT]
Nevermind. I'm retarded, it works right. =]

[EDIT2]

Okay, no it doesn't. It only works until you view the board, then it disappears, how do I stop that? I want it to just get the ten newest topics from board 2, and display some simple info...

Advertisement: