|
|
|
|
![]() ![]() |
Mar 26 2005, 08:23 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 208 Joined: 27-January 05 From: LI, New York Member No.: 3,448 |
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... CODE 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... CODE include("http://domain.com/forums/ssi.php?a=stats"); To do number three use the following code in a PHP page... CODE include("http://domain.com/forums/ssi.php?a=active"); To do number four use the following URLs but change them to your website... CODE RSS: http://domain.com/forums/ssi.php?a=out&f=1,2,3,4,5&show=10&type=rss XML: 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... QUOTE 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... |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 28th August 2008 - 11:00 AM |