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

[Site Issues] Dead Links by nignccjx Sat, 06. Feb 2010, 05:16:52 AM
[Site Issues] What is Consider a Healthy Food ? by jxojtpb Sat, 06. Feb 2010, 05:15:49 AM
[Site Issues] FAQ by jxebmblf Sat, 06. Feb 2010, 05:10:38 AM

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

[Site Issues] IfyWSYFPxrjBwpvHG by nignccjx Sat, 06. Feb 2010, 05:16:52 AM
[Site Issues] kaYHVwSAJbAtUYJGJyP by jxojtpb Sat, 06. Feb 2010, 05:15:49 AM
[Site Issues] TwzMxdqnvcMrZVwm by lwkggiw Sat, 06. Feb 2010, 05:15:13 AM
[Site Issues] SFfwxFWCVneXczF by edekfwnlil Sat, 06. Feb 2010, 05:14:46 AM
[Site Issues] agWIsYERZR by lrblttewh Sat, 06. Feb 2010, 05:14:38 AM
[Site Issues] mZOnzJVoyCthqOvRA by pvyunmzq Sat, 06. Feb 2010, 05:10:54 AM
[Site Issues] ESJeSZwQjUMJLU by jxebmblf Sat, 06. Feb 2010, 05:10:38 AM
[Site Issues] jbvXolyvFLBSlEyjAp by hxgmvwnf Sat, 06. Feb 2010, 05:06:11 AM

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


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

Board Topics Posts
Site Issues New 3 4694
Pictures New 21 1790
Random Spammage New 26 1707
Closed Contests New 12 1088
Blog Things New 156 963
Saying Hello! New 70 589
Sim Survivor: City Edition New 5 437
Affiliates News New 3 361
Sim Discussions New 39 309
Sim News New 21 300

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

Views Replies
What is Consider a Healthy Food ? 5559 4678
Silly Sims, faces, Bloopers and other Funnies! 4465 367
OFFICIAL CONTEST: Mr/Miss Mess Hall! WINNERS! 3919 166
Hey now, you're an All-Star?! 2 - we have a winner! 3855 145
*NEW* Word Association 3717 448
IMAGE WARS! 3453 270
[[ m i s s . U N I Q U E ]] { AND THE WINNER IS.. } 3044 159
Sim Survivor THE RP 2959 266
A New Home - Decoration Contest - Final Results Posted 2939 158
Random Pictures 2932 260

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

Views Replies
What is Consider a Healthy Food ? 5559 4678
*NEW* Word Association 3717 448
Silly Sims, faces, Bloopers and other Funnies! 4465 367
Complete my sentence! 2562 270
IMAGE WARS! 3453 270
Sim Survivor THE RP 2959 266
Random Pictures 2932 260
DLMulsow's Sim~Antics CLOSING 2742 256
*NEW* The Neverending Story! 2128 214
OFFICIAL CONTEST: Mr/Miss Mess Hall! WINNERS! 3919 166

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


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

foolinthemoon

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


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

Please welcome tutsabulley, our newest member.

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

Total Members: 483
Total Posts: 14903
Total Topics: 677
Total Categories: 7
Total Boards: 54

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

2 Guests, 0 Users, 0 Users in Chat

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

2 Guests, 0 Users, 0 Users in Chat

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

Welcome, Guest. Please login or register.

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

Welcome to TMH!

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

xx Links Move Progress
Sun, 07. Dec 2008, 12:08:23 PM by pieridae
Hi all!

I'm in the process of moving the sims link lists to a Blogger blog.  At Sizza's suggestion, I am posting the new link here:  http://pieridaesimslinks.blogspot.com/
pieridae


Current Progress:

Body Shop Sites:  Moved

Clothing
Male and Female: Moved
Male Only:  Moved
Female Only:  Moved

Objects and Lots
Build Mode Items:  Moved
Buy Mode Items:  Moved
Residential and Community Lots:  Moved

Tools, Hacks & Mods
Sites, Essentials, Base Game compatible:  Moved
EP's:  Moved through BV

Themed Lists
Storytelling, Pets:  Moved

Sims Forums
Affiliates:  Moved
Other Forums:  0

Random Other Links

Dead Links
0 comments | Write Comment

xx Goodbye?
Sun, 30. Nov 2008, 10:11:45 PM by pieridae
Hi all.

It seems this site is almost kaput.  I wanted to say goodbye, formally, because I've greatly enjoyed my time here at TMH.  It is the first site I was ever a part of beyond snagging downloads and answering WCIF's, and I really loved the time I spent here.  I met some fun people, and had a blast.  It will be very sad to see the site go if Jana and Laina do not return.  Well, I guess that's all.

Hugs,
pieridae
10 comments | Write Comment

xx Another new theme and some avis
Fri, 05. Sep 2008, 07:05:52 AM by gerbera
In honor of the latest EA / Maxis game by Will Wright, I made another forum theme called "MessHallSpore". Matching this theme, there are some new avatars you can select at your profile - you can see one of them on the left Wink

I made all of this with the Spore Fansite Kit which is available at the official Spore homepage.
2 comments | Write Comment

xx Our First Birthday!
Thu, 04. Sep 2008, 11:06:24 AM by foolinthemoon


We've come a long way, and we're still growing!
heart Thanks to everyone, if you just come to the site to hang out, download or lurk! heart
Be on the look out for a new banner contest, a building contest by gerbera,
and lots of uploads from us during this week long celebration!

Here's to another year more!

 monster
0 comments | Write Comment

xx Two New Themes Installed
Thu, 04. Sep 2008, 02:38:08 AM by gerbera
Today I installed two new themes. Both are edits for our latest "MessHallSimple" Theme - MessHallSimple Green and Pink. I hope you like the other colors  hug
0 comments | Write Comment

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

   Home   Help Arcade Search Calendar Members Contact Staff List Links 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(); ?>


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