PHP Class GettingStartedPlugin, vanilla

This plugin should: 1. Display 5 tips for getting started on the dashboard 2. Check off each item as it is completed 3. Disable itself when "dismiss" is clicked
Inheritance: extends Gdn_Plugin
ファイルを表示 Open project: vanilla/vanilla

Public Methods

Method Description
pluginController_dismissGettingStarted_create ( $Sender )
postController_render_before ( $Sender ) If the user starts a discussion, they've completed step 5: profile customization.
profileController_render_before ( $Sender ) If the user posts back any forms to their profile, they've completed step 4: profile customization.
saveStep ( $Step ) Record when the various actions are taken.
settingsController_render_before ( $Sender ) Adds a "My Forums" menu option to the dashboard area.
setup ( )

Method Details

pluginController_dismissGettingStarted_create() public method

postController_render_before() public method

If the user starts a discussion, they've completed step 5: profile customization.
public postController_render_before ( $Sender )
$Sender

profileController_render_before() public method

If the user posts back any forms to their profile, they've completed step 4: profile customization.
public profileController_render_before ( $Sender )
$Sender

saveStep() public method

1. If the user edits the registration settings.
public saveStep ( $Step )
$Step

settingsController_render_before() public method

Adds a "My Forums" menu option to the dashboard area.

setup() public method

public setup ( )