No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
There are three basic ways to integrate SMF into your existing website and/or other scripts. | There are three basic ways to integrate SMF into your existing website and/or other scripts. | ||
# SSI.php can be used if you want to use SMF functions, variables, security, etc on external pages. This includes logins, access, | # SSI.php can be used if you want to use SMF functions, variables, security, etc. on external pages. This includes logins, access, recent posts, etc. This is not an "integration with an external system" so much as displaying and using SMF content on pages outside the forum. If you do not have a fully functional and established external access system, this is the method to use. You can use SMF security and membergroup permissions to control access to content on external pages. | ||
# Integration hooks can be used if you want SMF to be the primary system, but you need to pass data to another script in the middle of an SMF process (i.e. new user signing up in SMF registration -> pass the user data to another script, run some more processes on that script and then return to SMF's routines) | # Integration hooks can be used if you want SMF to be the primary system, but you need to pass data to another script in the middle of an SMF process (i.e. new user signing up in SMF registration -> pass the user data to another script, run some more processes on that script, and then return to SMF's routines) | ||
# The API can be used if you want the opposite of the hooks. The external script is the primary system and the API allows you to pass the data collected by that system into SMF's functions and database. | # The API can be used if you want the opposite of the hooks. The external script is the primary system and the API allows you to pass the data collected by that system into SMF's functions and database. | ||
[[Category:Developing SMF]] | [[Category:Developing SMF]] | ||
[[Category: General SMF]] |
Latest revision as of 11:58, 17 June 2013
There are three basic ways to integrate SMF into your existing website and/or other scripts.
- SSI.php can be used if you want to use SMF functions, variables, security, etc. on external pages. This includes logins, access, recent posts, etc. This is not an "integration with an external system" so much as displaying and using SMF content on pages outside the forum. If you do not have a fully functional and established external access system, this is the method to use. You can use SMF security and membergroup permissions to control access to content on external pages.
- Integration hooks can be used if you want SMF to be the primary system, but you need to pass data to another script in the middle of an SMF process (i.e. new user signing up in SMF registration -> pass the user data to another script, run some more processes on that script, and then return to SMF's routines)
- The API can be used if you want the opposite of the hooks. The external script is the primary system and the API allows you to pass the data collected by that system into SMF's functions and database.
Pages in category "Integrating SMF"
The following 15 pages are in this category, out of 15 total.