MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
June
Sun Mon Tue Wed Thu Fri Sat
   
26
     
2010
Months
Jun


Sat, Jun 26, 2010 3:44 pm

Redirect Users at Login and Logout to SMF

Note: these instructions were written for Simple Machines Forum (SMF) 1.1.11

To redirect users to a specific webpage that you have created when they login or logout of Simple Machines Forum (SMF), you can use the Redirect on Login and/or Logout mod. Download the RedirectLoginLogout zip file (the latest version as of 2010-06-20 is 0.4), which contains the following files:

package-info.xml
readme.txt
install.xml
install2.xml

To install the package you downloaded, while logged into SMF under an adminisrator account, take the following steps:

  1. Click on the Admin tab.
  2. Under the Main section on the left of the page, click on Packages.
  3. When you see the password prompt, enter the password for the administrator account you are using and then click on the Login button.
  4. Click on the Download Packages tab.
  5. If you downloaded the package to your local system, click on the Browse button under Upload a Package.
  6. Find the zip file of the mod you downloaded and select it, then click on the Upload button. You should see a Package uploaded successfully message with "Redirect on Login and/or Logout mod" listed. That indicates the zip file was placed in the forum's Packages directory on the server.
  7. Now click on the Browse Packages tab. Under Modification Packages, you should see "Redirect on Long and/or Logout mod" listed.
  8. Click on Apply Mod.
  9. If you are prompted for FTP information for the account on the server where you have SMF installed, complete the form with username and password.
  10. If you saw the prompt mentioned in the step above, you may need to click on the Proceed button. If you see "550 Failed to change directory", then the correct directory for SMF couldn't be located. You may need to put in the complete path to the directory where SMF is located, e.g. /home/jdoe/www/hvia/forum. When the mod has been put in the correct location, you should see the Installation Readme displayed.
  11. You now need to install the mod by clicking on the Install Now button beneath Install Actions. You should see a message stating "The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.
Now, to use the mod, log into SMF under an administrator account then take the following steps:

  1. Click on the Admin tab.
  2. Click on Features and Options under Configuration.
  3. Under Basic Features, you should see an Enable Login Redirect section, which will have an "Enter Login URL" and "Enter Logout URL" within it. Enter the URLs for the pages to which you wish to redirect users on Login/Logout and check the Enable Logon Redirect and Enable Logout Redirect boxes as desired.
  4. Click on the Save button.

References:

  1. Download Packages
    SMF Online Manual

[/network/web/forums/smf] permanent link

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo