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

[Gaming] RimWorld by Samwise June 13, 2025, 09:54:48 AM
[Gaming] So, what're you playing? by Falconeer May 22, 2025, 09:34:33 AM
[TV] Murderbot (Apple) by Samwise May 15, 2025, 10:21:58 PM
[Movies] Useless Movies by Samwise May 04, 2025, 02:57:51 PM
[Serious Business] The <celebrity> Died Thread by Trippy April 21, 2025, 11:09:26 AM
[Gaming] Useless gaming news & chatter by Velorath April 17, 2025, 07:30:01 AM
[Gaming] OMG OMG - Vampire: The Masquerade is baaaack! by Samwise March 26, 2025, 08:28:15 AM
[General Discussion] The robots are coming by Trippy March 16, 2025, 09:55:17 PM

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

[Gaming] Re: RimWorld by Samwise June 13, 2025, 09:54:48 AM
[Gaming] Re: RimWorld by Meester June 11, 2025, 07:16:07 PM
[Gaming] Re: So, what're you playing? by Falconeer May 22, 2025, 09:34:33 AM
[Gaming] Re: So, what're you playing? by Riggswolfe May 20, 2025, 09:19:05 AM
[TV] Re: Murderbot (Apple) by Samwise May 15, 2025, 10:21:58 PM
[Movies] Re: Useless Movies by Samwise May 04, 2025, 02:57:51 PM
[Serious Business] Re: The <celebrity> Died Thread by Trippy April 21, 2025, 11:09:26 AM
[Serious Business] Re: The <celebrity> Died Thread by Samwise April 21, 2025, 09:19:00 AM

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


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

Board Topics Posts
Gaming New 3572 233820
General Discussion New 2939 202559
MMOG Discussion New 1602 155701
Serious Business New 2406 118438
World of Warcraft New 1080 77331
Movies New 969 48702
TV New 653 46340
Sports / Fantasy Sports New 216 45744
Eve Online New 745 32303
Star Wars: The Old Republic New 118 30521

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

Views Replies
Funny picture thread 4468103 16053
Useless Conversation 4157164 39920
Awesome Pictures Thread 3311732 11334
So, what're you playing? 2752376 15589
SWTOR 2612947 14055
F13's Salute to T & A (Assume NSFW) 2336535 5919
War 2332494 8121
Useless gaming news & chatter 1720117 5418
Useless Videos 1690801 6656
Return of the Book Thread 1541883 6704

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

Views Replies
Useless Conversation 4157164 39920
Funny picture thread 4468103 16053
So, what're you playing? 2752376 15589
SWTOR 2612947 14055
Awesome Pictures Thread 3311732 11334
Cataclysm 1538751 8233
War 2332494 8121
Return of the Book Thread 1541883 6704
Game of Thrones [SPOILERS] 1341676 6702
Useless Videos 1690801 6656

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


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

schild

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


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

Please welcome Sarducci, our newest member.

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

Total Members: 1817
Total Posts: 1569105
Total Topics: 24772
Total Categories: 2
Total Boards: 89

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

502 Guests, 0 Users

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

502 Guests, 0 Users

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

Welcome, Guest. Please login or register.

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

we're back, baby

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

xx No Man's Sky: A COMPREHENSIVE PRIMER BY SAMPRIMARY.
August 29, 2016, 04:17:16 PM by schild
Making this legible was a nightmare, so fucking read it.

http://f13.net/?p=363
219 comments | Write Comment

xx F13 RELAUNCH
June 27, 2013, 01:14:19 PM by ForumBot 0.8 beta
F13 RELAUNCH

HAPPENING IN SEPTEMBER! SEE THREAD HERE: CLICK ME

1 comment

xx SPAWN MORE TORTILLA CHIPS
March 26, 2013, 11:35:15 AM by ForumBot 0.8 beta
SPAWN MORE TORTILLA CHIPS

contributed by Samprimary

I finished the singleplayer campaign of Heart of the Swarm and immediately thought "I want nachos."

Maybe I was supposed to feel something different.

Well, okay. I'm not being entirely truthful. I was thinking I wanted good nachos, specifically. I wanted to go out of my way to find a restaurant that served nachos that were not going to disappoint me.

I desired this, because the entirety of my experience sitting through Heart of the Swarm made me baffled and irked in the same way I am baffled and irked when I go and pay money to a place that is entirely in the industry of producing food you want to go out to pay and eat — because, seriously? Nachos are a pretty low bar. You have to be dysfunctional in a special way to end up unable to produce nachos.

» Read More
59 comments | Write Comment

xx Kickstarter Walkthrough
March 22, 2013, 07:49:47 AM by ForumBot 0.8 beta
Kickstarter Walkthrough

It has come to our attention that some people don't know how to use Kickstarter. Specifically, they don't know that you can cancel pledges. Well, you can - and sometimes you should. Below the fake fold are a few easy steps towards freedom.

» Read More
1 comment

xx ATTN SPACE LARPER: CHECK YOURSELF
March 20, 2013, 12:55:42 PM by ForumBot 0.8 beta
ATTN SPACE LARPER: CHECK YOURSELF

"I am not a destroyer of companies. I am a liberator of them! The point is, ladies and gentleman, that greed, for lack of a better word, is good. Greed is right, greed works. Greed clarifies, cuts through, and captures the essence of the evolutionary spirit."

- Gordon Gekko, Wall Street


» Read More
240 comments | Write Comment

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

Home Help Search Login Register

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


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

 
 

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


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

Ingmar (51), Warryyr (49), Hawken (56)

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


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


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

Upcoming Birthdays: Ingmar (51), Warryyr (49), Hawken (56)

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