Available Includes: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Information can be added to your website including [[Forum]] statistics, [[Member]] notification of messages and who is browsing your site/forum. For examples, you can check our own SSI.php functions, which includes the segment of code required to activate each function:
Information can be added to your website including [[Forum]] statistics, [[Member]] notification of messages and who is browsing your site/forum. For examples, you can check our own SSI.php functions, which includes the segment of code required to activate each function:


<ul class="bbc_list"><li type="disc">http://www.simplemachines.org/community/ssi_examples.php</li><li type="disc">http://www.simplemachines.org/community/ssi_examples.shtml </li></ul>
*http://www.simplemachines.org/community/ssi_examples.php
*http://www.simplemachines.org/community/ssi_examples.shtml


Here is a quick run down of the various includes available for insertion:
Here is a quick run down of the various includes available for insertion:


<ul class="bbc_list"><li type="disc">Recent Topics Function: Lists the most recent topics posted on your forum. Will also hide and include [[Member]] specific boards for logged in members and guests.</li><li type="disc">Recent Posts Function: Lists the most recent posts on your forum. Will also hide and include [[Member]] specific boards for logged in members and guests.</li><li type="disc">Recent [[Poll]] Function: Displays the most recently added [[poll]] to which members will be able to vote and view the results.
*'''Recent Topics Function''' - Lists the most recent topics posted on your forum. Will also hide and include [[Member]] specific boards for logged in members and guests.
</li><li type="disc">Top Boards Function: Lists the top 10 most posted in boards.</li><li type="disc">Top Topics by View Function: Lists the top 10 most viewed boards.</li><li type="disc">Top Topics by Replies Function: Lists the top 10 topics by number of replies.</li><li type="disc">Top [[Poll]] Function: Displays most popular [[poll]] for members to vote and view the results.
*'''Recent Posts Function''' - Lists the most recent posts on your forum. Will also hide and include [[Member]] specific boards for logged in members and guests.
</li><li type="disc">Top Poster Function: Displays the [[Member]] with the most posts on your [[Forum]] linking to his profile.</li><li type="disc">Latest [[Member]] Function: Displays the latest [[Member]] with a link to their profile.</li><li type="disc">Board Stats: Displays [[Forum]] statistics including total members, total posts, total topics, total categories and total boards.</li><li type="disc">Who&#039;s Online Function: Lists number of guests, users and hidden members that are currently viewing your forum. Members that are not hidden will be listed with a link to their profile.</li><li type="disc">Log Online Presence + Who&#039;s Online Function: Lists number of guests, users and hidden members that are currently viewing your forum. Members that are not hidden will be listed with a link to their profile. This command also has the effect of logging the user as online be it as a [[guest]] or a member, which is useful for also adding people who are viewing your website and not just your forum.
*'''Recent [[Poll]] Function''' - Displays the most recently added [[poll]] to which members will be able to vote and view the results.
</li><li type="disc">Welcome Function: Displays a welcome to your [[guest]] or member. If the viewer is a guest, registration information will be shown, however if the viewer is a [[Member]] this function will display a number of messages for the user in question.
*'''Top Boards Function''' - Lists the top 10 most posted in boards.
</li><li type="disc">News Function: Displays the [[Forum]] news, which is customized in your [[Forum]] Admin area.</li><li type="disc">Board News Function: Displays a [[Board]] from your [[Forum]] and lists it as a basic news layout for use on your website.</li><li type="disc">Menubar Function: Displays a [[Forum]] like menubar with button graphics that can include home, help, search, profile, calendar etc.</li><li type="disc">Quick Search Function: Adds a search input box for users wanting to search your [[Forum]] with easy access from your website.</li><li type="disc">Login Function: Displays a log-in box (username, password) when a [[guest]] is detected.
*'''Top Topics by View Function''' - Lists the top 10 most viewed boards.
</li><li type="disc">Log Out Function: Displays a log-out link when a [[Member]] is detected.</li><li type="disc">Today&#039;s Birthdays Function: Displays today&#039;s members birthdays (if any available) with a link to their [[Profile]] and their age. Best for forums with a high [[Member]] total.</li><li type="disc">Today&#039;s Holidays Function: Lists today&#039;s holidays (if any available).</li><li type="disc">Today&#039;s Events Function: Lists today&#039;s events (if any available).</li><li type="disc">Today&#039;s Calendar Function: Lists today&#039;s holidays, events and birthdays all in one command.</li><li type="disc">Recent Calendar Events Function: Lists recent calendar events. </li></ul>
*'''Top Topics by Replies Function''' - Lists the top 10 topics by number of replies.
*'''Top [[Poll]] Function''' - Displays most popular [[poll]] for members to vote and view the results.
*'''Top Poster Function''' - Displays the [[Member]] with the most posts on your [[Forum]] linking to his profile.
*'''Latest [[Member]] Function''' - Displays the latest [[Member]] with a link to their profile.
*'''Board Stats''' - Displays [[Forum]] statistics including total members, total posts, total topics, total categories and total boards.
*'''Who's Online Function''' - Lists number of guests, users and hidden members that are currently viewing your forum. Members that are not hidden will be listed with a link to their profile.
*'''Log Online Presence + Who's Online Function''' - Lists number of guests, users and hidden members that are currently viewing your forum. Members that are not hidden will be listed with a link to their profile. This command also has the effect of logging the user as online be it as a [[guest]] or a member, which is useful for also adding people who are viewing your website and not just your forum.
*'''Welcome Function''' - Displays a welcome to your [[guest]] or member. If the viewer is a guest, registration information will be shown, however if the viewer is a [[Member]] this function will display a number of messages for the user in question.
*'''News Function''' - Displays the [[Forum]] news, which is customized in your [[Forum]] Admin area.
*'''Board News Function''' - Displays a [[Board]] from your [[Forum]] and lists it as a basic news layout for use on your website.
*'''Menubar Function''' - Displays a [[Forum]] like menubar with button graphics that can include home, help, search, profile, calendar etc.
*'''Quick Search Function''' - Adds a search input box for users wanting to search your [[Forum]] with easy access from your website.
*'''Login Function''' - Displays a log-in box (username, password) when a [[guest]] is detected.
*'''Log Out Function''' - Displays a log-out link when a [[Member]] is detected.
*'''Today's Birthdays Function''' - Displays today's members birthdays (if any available) with a link to their [[Profile]] and their age. Best for forums with a high [[Member]] total.
*'''Today's Holidays Function''' - Lists today's holidays (if any available).
*'''Today's Events Function''' - Lists today's events (if any available).
*'''Today's Calendar Function''' - Lists today's holidays, events and birthdays all in one command.
*'''Recent Calendar Events Function''' - Lists recent calendar events.


[[Category:Developing SMF]]
[[Category:Developing SMF]]
[[Category:Integrate SMF]]
[[Category:Integrating SMF]]
[[Category:SSI]]

Latest revision as of 15:00, 30 May 2013

Information can be added to your website including Forum statistics, Member notification of messages and who is browsing your site/forum. For examples, you can check our own SSI.php functions, which includes the segment of code required to activate each function:

Here is a quick run down of the various includes available for insertion:

  • Recent Topics Function - Lists the most recent topics posted on your forum. Will also hide and include Member specific boards for logged in members and guests.
  • Recent Posts Function - Lists the most recent posts on your forum. Will also hide and include Member specific boards for logged in members and guests.
  • Recent Poll Function - Displays the most recently added poll to which members will be able to vote and view the results.
  • Top Boards Function - Lists the top 10 most posted in boards.
  • Top Topics by View Function - Lists the top 10 most viewed boards.
  • Top Topics by Replies Function - Lists the top 10 topics by number of replies.
  • Top Poll Function - Displays most popular poll for members to vote and view the results.
  • Top Poster Function - Displays the Member with the most posts on your Forum linking to his profile.
  • Latest Member Function - Displays the latest Member with a link to their profile.
  • Board Stats - Displays Forum statistics including total members, total posts, total topics, total categories and total boards.
  • Who's Online Function - Lists number of guests, users and hidden members that are currently viewing your forum. Members that are not hidden will be listed with a link to their profile.
  • Log Online Presence + Who's Online Function - Lists number of guests, users and hidden members that are currently viewing your forum. Members that are not hidden will be listed with a link to their profile. This command also has the effect of logging the user as online be it as a guest or a member, which is useful for also adding people who are viewing your website and not just your forum.
  • Welcome Function - Displays a welcome to your guest or member. If the viewer is a guest, registration information will be shown, however if the viewer is a Member this function will display a number of messages for the user in question.
  • News Function - Displays the Forum news, which is customized in your Forum Admin area.
  • Board News Function - Displays a Board from your Forum and lists it as a basic news layout for use on your website.
  • Menubar Function - Displays a Forum like menubar with button graphics that can include home, help, search, profile, calendar etc.
  • Quick Search Function - Adds a search input box for users wanting to search your Forum with easy access from your website.
  • Login Function - Displays a log-in box (username, password) when a guest is detected.
  • Log Out Function - Displays a log-out link when a Member is detected.
  • Today's Birthdays Function - Displays today's members birthdays (if any available) with a link to their Profile and their age. Best for forums with a high Member total.
  • Today's Holidays Function - Lists today's holidays (if any available).
  • Today's Events Function - Lists today's events (if any available).
  • Today's Calendar Function - Lists today's holidays, events and birthdays all in one command.
  • Recent Calendar Events Function - Lists recent calendar events.


Advertisement: