Jump to content
xisto Community
Sign in to follow this  
maddog39

Using Ssi.php W/ Ipbv2.0.x Learn how to intergrate your IPBv2.0.x

Recommended Posts

Hello all,

 

Recently I have firgured out how to intergrate Invision Power Board v2.0.x or in my case 2.0.3 into your website or just some kind of php page. Now here are the instructions.

 

INSTRUCTIONS

NOTE: FILES ARE ATTACHED TO POST!!!

First open your IPB folder with all the files. Go into Tools_and_Scripts. Find ssi.php and take it out, put it on your desktop or some where easy to reach for when you upload it. Then find the folder ssi_templates and take that out also. Open up your FTP client and upload them both to your forum ROOT directory. Where index.php is. Then your done with the installation. Now to use it there are several things you can do.

 

1.) Show a certain number of news articles.

2.) Show forum stats.

3.) Show who is online.

4.) RSS/XML "Syndication"

 

To do number one use the following code in a PHP page...

include("http://domain.com/forums/ssi.php?a=news&show=10");
You may change 10 to however many news articles you want to show.

 

To do number two use the following code in a PHP page...

include("http://domain.com/forums/ssi.php?a=stats");

To do number three use the following code in a PHP page...

include("http://domain.com/forums/ssi.php?a=active");

To do number four use the following URLs but change them to your website...

RSS: http://domain.com/forums/ssi.php?a=out&f=1,2,3,4,5&show=10&type=rssXML: http://domain.com/forums/ssi.php?a=out&f=1,2,3,4,5&show=10&type=xml

A not from in ssi.php about XML/RSS Syndication...

Will show last 10 topics in reverse chronological last post date order from

all the forums in the comma separated list

 


Source: Lines 25 to 62 in ssi.php

Enjoy Guys! :)

 

Files for this tutorial...


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.