Class YagaHooks
A collection of hooks that are enabled when Yaga is.
- YagaHooks implements Gdn_IPlugin
public
|
#
SettingsController_Yaga_Create( SettingsController $Sender )
Redirect any old links to proper settings page permanently |
public
|
#
SettingsController_AfterRenderAsset_Handler( SettingsController $Sender )
Add Simple stats page to dashboard index |
public
|
|
public
boolean
|
#
Base_AfterDiscussionFilters_Handler( mixed $Sender )
Add a Best Content item to the discussion filters module |
public
|
#
ProfileController_AfterUserInfo_Handler( ProfileController $Sender )
Display the reaction counts on the profile page |
public
|
#
UserInfoModule_OnBasicInfo_Handler( UserInfoModule $Sender )
Add the badge count into the user info module |
public
|
#
ProfileController_Reactions_Create( ProfileController $Sender, integer $UserReference = '', string $Username = '', integer $ActionID = '', integer $Page = 0 )
This method shows the latest discussions/comments a user has posted that received the specified action |
public
|
#
ProfileController_Best_Create( ProfileController $Sender, integer $UserReference = '', string $Username = '', integer $Page = 0 )
This method shows the highest scoring discussions/comments a user has ever posted |
public
|
#
ProfileController_AddProfileTabs_Handler( ProfileController $Sender )
Add a best content tab on a user's profile |
public
|
#
UserModel_AfterSetField_Handler( UserModel $Sender )
Check for rank progress when the user model gets updated |
protected
|
|
public
|
#
ProfileController_AfterPreferencesDefined_Handler( ProfileController $Sender )
Add the badge and rank notification options |
public
|
#
ProfileController_BeforeProfileOptions_Handler( ProfileController $Sender )
Add the Award Badge and Promote options to the profile controller |
public
|
#
DiscussionController_AfterDiscussionBody_Handler( DiscussionController $Sender )
Display a record of reactions after the first post |
public
|
#
DiscussionController_AfterCommentBody_Handler( DiscussionController $Sender )
Display a record of reactions after comments |
public
|
#
DiscussionController_AfterReactions_Handler( DiscussionController $Sender )
Add action list to discussion items |
public
|
#
ActivityController_AfterActivityBody_Handler( ActivityController $Sender )
Add the action list to any activity items that can be commented on |
public
|
#
UserModel_AfterGetSession_Handler( UserModel $Sender )
Apply any applicable rank perks when the session first starts. |
public
|
#
ProfileController_Render_Before( ProfileController $Sender )
Insert JS and CSS files into the appropiate controllers |
public
|
#
DiscussionController_Render_Before( DiscussionController $Sender )
Insert JS and CSS files into the appropiate controllers |
public
|
#
CommentController_Render_Before( CommentController $Sender )
Insert JS and CSS files into the appropiate controllers |
public
|
#
ActivityController_Render_Before( ActivityController $Sender )
Insert JS and CSS files into the appropiate controllers |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
#
DeleteUserData( integer $UserID, array $Options = array(), array & $Data = NULL )
Delete all of the Yaga related information for a specific user. |
public
|
|
public
|
#
DbaController_CountJobs_Handler( DbaController $Sender )
Add update routines to the DBA controller |
public
|