SMF SSI.php Functions

Current Version: 1.1

This file is used to demonstrate the capabilities of SSI.php using PHP include functions.
The examples show the include tag, then the results of it. Examples are separated by horizontal rules.


To use SSI.php in your page add at the very top of your page before the <html> tag on line 1:
<?php require("SSI.php"); ?>


Recent Topics Function: <?php ssi_recentTopics(); ?>

[Sign up here] Sign up guide. by GenghisChris October 01, 2009, 12:52:09 PM
[Charter and Legends] Charter by GenghisChris October 01, 2009, 09:43:54 AM
[Charter and Legends] The legend by GenghisChris September 30, 2009, 02:12:30 PM

Recent Posts Function: <?php ssi_recentPosts(); ?>

[Sign up here] Sign up guide. by GenghisChris October 01, 2009, 12:52:09 PM
[Charter and Legends] Charter by GenghisChris October 01, 2009, 09:43:54 AM
[Charter and Legends] The legend by GenghisChris September 30, 2009, 02:12:30 PM

Recent Poll Function: <?php ssi_recentPoll(); ?>


Top Boards Function: <?php ssi_topBoards(); ?>

Board Topics Posts
Charter and Legends New 2 2
Sign up here New 1 1
Public Chat 0 0
Oh Lawd, Spam board! 0 0
Visitors Sign up 0 0

Top Topics by View Function: <?php ssi_topTopicsViews(); ?>

Views Replies
The legend 55 0
Sign up guide. 41 0
Charter 29 0

Top Topics by Replies Function: <?php ssi_topTopicsReplies(); ?>

Views Replies
Charter 29 0
Sign up guide. 41 0
The legend 55 0

Top Poll Function: <?php ssi_topPoll(); ?>


Top Poster Function: <?php ssi_topPoster(); ?>

GenghisChris

Topic's Poll Function: <?php ssi_showPoll($topic); ?>


Latest Member Function: <?php ssi_latestMember(); ?>

Please welcome kevstarino, our newest member.

Board Stats: <?php ssi_boardStats(); ?>

Total Members: 7
Total Posts: 5
Total Topics: 5
Total Categories: 3
Total Boards: 8

Who's Online Function: <?php ssi_whosOnline(); ?>

1 Guest, 0 Users

Log Online Presence + Who's Online Function: <?php ssi_logOnline(); ?>

2 Guests, 0 Users

Welcome Function: <?php ssi_welcome(); ?>

Welcome, Guest. Please login or register.
Did you miss your activation email?

News Function: <?php ssi_news(); ?>

United Kingdoms is up and running!

Board News Function: <?php ssi_boardNews(); ?>

xx Sign up guide.
October 01, 2009, 12:52:09 PM by GenghisChris
If you wish to join the United Kingdoms, you must make a new post and show the following information.

1. Kingdom name
2. Ruler name
3. All current or formerly held alliance memberships, if any
4. All current wars involving the applying kingdom
5. Who referred you to the UK?

You can do this before or after you register on the forums. Once an approved member you will have access to more of the forums.
0 comments

Menubar Function: <?php ssi_menubar(); ?>


Quick Search Function: <?php ssi_quickSearch(); ?>


Login Function: <?php ssi_login(); ?>

 
 

Log Out Function: <?php ssi_logout(); ?>


Today's Birthdays Function: <?php ssi_todaysBirthdays(); ?>


Today's Holidays Function: <?php ssi_todaysHolidays(); ?>

Labor Day

Today's Events Function: <?php ssi_todaysEvents(); ?>


Today's Calendar Function: <?php ssi_todaysCalendar(); ?>

Labor Day

Recent Calendar Events Function: <?php ssi_recentEvents(); ?>


Some notes on usage

All the functions have an output method parameter. This can either be "echo" (the default) or "array".
If it is "echo", the function will act normally - otherwise, it will return an array containing information about the requested task.
For example, it might return a list of topics for ssi_recentTopics.

This functionality can be used to allow you to present the information in any way you wish.


This page took 0.0552 seconds to load.
*ssi_examples.php last modified on 09/8/06