SSI functions are a major part of SMF and plays a large role in the developement of Tinyportal. For instance you can add simple SSI functions to a php block within TP and have it's affects, without alot of coding knowledge. To use an example, you would place this code in a phpbox to display recent topic's.
ssi_recentTopics();
That's All.
If you wish to know more on SSI Functions, you can look at the ssi_examples.shtml file with your SMF installation, or take a look at some working examples at this site here: http://www.tinyportal.net/smf/ssi_examples.php
You can read a FAQ on SSI Functions at SMF.
Basic SSI FAQ (http://www.simplemachines.org/community/index.php?topic=12936.0)
Advanced SSI FAQ (http://www.simplemachines.org/community/index.php?topic=13016.0)
Expert SSI FAQ (http://www.simplemachines.org/community/index.php?topic=13205.0)
This Is A Basic List Of SSI Functions.
Recent Topics Function: <!--#include virtual="./SSI.php?ssi_function=recentTopics" -->
Recent Posts Function: <!--#include virtual="./SSI.php?ssi_function=recentPosts" -->
Recent Poll Function: <!--#include virtual="./SSI.php?ssi_function=recentPoll" -->
Top Boards Function: <!--#include virtual="./SSI.php?ssi_function=topBoards" -->
Top Topics by View Function: <!--#include virtual="./SSI.php?ssi_function=topTopicsViews" -->
Top Topics by Replies Function: <!--#include virtual="./SSI.php?ssi_function=topTopicsReplies" -->
Top Poll Function: <!--#include virtual="./SSI.php?ssi_function=topPoll" -->
Top Poster Function: <!--#include virtual="./SSI.php?ssi_function=topPoster" -->
Topic's Poll Function: <!--#include virtual="./SSI.php?ssi_function=showPoll;ssi_topic=##" -->
Latest Member Function: <!--#include virtual="./SSI.php?ssi_function=latestMember" -->
Board Stats: <!--#include virtual="./SSI.php?ssi_function=boardStats" -->
Who's Online Function: <!--#include virtual="./SSI.php?ssi_function=whosOnline" -->
Log Online Presence + Who's Online Function: <!--#include virtual="./SSI.php?ssi_function=logOnline" -->
Welcome Function: <!--#include virtual="./SSI.php?ssi_function=welcome" -->
News Function: <!--#include virtual="./SSI.php?ssi_function=news" -->
Board News Function: <!--#include virtual="./SSI.php?ssi_function=boardNews" -->
Menubar Function: <!--#include virtual="./SSI.php?ssi_function=menubar" -->
Quick Search Function: <!--#include virtual="./SSI.php?ssi_function=quickSearch" -->
Login Function: <!--#include virtual="./SSI.php?ssi_function=login" -->
Log Out Function: <!--#include virtual="./SSI.php?ssi_function=logout" -->
Today's Birthdays Function: <!--#include virtual="./SSI.php?ssi_function=todaysBirthdays" -->
Today's Holidays Function: <!--#include virtual="./SSI.php?ssi_function=todaysHolidays" -->
Today's Events Function: <!--#include virtual="./SSI.php?ssi_function=todaysEvents" -->
Today's Calendar Function: <!--#include virtual="./SSI.php?ssi_function=todaysCalendar" -->
Recent Calendar Events Function: <!--#include virtual="./SSI.php?ssi_function=recentEvents" -->
Why is it that Tiny_Portal has a SSI function box but not all choices worked?Ã, I wish to add a poll to the front page from the topics in the forum, but choosing 'Recent poll' does nothing.Ã,Â
Add the code above for polls into a phpbox only gives me an error and still no poll.Ã, Any ideas on what I am doing incorrectly?
Exactly how much of the sentence is strickly code? Is it from the first <!--#include virtual="./
That was really good links.
A lot of thank you for those Xarcell :)
QuoteP/S: To G6: when do you going to finish your upgrade site ?
Im working on my own template, and i must say that doing it from scratch takes a bit of time ;)
But it's pretty fun doing it, and m learning a lot :)
Actually working on two at the same time, one for my site, and one form my son whos 6 years old and he have a lot of will on how he want it to look :)
He's a Batman fan so i om making a theme for him to use on his site.
[attachment deleted by admin]
Looks very nice g6cad.