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(); ?>

[Community Rules] Posting in Music & Video Exchange by Kay August 04, 2009, 01:28:33 PM
[Community Rules] General Rules by Kay August 04, 2009, 01:27:19 PM

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

[Community Rules] Posting in Music & Video Exchange by Kay August 04, 2009, 01:28:33 PM
[Community Rules] General Rules by Kay August 04, 2009, 01:27:19 PM

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


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

Board Topics Posts
Community Rules New 2 2

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

Views Replies
Posting in Music & Video Exchange 122 0
General Rules 33 0

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

Views Replies
General Rules 33 0
Posting in Music & Video Exchange 122 0

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


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

Kay

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


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

Please welcome Ana Monnar, our newest member.

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

Total Members: 2
Total Posts: 2
Total Topics: 2
Total Categories: 1
Total Boards: 1

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

1 Guest, 0 Users

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

1 Guest, 0 Users

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

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

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

Welcome to IntoBackstreet.Com

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

xx Posting in Music & Video Exchange
August 04, 2009, 01:28:33 PM by Kay
This section is just for sharing files, so please do not place your requests here. Please place all requests in the Music & Video Exchange Requests section of the forum. Any requests posted here will be locked.

This section is for sharing music or video files that are non-BSB related. Please support your favorite artists by not posting full albums. If you would like the full album of any artist, we suggest you go out and buy it.

Please do not post in old threads, i.e. over a month old. These threads will be locked.

If you have any questions, please ask your IB Mod Team. Thanks.
0 comments | Write Comment

xx General Rules
August 04, 2009, 01:27:19 PM by Kay
General Rules
The Rules we follow here will be much like the Rules from the board that came before. This is a community and it's members are honored guests, please treat them with respect that is due and they will hopefully return the favor. Some stipulations come with this board and they are as follows:

1. The Administrator is the final say, I have IB Staff to help Moderate, and their word can only be contested by me. I do not mean to be forward but should anything get out of hand and you can not resolve it with a mod, please pm me.
2. The Moderators are here for you, though they may not be here every second of they day, they are watching. We are here for you, and here for all the honored guests of this forum. If you have a problem take it to the Mod Support Forum.
3. Enjoy your stay
0 comments | Write Comment

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(); ?>


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


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


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.8589 seconds to load.
*ssi_examples.php last modified on 09/7/06