]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - EVENTS.txt
bf9cfaa3bc48880c1c1e4f2aa155f77b8de0a859
[quix0rs-gnu-social.git] / EVENTS.txt
1 InitializePlugin: a chance to initialize a plugin in a complete environment
2
3 CleanupPlugin: a chance to cleanup a plugin at the end of a program
4
5 StartPrimaryNav: Showing the primary nav menu
6 - $action: the current action
7
8 EndPrimaryNav: At the end of the primary nav menu
9 - $action: the current action
10
11 StartSecondaryNav: Showing the secondary nav menu
12 - $action: the current action
13
14 EndSecondaryNav: At the end of the secondary nav menu
15 - $action: the current action
16
17 StartShowStyles: Showing Style links; good place to add UA style resets
18 - $action: the current action
19
20 EndShowStyles: End showing Style links; good place to add custom styles
21 - $action: the current action
22
23 StartShowStylesheets: Showing stylesheet links
24 - $action: the current action
25
26 EndShowStylesheets: End showing stylesheet links;  good place to add handheld or JavaScript dependant styles
27 - $action: the current action
28
29 StartShowUAStyles: Showing custom User-Agent style links
30 - $action: the current action
31
32 EndShowUAStyles: End showing custom User-Agent links; good place to add user-agent (e.g., filter, -webkit, -moz) specific styles
33 - $action: the current action
34
35 StartShowScripts: Showing JavaScript links
36 - $action: the current action
37
38 EndShowScripts: End showing JavaScript links; good place to add custom
39                 links like Google Analytics
40 - $action: the current action
41
42 StartShowJQueryScripts: Showing JQuery script links (use this to link to e.g. Google mirrors)
43 - $action: the current action
44
45 EndShowJQueryScripts: End showing JQuery script links
46 - $action: the current action
47
48 StartShowStatusNetScripts: Showing StatusNet script links (use this to link to a CDN or something)
49 - $action: the current action
50
51 EndShowStatusNetScripts: End showing StatusNet script links
52 - $action: the current action
53
54 StartShowSections: Start the list of sections in the sidebar
55 - $action: the current action
56
57 EndShowSections: End the list of sections in the sidebar
58 - $action: the current action
59
60 StartShowHeader: Showing before the header container
61 - $action: the current action
62
63 EndShowHeader: Showing after the header container
64 - $action: the current action
65
66 StartShowFooter: Showing before the footer container
67 - $action: the current action
68
69 EndShowFooter: Showing after the footer container
70 - $action: the current action
71
72 StartShowContentBlock: Showing before the content container
73 - $action: the current action
74
75 EndShowContentBlock: Showing after the content container
76 - $action: the current action
77
78 StartShowAside: Showing before the Aside container
79 - $action: the current action
80
81 EndShowAside: Showing after the Aside container
82 - $action: the current action
83
84 StartShowNoticeFormData: Showing before the notice form data
85 - $action: the current action
86
87 EndShowNoticeFormData: Showing after the notice form data
88 - $action: the current action
89
90 StartNoticeSave: before inserting a notice (good place for content filters)
91 - $notice: notice being saved (no ID or URI)
92
93 EndNoticeSave: after inserting a notice and related code
94 - $notice: notice that was saved (with ID and URI)
95
96 StartShowLocalNavBlock: Showing the local nav menu
97 - $action: the current action
98
99 EndShowLocalNavBlock: At the end of the local nav menu
100 - $action: the current action
101
102 StartShowHTML: Chance to set document headers (e.g., content type, charset, language), DOCTYPE and html element properties
103 - $action: the current action
104
105 EndShowHTML: Showing after the html element
106 - $action: the current action
107
108 StartPublicGroupNav: Showing the public group nav menu
109 - $menu: the menu widget; use $menu->action for output
110
111 EndPublicGroupNav: At the end of the public group nav menu
112 - $menu: the menu widget; use $menu->action for output
113
114 StartSubGroupNav: Showing the subscriptions group nav menu
115 - $menu: the menu widget; use $menu->action for output
116
117 EndSubGroupNav: At the end of the subscriptions group nav menu
118 - $menu: the menu widget; use $menu->action for output
119
120 StartInitializeRouter: Before the router instance has been initialized; good place to add routes
121 - $m: the Net_URL_Mapper that has just been set up
122
123 RouterInitialized: After the router instance has been initialized
124 - $m: the Net_URL_Mapper that has just been set up
125
126 StartLogout: Before logging out
127 - $action: the logout action
128
129 EndLogout: After logging out
130 - $action: the logout action
131
132 ArgsInitialize: After the argument array has been initialized
133 - $args: associative array of arguments, can be modified
134
135 StartAddressData: Allows the site owner to provide additional information about themselves for contact (e.g., tagline, email, location)
136 - $action: the current action
137
138 EndAddressData: At the end of <address>
139 - $action: the current action
140
141 StartShowSiteNotice: Before showing site notice
142 - $action: the current action
143
144 EndShowSiteNotice: After showing site notice
145 - $action: the current action
146
147 StartLoginGroupNav: Before showing the login and register navigation menu
148 - $action: the current action
149
150 EndLoginGroupNav: After showing the login and register navigation menu
151 - $action: the current action
152
153 StartAccountSettingsNav: Before showing the account settings menu
154 - $action: the current action
155
156 EndAccountSettingsNav: After showing the account settings menu
157 - $action: the current action
158
159 StartAccountSettingsProfileMenuItem: Before showing the Profile menu item
160 - $widget: AccountSettingsNav instance being shown
161
162 EndAccountSettingsProfileMenuItem: After showing the Profile menu item
163 - $widget: AccountSettingsNav instance being shown
164
165 StartAccountSettingsAvatarMenuItem: Before showing the Avatar menu item
166 - $widget: AccountSettingsNav instance being shown
167
168 EndAccountSettingsAvatarMenuItem: After showing the Avatar menu item
169 - $widget: AccountSettingsNav instance being shown
170
171 StartAccountSettingsPasswordMenuItem: Before showing the Password menu item
172 - $widget: AccountSettingsNav instance being shown
173
174 EndAccountSettingsPasswordMenuItem: After showing the Password menu item
175 - $widget: AccountSettingsNav instance being shown
176
177 StartAccountSettingsEmailMenuItem: Before showing the Email menu item
178 - $widget: AccountSettingsNav instance being shown
179
180 EndAccountSettingsEmailMenuItem: After showing the Email menu item
181 - $widget: AccountSettingsNav instance being shown
182
183 StartAccountSettingsDesignMenuItem: Before showing the Design menu item
184 - $widget: AccountSettingsNav instance being shown
185
186 EndAccountSettingsDesignMenuItem: After showing the Design menu item
187 - $widget: AccountSettingsNav instance being shown
188
189 StartAccountSettingsOtherMenuItem: Before showing the Other menu item
190 - $widget: AccountSettingsNav instance being shown
191
192 EndAccountSettingsOtherMenuItem: After showing the Other menu item
193 - $widget: AccountSettingsNav instance being shown
194
195 Autoload: When trying to autoload a class
196 - $cls: the class being sought. A plugin might require_once the file for the class.
197
198 SensitiveAction: determines if an action is 'sensitive' and should use SSL
199 - $action: name of the action, like 'login'
200 - $sensitive: flag for whether this is a sensitive action
201
202 LoginAction: determines if an action is a 'login' action (OK for public view in private mode)
203 - $action: name of the action, like 'register'
204 - $login: flag for whether this is a login action
205
206 StartShowHead: called before showing the <head> element and children
207 - $action: action object being show
208
209 EndShowHead: called after showing the <head> element (and </head>)
210 - $action: action object being shown
211
212 StartShowBody: called before showing the <body> element and children
213 - $action: action object being shown
214
215 EndShowBody: called after showing the <body> element (and </body>)
216 - $action: action object being shown
217
218 StartPersonalGroupNav: beginning of personal group nav menu
219 - $action: action object being shown
220
221 EndPersonalGroupNav: end of personal group nav menu (good place to add a menu item)
222 - $action: action object being shown
223
224 StartGroupGroupNav: Showing the group nav menu
225 - $action: the current action
226
227 EndGroupGroupNav: At the end of the group nav menu
228 - $action: the current action
229
230 StartEndHTML: just before the </html> tag
231 - $action: action object being shown
232
233 EndEndHTML: just after the </html> tag
234 - $action: action object being shown
235
236 FinalAction: After prepare() (and possible handle) in Action class.
237 - $status: result of "prepare" call on action
238 - $action: Action that is currently running
239
240 StartShowDesign: just before showing a site, user, or group design
241 - $action: action object being shown
242
243 EndShowDesign: just after showing a site, user, or group design
244 - $action: action object being shown
245
246 StartShowExportData: just before showing the <div> with export data (feeds)
247 - $action: action object being shown
248
249 EndShowExportData: just after showing the <div> with export data (feeds)
250 - $action: action object being shown
251
252 StartShowNoticeItem: just before showing the notice item
253 - $item: The NoticeListItem object being shown
254
255 EndShowNoticeItem: just after showing the notice item
256 - $item: the NoticeListItem object being shown
257
258 StartShowNoticeInfo: just before showing notice info
259 - $item: The NoticeListItem object being shown
260
261 EndShowNoticeInfo: just after showing notice info
262 - $item: The NoticeListItem object being shown
263
264 StartShowNoticeOptions: just before showing notice options like fave, repeat, etc.
265 - $item: the NoticeListItem object being shown
266
267 EndShowNoticeOptions: just after showing notice options like fave, repeat, etc.
268 - $item: the NoticeListItem object being shown
269
270 StartShowFaveForm: just before showing the fave form
271 - $item: the NoticeListItem object being shown
272
273 EndShowFaveForm: just after showing the fave form
274 - $item: the NoticeListItem object being shown
275
276 StartShowPageNotice: just before showing the page notice (instructions or error)
277 - $action: action object being shown
278
279 EndShowPageNotice: just after showing the page notice (instructions or error)
280 - $action: action object being shown
281
282 StartShowPageTitle: just before showing the main h1 title of a page (only for registration)
283 - $action: action object being shown
284
285 StartProfileFormData: just before showing text entry fields on profile settings page
286 - $action: action object being shown
287
288 EndProfileFormData: just after showing text entry fields on profile settings page
289 - $action: action object being shown
290
291 StartProfileSaveForm: before starting to save a profile settings form
292 - $action: action object being shown
293
294 EndProfileSaveForm: after saving a profile settings form (after commit, no profile or user object!)
295 - $action: action object being shown
296
297 StartEmailFormData: just before showing text entry fields on email settings page
298 - $action: action object being shown
299
300 EndEmailFormData: just after showing text entry fields on email settings page
301 - $action: action object being shown
302
303 StartEmailSaveForm: before starting to save a email settings form
304 - $action: action object being shown
305 - &$user: user being saved
306
307 EndEmailSaveForm: after saving a email settings form (after commit)
308 - $action: action object being shown
309 - &$user: user being saved
310
311 StartRegistrationFormData: just before showing text entry fields on registration page
312 - $action: action object being shown
313
314 EndRegistrationFormData: just after showing text entry fields on registration page
315 - $action: action object being shown
316
317 StartRegistrationTry: before validating and saving a new user
318 - $action: action object being shown
319
320 EndRegistrationTry: after saving a new user (note: no profile or user object!)
321 - $action: action object being shown
322
323 StartAvatarFormData: before displaying avatar form
324 - $action: action object being shown
325
326 EndAvatarFormData: after displaying avatar form
327 - $action: action object being shown
328
329 StartAvatarSaveForm: before saving the avatar
330 - $action: action object being shown
331
332 EndAvatarSaveForm: after saving the avatar
333 - $action: action object being shown
334
335 StartNewQueueManager: before trying to start a new queue manager; good for plugins implementing new queue manager classes
336 - $qm: empty queue manager to set
337
338 RedirectToLogin: event when we force a redirect to login (like when going to a settings page on a remembered login)
339 - $action: action object being shown
340 - $user: current user
341
342 StartLoadDoc: before loading a help doc (hook this to show your own documentation)
343 - $title: title of the document
344 - $output: HTML output to show
345
346 EndLoadDoc: after loading a help doc (hook this to modify other documentation)
347 - $title: title of the document
348 - $output: HTML output to show
349
350 StartApiRss: after the rss <channel> element is started
351 - $action: action object being shown
352
353 StartApiAtom: after the <feed> element is started
354 - $action: action object being shown
355
356 StartEnqueueNotice: about to add a notice to the queues (good place to add a new transport)
357 - $notice: the notice being added
358 - &$transports: modifiable list of transports (as strings) to queue for
359
360 EndEnqueueNotice: after adding a notice to the queues
361 - $notice: the notice being added
362 - $transports: modifiable list of transports to use
363
364 UnqueueHandleNotice: Handle a notice when no queue manager is available
365 - $notice: the notice to handle
366 - $queue: the "queue" that is being executed
367
368 GetValidDaemons: Just before determining which daemons to run
369 - &$daemons: modifiable list of daemon scripts to run, filenames relative to scripts/
370
371 HandleQueuedNotice: Handle a queued notice at queue time (or immediately if no queue)
372 - &$notice: notice to handle
373
374 StartHtmlElement: Reight before outputting the HTML element - allows plugins to add namespaces
375 - $action: the current action
376 - &$attrs: attributes for the HTML element
377
378 EndHtmlElement: Right after outputting the HTML element
379 - $action: the current action
380 - &$attrs: attributes for the HTML element
381
382 StartShowHeadElements: Right after the <head> tag
383 - $action: the current action
384
385 EndShowHeadElements: Right before the </head> tag; put <script>s here if you need them in <head>
386 - $action: the current action
387
388 CheckSchema: chance to check the schema
389
390 StartProfileRemoteSubscribe: Before showing the link to remote subscription
391 - $userprofile: UserProfile widget
392 - &$profile: the profile being shown
393
394 EndProfileRemoteSubscribe: After showing the link to remote subscription
395 - $userprofile: UserProfile widget
396 - &$profile: the profile being shown
397
398 StartGroupSubscribe: Before showing the link to remote subscription
399 - $action: the current action
400 - $group: the group being shown
401
402 EndGroupSubscribe: After showing the link to remote subscription
403 - $action: the current action
404 - $group: the group being shown
405
406 StartProfilePageProfileSection: Starting to show the section of the
407                               profile page with the actual profile data;
408                               hook to prevent showing the profile (e.g.)
409 - $userprofile: UserProfile widget
410 - &$profile: the profile being shown
411
412 StartProfilePageProfileElements: inside the section, before the first
413                                element; prepend elements here
414 - $userprofile: UserProfile widget
415 - &$profile: the profile being shown
416
417 EndProfilePageProfileElements: inside the section, after the last element;
418                              append elements here
419 - $userprofile: UserProfile widget
420 - &$profile: the profile being shown
421
422 EndProfilePageProfileSection: After showing the section of the profile
423                             page with the profile elements
424 - $userprofile: UserProfile widget
425 - &$profile: the profile being shown
426
427 StartProfilePageActionsSection: Starting to show the section of the
428                                     profile page with action links; hook
429                                     to hide them (for example)
430 - $userprofile: UserProfile widget
431 - &$profile: the profile being shown
432
433 StartProfilePageActionsElements: inside the list, before the first
434                                      element; prepend elements here
435 - $userprofile: UserProfile widget
436 - &$profile: the profile being shown
437
438 EndProfilePageActionsElements: inside the list, after the last element;
439                                    append elements here
440 - $userprofile: UserProfile widget
441 - &$profile: the profile being shown
442
443 EndProfilePageActionsSection: After showing the section of the profile
444                                   page with the entity actions
445 - $userprofile: UserProfile widget
446 - &$profile: the profile being shown
447
448 StartProfilePageAvatar: before showing the avatar on the profile page
449 - $userprofile: UserProfile widget
450 - &$profile: the profile being shown
451
452 EndProfilePageAvatar: after showing the avatar on the profile page
453 - $userprofile: UserProfile widget
454 - &$profile: the profile being shown
455
456 StartProfilePageNickname: before showing the nickname on the profile page
457 - $userprofile: UserProfile widget
458 - &$profile: the profile being shown
459
460 EndProfilePageNickname: after showing the nickname on the profile page
461 - $userprofile: UserProfile widget
462 - &$profile: the profile being shown
463
464 StartProfilePageFullName: before showing the fullname on the profile page
465 - $userprofile: UserProfile widget
466 - &$profile: the profile being shown
467
468 EndProfilePageFullName: after showing the fullname on the profile page
469 - $userprofile: UserProfile widget
470 - &$profile: the profile being shown
471
472 StartProfilePageLocation: before showing the location on the profile page
473 - $userprofile: UserProfile widget
474 - &$profile: the profile being shown
475
476 EndProfilePageLocation: after showing the location on the profile page
477 - $userprofile: UserProfile widget
478 - &$profile: the profile being shown
479
480 StartProfilePageHomepage: before showing the homepage link on the profile page
481 - $userprofile: UserProfile widget
482 - &$profile: the profile being shown
483
484 EndProfilePageHomepage: after showing the homepage on the profile page
485 - $userprofile: UserProfile widget
486 - &$profile: the profile being shown
487
488 StartProfilePageBio: before showing the bio on the profile page
489 - $userprofile: UserProfile widget
490 - &$profile: the profile being shown
491
492 EndProfilePageBio: after showing the bio on the profile page
493 - $userprofile: UserProfile widget
494 - &$profile: the profile being shown
495
496 StartProfilePageProfileTags: before showing the tags on the profile page
497 - $userprofile: UserProfile widget
498 - &$profile: the profile being shown
499
500 EndProfilePageProfileTags: after showing the tags on the profile page
501 - $userprofile: UserProfile widget
502 - &$profile: the profile being shown
503
504 StartProfileList: when starting a list of profiles (before <ul>)
505 - $profilelist: ProfileList widget, with $profile, $action, and $out
506
507 EndProfileList: when ending a list of profiles (after </ul>)
508 - $profilelist: ProfileList widget
509
510 StartProfileListItem: when starting to show a profile list item
511 - $item: ProfileListItem widget
512
513 EndProfileListItem: after showing a profile list item
514 - $item: ProfileListItem widget
515
516 StartProfileListItemProfile: the profile data part of the item
517 - $item: ProfileListItem widget
518
519 EndProfileListItemProfile: the profile data part of the item
520 - $item: ProfileListItem widget
521
522 StartProfileListItemActions: the actions (buttons) for an item
523 - $item: ProfileListItem widget
524
525 EndProfileListItemActions: the actions (buttons) for an item
526 - $item: ProfileListItem widget
527
528 StartProfileListItemProfileElements: inside the <div>
529 - $item: ProfileListItem widget
530
531 EndProfileListItemProfileElements: inside the <div>
532 - $item: ProfileListItem widget
533
534 StartProfileListItemAvatar: Showing a profile list avatar
535 - $item: ProfileListItem widget
536
537 EndProfileListItemAvatar: Showing a profile list avatar
538 - $item: ProfileListItem widget
539
540 StartProfileListItemFullName: Showing the profile list full name
541 - $item: ProfileListItem widget
542
543 EndProfileListItemFullName: Showing the profile list full name
544 - $item: ProfileListItem widget
545
546 StartProfileListItemLocation: Showing the profile list location
547 - $item: ProfileListItem widget
548
549 EndProfileListItemLocation: Showing the profile list location
550 - $item: ProfileListItem widget
551
552 StartProfileListItemHomepage: Showing the profile list homepage
553 - $item: ProfileListItem widget
554
555 EndProfileListItemHomepage: Showing the profile list homepage
556 - $item: ProfileListItem widget
557
558 StartProfileListItemBio: Showing the profile list bio
559 - $item: ProfileListItem widget
560
561 EndProfileListItemBio: Showing the profile list bio
562 - $item: ProfileListItem widget
563
564 StartProfileListItemActionElements: Showing the profile list actions (prepend a button here, or replace all buttons)
565 - $item: ProfileListItem widget
566
567 EndProfileListItemActionElements: Showing profile list actions (append a button here)
568 - $item: ProfileListItem widget
569
570 StartUserXRDS: Start XRDS output (right after the opening XRDS tag)
571 - $action: the current action
572 - &$xrdsoutputter - XRDSOutputter object to write to
573
574 EndUserXRDS: End XRDS output (right before the closing XRDS tag)
575 - $action: the current action
576 - &$xrdsoutputter - XRDSOutputter object to write to
577
578 StartPublicXRDS: Start XRDS output (right after the opening XRDS tag)
579 - $action: the current action
580 - &$xrdsoutputter - XRDSOutputter object to write to
581
582 EndPublicXRDS: End XRDS output (right before the closing XRDS tag)
583 - $action: the current action
584 - &$xrdsoutputter - XRDSOutputter object to write to
585
586 StartCheckPassword: Check a username/password
587 - $nickname: The nickname to check
588 - $password: The password to check
589 - &$authenticatedUser: set to User object if credentials match a user.
590
591 EndCheckPassword: After checking a username/password pair
592 - $nickname: The nickname that was checked
593 - $password: The password that was checked
594 - $authenticatedUser: User object if credentials match a user, else null.
595
596 StartChangePassword: Before changing a password
597 - $user: user
598 - $oldpassword: the user's old password
599 - $newpassword: the desired new password
600
601 EndChangePassword: After changing a password
602 - $user: user
603
604 StartHashPassword: Generate a hashed version of the password (like a salted crypt)
605 - &$hashed: Hashed version of the password, later put in the database
606 - $password: The password that should be hashed
607 - $profile: Profile that this password and hash belongs to. Can be null.
608
609 StartSetUser: Before setting the currently logged in user
610 - $user: user
611
612 EndSetUser: After setting the currently logged in user
613 - $user: user
614
615 StartSetApiUser: Before setting the current API user
616 - $user: user
617
618 EndSetApiUser: After setting the current API user
619 - $user: user
620
621 StartHasRole: Before determing if the a profile has a given role
622 - $profile: profile in question
623 - $name: name of the role in question
624 - &$has_role: does this profile have the named role?
625
626 EndHasRole: Before determing if the a profile has a given role
627 - $profile: profile in question
628 - $name: name of the role in question
629 - $has_role: does this profile have the named role?
630
631 UserDeleteRelated: Specify additional tables to delete entries from when deleting users
632 - $user: User object
633 - &$related: array of DB_DataObject class names to delete entries on matching user_id.
634
635 GetUrlShorteners: Specify URL shorteners that are available for use
636 - &$shorteners: append your shortener to this array like so: $shorteners[shortenerName]=array('display'=>display, 'freeService'=>boolean)
637
638 StartShortenUrl: About to shorten a URL
639 - $url: url to be shortened
640 - $shortenerName: name of the requested shortener
641 - &$shortenedUrl: short version of the url
642
643 EndShortenUrl: After a URL has been shortened
644 - $url: url to be shortened
645 - $shortenerName: name of the requested shortener
646 - $shortenedUrl: short version of the url
647
648 StartCssLinkElement: Before a <link rel="stylesheet"..> element is written
649 - $action
650 - &$src
651 - &$theme
652 - &$media
653
654 EndCssLinkElement: After a <link rel="stylesheet"..> element is written
655 - $action
656 - $src
657 - $theme
658 - $media
659
660 StartStyleElement: Before a <style...> element is written
661 - $action
662 - &$code
663 - &$type
664 - &$media
665
666 EndStyleElement: After a <style...> element is written
667 - $action
668 - $code
669 - $type
670 - $media
671
672 StartScriptElement: Before a <script...> element is written
673 - $action
674 - &$src
675 - &$type
676
677 EndScriptElement: After a <script...> element is written
678 - $action
679 - $src
680 - $type
681
682 StartInlineScriptElement: Before a <script...> element is written
683 - $action
684 - &$code
685 - &$type
686
687 EndInlineScriptElement: After a <script...> element is written
688 - $action
689 - $code
690 - $type
691
692 StartLog: Before writing to the logs
693 - &$priority
694 - &$msg
695 - &$filename
696
697 EndLog: After writing to the logs
698 - $priority
699 - $msg
700 - $filename
701
702 StartBlockProfile: when we're about to block
703 - $user: the person doing the block
704 - $profile: the person getting blocked, can be remote
705
706 EndBlockProfile: when a block has succeeded
707 - $user: the person doing the block
708 - $profile: the person blocked, can be remote
709
710 StartUnblockProfile: when we're about to unblock
711 - $user: the person doing the unblock
712 - $profile: the person getting unblocked, can be remote
713
714 EndUnblockProfile: when an unblock has succeeded
715 - $user: the person doing the unblock
716 - $profile: the person unblocked, can be remote
717
718 StartSubscribe: when a subscription is starting
719 - $profile: Profile that is subscribing
720 - $other: Profile that is being subscribed to
721
722 EndSubscribe: when a subscription is finished
723 - $profile: Profile that is subscribing
724 - $other: Profile that is being subscribed to
725
726 StartUnsubscribe: when an unsubscribe is starting
727 - $profile: Profile that is unsubscribing
728 - $other: Profile that is being unsubscribed from
729
730 EndUnsubscribe: when an unsubscribe is done
731 - $profile: Profile that is unsubscribing
732 - $other: Profile that is being unsubscribed from
733
734 StartJoinGroup: when a user is joining a group
735 - $group: the group being joined
736 - $profile: the local or remote user joining
737
738 EndJoinGroup: when a user finishes joining a group
739 - $group: the group being joined
740 - $profile: the local or remote user joining
741
742 StartLeaveGroup: when a user is leaving a group
743 - $group: the group being left
744 - $profile: the local or remote user leaving
745
746 EndLeaveGroup: when a user has left a group
747 - $group: the group being left
748 - $profile: the local or remote user leaving
749
750 StartShowContentLicense: Showing the default license for content
751 - $action: the current action
752
753 EndShowContentLicense: Showing the default license for content
754 - $action: the current action
755
756 GetImTransports: Get IM transports that are available
757 - &$transports: append your transport to this array like so: $transports[transportName]=array('display'=>display)
758
759 NormalizeImScreenname: Normalize an IM screenname
760 - $transport: transport the screenname is on
761 - &$screenname: screenname to be normalized
762
763 ValidateImScreenname: Validate an IM screenname
764 - $transport: transport the screenname is on
765 - $screenname: screenname to be validated
766 - $valid: is the screenname valid?
767
768 SendImConfirmationCode: Send a confirmation code to confirm a user owns an IM screenname
769 - $transport: transport the screenname exists on
770 - $screenname: screenname being confirmed
771 - $code: confirmation code for confirmation URL
772 - $user: user requesting the confirmation
773
774 StartUserRegister: When a new user is being registered
775 - $profile: Profile object with new profile data (no ID yet)
776
777 EndUserRegister: When a new user has been registered
778 - $profile: Profile object with new profile data
779
780 StartRobotsTxt: Before outputting the robots.txt page
781 - &$action: RobotstxtAction being shown
782
783 EndRobotsTxt: After the default robots.txt page (good place for customization)
784 - &$action: RobotstxtAction being shown
785
786 StartGetProfileUri: When determining the canonical URI for a given profile
787 - $profile: the current profile
788 - &$uri: the URI
789
790 EndGetProfileUri: After determining the canonical URI for a given profile
791 - $profile: the current profile
792 - &$uri: the URI
793
794 StartGetProfileAcctUri: Get the acct: URI for a Profile (or throw ProfileNoAcctUriException)
795 - $profile: Profile of user we want to get acct: URI for
796 - &$acct:   string with the resulting acct: uri
797
798 EndGetProfileAcctUri: Last attempts to get the acct: URI for a Profile (or throw ProfileNoAcctUriException)
799 - $profile: Profile of user we want to get acct: URI for
800 - &$acct:   string with the resulting acct: uri
801
802 StartFindMentions: start finding mentions in a block of text
803 - $sender: sender profile
804 - $text: plain text version of the notice
805 - &$mentions: mentions found so far. Array of arrays; each array
806   has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
807   'title' (title of the link), 'position' (position of the text to
808   replace), 'text' (text to replace)
809
810 EndFindMentions: end finding mentions in a block of text
811 - $sender: sender profile
812 - $text: plain text version of the notice
813 - &$mentions: mentions found so far. Array of arrays; each array
814   has 'mentioned' (array of mentioned profiles), 'url' (url to link as),
815   'title' (title of the link), 'position' (position of the text to
816   replace), 'text' (text to replace)
817
818 StartShowSubscriptionsContent: before showing the subscriptions content
819 - $action: the current action
820
821 EndShowSubscriptionsContent: after showing the subscriptions content
822 - $action: the current action
823
824 StartShowUserGroupsContent: before showing the user groups content
825 - $action: the current action
826
827 EndShowUserGroupsContent: after showing the user groups content
828 - $action: the current action
829
830 StartShowAllContent: before showing the all (you and friends) content
831 - $action: the current action
832
833 EndShowAllContent: after showing the all (you and friends) content
834 - $action: the current action
835
836 StartShowSubscriptionsMiniList: at the start of subscriptions mini list
837 - $action: the current action
838
839 EndShowSubscriptionsMiniList: at the end of subscriptions mini list
840 - $action: the current action
841
842 StartShowGroupsMiniList: at the start of groups mini list
843 - $action: the current action
844
845 EndShowGroupsMiniList: at the end of groups mini list
846 - $action: the current action
847
848 StartDeleteUserForm: starting the data in the form for deleting a user
849 - $action: action being shown
850 - $user: user being deleted
851
852 EndDeleteUserForm: Ending the data in the form for deleting a user
853 - $action: action being shown
854 - $user: user being deleted
855
856 StartDeleteUser: handling the post for deleting a user
857 - $action: action being shown
858 - $user: user being deleted
859
860 EndDeleteUser: handling the post for deleting a user
861 - $action: action being shown
862 - $user: user being deleted
863
864 StartNoticeAsActivity: before converting a notice to an activity
865 - $notice: notice being converted
866 - &$activity: initially empty activity
867
868 EndNoticeAsActivity: after converting a notice to an activity (good time to customize!)
869 - $notice: notice being converted
870 - &$activity: activity, now more-or-less full
871
872 StartNoticeSaveWeb: before saving a notice through the Web interface
873 - $action: action being executed (instance of NewNoticeAction)
874 - &$authorId: integer ID of the author
875 - &$text: text of the notice
876 - &$options: additional options (location, replies, etc.)
877
878 EndNoticeSaveWeb: after saving a notice through the Web interface
879 - $action: action being executed (instance of NewNoticeAction)
880 - $notice: notice that was saved
881
882 StartRssEntryArray: at the start of copying a notice to an array
883 - $notice: the notice being copied
884 - &$entry: the entry (empty at beginning)
885
886 EndRssEntryArray: at the end of copying a notice to an array
887 - $notice: the notice being copied
888 - &$entry: the entry, with all the fields filled up
889
890 NoticeDeleteRelated: at the beginning of deleting related fields to a notice
891 - $notice: notice being deleted
892
893 FileDeleteRelated: at the beginning of deleting related fields to a File
894 - $notice: File being deleted
895
896 StartShowHeadTitle: when beginning to show the <title> element
897 - $action: action being shown
898
899 EndShowHeadTitle: when done showing the <title>
900 - $action: action being shown
901
902 StartShowPageTitle: when beginning to show the page title <h1>
903 - $action: action being shown
904
905 EndShowPageTitle: when done showing the page title <h1>
906 - $action: action being shown
907
908 StartDeleteOwnNotice: when a user starts to delete their own notice
909 - $user: the user doing the delete
910 - $notice: the notice being deleted
911
912 EndDeleteOwnNotice: when a user has deleted their own notice
913 - $user: the user doing the delete
914 - $notice: the notice being deleted
915
916 StartShowFeedLinkList: before showing the feed list in the sidebar
917 - $action: action being executed
918 - $feeds: list of feeds to show
919
920 EndShowFeedLinkList: after showing the feed list in the sidebar
921 - $action: action being executed
922 - $feeds: list of feeds shown
923
924 StartShowFeedLink: before showing an individual feed item
925 - $action: action being executed
926 - $feed: feed to show
927
928 EndShowFeedLink: after showing an individual feed
929 - $action: action being executed
930 - $feed: feed to show
931
932 StartShowNoticeForm: before showing the notice form (before <form>)
933 - $action: action being executed
934
935 EndShowNoticeForm: after showing the notice form (after <form>)
936 - $action: action being executed
937
938 StartShowEntryForms: microapp entry form tab data
939 - &$tabs: tab assoc array with 'tag' => (title, href to create new entry)
940
941 StartGrantRole: when a role is being assigned
942 - $profile: profile that will have the role
943 - $role: string name of the role
944
945 EndGrantRole: when a role has been successfully assigned
946 - $profile: profile that will have the role
947 - $role: string name of the role
948
949 StartRevokeRole: when a role is being revoked
950 - $profile: profile that will lose the role
951 - $role: string name of the role
952
953 EndRevokeRole: when a role has been revoked
954 - $profile: profile that lost the role
955 - $role: string name of the role
956
957 StartAtomPubNewActivity: When a new activity comes in through Atom Pub API
958 - &$activity: received activity
959 - $user: user publishing the entry
960 - &$notice: notice created; initially null, can be set
961
962 EndAtomPubNewActivity: When a new activity comes in through Atom Pub API
963 - $activity: received activity
964 - $user: user publishing the entry
965 - $notice: notice that was created
966
967 AdminPanelCheck: When checking whether the current user can access a given admin panel
968 - $name:  Name of the admin panel
969 - &$isOK: Boolean whether the user is allowed to use the panel
970
971 StartAdminPanelNav: Before displaying the first item in the list of admin panels
972 - $nav The AdminPanelNav widget
973
974 EndAdminPanelNav: After displaying the last item in the list of admin panels
975 - $nav The AdminPanelNav widget
976
977 StartActivityObjectFromNotice: When converting a notice to an activity:object
978 - $notice: The notice being converted
979 - &$object: The resulting object. Fill this and return false to override defaults.
980
981 EndActivityObjectFromNotice: After converting a notice to an activity:object
982 - $notice: The notice being converted
983 - &$object: The resulting object. Can be edited
984
985 StartActivityObjectFromProfile: When converting a profile to an activity:object
986 - $profile: The profile being converted
987 - &$object: The (empty) object. Fill it up and return false to override defaults.
988
989 EndActivityObjectFromProfile: After converting a profile to an activity:object
990 - $profile: The profile being converted
991 - &$object: The finished object. Can be tweaked
992
993 StartActivityObjectFromGroup: When converting a group to an activity:object
994 - $group: The group being converted
995 - &$object: The (empty) object. Fill and return false to override.
996
997 EndActivityObjectFromGroup:  After converting a group to an activity:object
998 - $group:  The group being converted
999 - &$object: The finished object. Tweak as needed.
1000
1001 StartImportActivity: when we start to import an activity
1002 - $user: User to make the author import
1003 - $author: Author of the feed; good for comparisons
1004 - $activity: The current activity
1005 - $trusted: How "trusted" the process is
1006 - &$done: Return value; whether to continue
1007
1008 EndImportActivity: when we finish importing an activity
1009 - $user: User to make the author import
1010 - $author: Author of the feed; good for comparisons
1011 - $activity: The current activity
1012 - $trusted: How "trusted" the process is
1013
1014 StartProfileSettingsActions: when we're showing account-management action list
1015 - $action: Action being shown (use for output)
1016
1017 EndProfileSettingsActions: when we're showing account-management action list
1018 - $action: Action being shown (use for output)
1019
1020 StartOpenNoticeListItemElement: Before the opening <li> of a notice list element
1021 - $nli: The notice list item being shown
1022
1023 EndOpenNoticeListItemElement: After the opening <li> of a notice list element
1024 - $nli: The notice list item being shown
1025
1026 StartCloseNoticeListItemElement: Before the closing </li> of a notice list element
1027 - $nli: The notice list item being shown
1028
1029 EndCloseNoticeListItemElement: After the closing </li> of a notice list element
1030 - $nli: The notice list item being shown
1031
1032 StartGroupEditFormData: Beginning the group edit form entries
1033 - $form: The form widget being shown
1034
1035 EndGroupEditFormData: Ending the group edit form entries
1036 - $form: The form widget being shown
1037
1038 StartGroupSave: After initializing but before saving a group
1039 - &$group: group about to be saved
1040
1041 EndGroupSave: After saving a group, aliases, and first member
1042 - $group: group that was saved
1043
1044 StartInterpretCommand: Before running a command
1045 - $cmd: First word in the string, 'foo' in 'foo argument'
1046 - $arg: Argument, if any, like 'argument' in 'foo argument'
1047 - $user: User who issued the command
1048 - &$result: Resulting command; you can set this!
1049
1050 EndInterpretCommand: Before running a command
1051 - $cmd: First word in the string, 'foo' in 'foo argument'
1052 - $arg: Argument, if any, like 'argument' in 'foo argument'
1053 - $user: User who issued the command
1054 - $result: Resulting command
1055
1056 StartGroupActionsList: Start the list of actions on a group profile page (after <ul>, before first <li>)
1057 - $action: action being executed (for output and params)
1058 - $group: group for the page
1059
1060 EndGroupActionsList: End the list of actions on a group profile page (before </ul>, after last </li>)
1061 - $action: action being executed (for output and params)
1062 - $group: group for the page
1063
1064 StartGroupProfileElements: Start showing stuff about the group on its profile page
1065 - $action: action being executed (for output and params)
1066 - $group: group for the page
1067
1068 EndGroupProfileElements: Start showing stuff about the group on its profile page
1069 - $action: action being executed (for output and params)
1070 - $group: group for the page
1071
1072 StartShowProfileTagContent: When showing a people tag page
1073 - $action: action being executed (for output and params)
1074
1075 EndShowProfileTagContent: After showing the contents of a people tag page
1076 - $action: action being executed (for output and params)
1077
1078 StartShowTaggedProfilesMiniList: at the start of mini list of tagged profiles
1079 - $action: action being executed (for output and params)
1080
1081 EndShowTaggedProfilesMiniList: at the end of mini list of tagged profiles
1082 - $action: action being executed (for output and params)
1083
1084 StartShowProfileTagSubscribersMiniList: at the start of mini list of people tag subscribers
1085 - $action: action being executed (for output and params)
1086
1087 EndShowProfileTagSubscribersMiniList: at the end of mini list of people tag subscribers
1088 - $action: action being executed (for output and params)
1089
1090 StartTagProfileAction: When starting to show profile tagging page
1091 - $action: action being executed (for output and params)
1092 - $profile: profile being tagged
1093
1094 EndTagProfileAction: After showing profile tagging page
1095 - $action: action being executed (for output and params)
1096 - $profile: profile being tagged
1097
1098 StartProfileCompletionSearch: When starting a profile search for autocompletion
1099 - $action: action being executed (for output and params)
1100 - &$profile: result Profile objects
1101 - $search_engine: the search engine
1102
1103 EndProfileCompletionSearch: After search results for profile autocompletion have been found
1104 - $action: profilec completion action
1105 - &$profile: current result Profile objects
1106 - $search_engine: The search engine object
1107
1108 StartShowTagProfileForm: When showing people tagging form
1109 - $action: action being executed (for output and params)
1110 - $profile: profile being tagged
1111
1112 EndShowTagProfileForm: After showing people tagging form
1113 - $action: action being executed (for output and params)
1114 - $profile: profile being tagged
1115
1116 StartSavePeopletags: When starting to save people tags
1117 - $action: action being executed (for output and params)
1118 - $tagstring: string input, a list of tags
1119
1120 EndSavePeopletags: After saving people tags
1121 - $action: action being executed (for output and params)
1122 - $tagstring: string input, a list of tags
1123
1124 StartProfiletagGetUri: when generating the Uri for a people tag
1125 - $profile_list: the people tag, a Profile_list object
1126 - &$uri: the URI
1127
1128 EndProfiletagGetUri: after generating the uri for a people tag
1129 - $profile_list: the people tag, a Profile_list object
1130 - &$uri: the URI
1131
1132 StartUserPeopletagHomeUrl: when generating the homepage url for a people tag
1133 - $profile_list: the people tag, a Profile_list object
1134 - &$url: the URL
1135
1136 EndUserPeopletagHomeUrl: after generating the homepage url for a people tag
1137 - $profile_list: the people tag, a Profile_list object
1138 - &$url: the URL
1139
1140 StartProfiletagPermalink: when generating the permalink url for a people tag
1141 - $profile_list: the people tag, a Profile_list object
1142 - &$url: the URL
1143
1144 EndProfiletagPermalink: after generating the permalink url for a people tag
1145 - $profile_list: the people tag, a Profile_list object
1146 - &$url: the URL
1147
1148 StartTagProfile: when tagging a profile
1149 - $tagger: profile tagging
1150 - $tagged: profile being tagged
1151 - $tag: the tag
1152
1153 EndTagProfile: after tagging a profile
1154 - $newtag: the newly created Profile_tag object
1155
1156 StartUntagProfile: when deleting a people tag
1157 - $ptag: the Profile_tag object being deleted
1158
1159 EndUntagProfile: after deleting a people tag
1160 - $orig: a copy of the deleted Profile_tag object
1161
1162 StartSubscribePeopletag: when subscribing to a people tag
1163 - $peopletag: Profile_list object being subscribed to
1164 - $profile: subscriber's profile
1165
1166 EndSubscribePeopletag: after subscribing to a people tag
1167 - $profile_list: the people tag, a Profile_list object: Profile_list object being subscribed to
1168 - $profile: subscriber's profile
1169
1170 StartUnsubscribePeopletag: when unsubscribing to a people tag
1171 - $profile_list: the people tag, a Profile_list object: Profile_list object being subscribed to
1172 - $profile: subscriber's profile
1173
1174 EndUnsubscribePeopletag: after unsubscribing to a people tag
1175 - $peopletag: Profile_list object being subscribed to
1176 - $profile: subscriber's profile
1177
1178 StartActivityObjectFromPeopletag: while starting to create an ActivityObject from a people tag
1179 - $profile_list: the people tag, a Profile_list object
1180 - &$object: activity object
1181
1182 EndActivityObjectFromPeopletag: after making an ActivityObject from a people tag
1183 - $profile_list: the people tag, a Profile_list object
1184 - &$object: activity object
1185
1186 StartPeopletagGroupNav: Showing the people tag nav menu
1187 - $menu: the menu widget; use $menu->action for output
1188
1189 EndPeopletagGroupNav: after showing the people tag nav menu
1190 - $menu: the menu widget; use $menu->action for output
1191
1192 StartShowPeopletagItem: when showing a people tag
1193 - $widget: PeopletagListItem widget
1194
1195 EndShowPeopletagItem: after showing a people tag
1196 - $widget: PeopletagListItem widget
1197
1198 StartSubscribePeopletagForm: when showing people tag subscription form
1199 - $action: action being executed (for output and params)
1200 - $peopletag: people tag being subscribed to
1201
1202 EndSubscribePeopletagForm: after showing the people tag subscription form
1203 - $action: action being executed (for output and params)
1204 - $peopletag: people tag being subscribed to
1205
1206 StartShowPeopletags: when showing a textual list of people tags
1207 - $widget: PeopletagsWidget; use $widget->out for output
1208 - $tagger: profile of the tagger
1209 - $tagged: profile tagged
1210
1211 EndShowPeopletags: after showing a textual list of people tags
1212 - $widget: PeopletagsWidget; use $widget->out for output
1213 - $tagger: profile of the tagger
1214 - $tagged: profile tagged
1215
1216 StartProfileListItemTags: when showing people tags in a profile list item widget
1217 - $widget: ProfileListItem widget
1218
1219 EndProfileListItemTags: after showing people tags in a profile list item widget
1220 - $widget: ProfileListItem widget
1221
1222 StartActivityObjectOutputAtom: Called at start of Atom XML output generation for ActivityObject chunks, just inside the <activity:object>. Cancel the event to take over its output completely (you're responsible for calling the matching End event if so)
1223 - $obj: ActivityObject
1224 - $out: XMLOutputter to append custom output
1225
1226 EndActivityObjectOutputAtom: Called at end of Atom XML output generation for ActivityObject chunks, just inside the </activity:object>
1227 - $obj: ActivityObject
1228 - $out: XMLOutputter to append custom output
1229
1230 StartActivityObjectOutputJson: Called at start of JSON output generation for ActivityObject chunks: the array has not yet been filled out. Cancel the event to take over its output completely (you're responsible for calling the matching End event if so)
1231 - $obj ActivityObject
1232 - &$out: array to be serialized; you're free to modify it
1233
1234 EndActivityObjectOutputJson: Called at end of JSON output generation for ActivityObject chunks: the array has not yet been filled out.
1235 - $obj ActivityObject
1236 - &$out: array to be serialized; you're free to modify it
1237
1238 StartNoticeWhoGets: Called at start of inbox delivery prep; plugins can schedule notices to go to particular profiles that would otherwise not have reached them. Canceling will take over the entire addressing operation. Be aware that output can be cached or used several times, so should remain idempotent.
1239 - $notice Notice
1240 - &$ni: in/out array mapping profile IDs to constants: NOTICE_INBOX_SOURCE_SUB etc
1241
1242 EndNoticeWhoGets: Called at end of inbox delivery prep; plugins can filter out profiles from receiving inbox delivery here.  Be aware that output can be cached or used several times, so should remain idempotent.
1243 - $notice Notice
1244 - &$ni: in/out array mapping profile IDs to constants: NOTICE_INBOX_SOURCE_SUB etc
1245
1246 StartDefaultLocalNav: When showing the default local nav
1247 - $menu: the menu
1248 - $user: current user
1249
1250 EndDefaultLocalNav: When showing the default local nav
1251 - $menu: the menu
1252 - $user: current user
1253
1254 StartShowAccountProfileBlock: When showing the profile block for an account
1255 - $out: XMLOutputter to append custom output
1256 - $profile: the profile being shown
1257
1258 EndShowAccountProfileBlock: After showing the profile block for an account
1259 - $out: XMLOutputter to append custom output
1260 - $profile: the profile being shown
1261
1262 StartShowGroupProfileBlock: When showing the profile block for a group
1263 - $out: XMLOutputter to append custom output
1264 - $profile: the profile being shown
1265
1266 EndShowGroupProfileBlock: After showing the profile block for a group
1267 - $out: XMLOutputter to append custom output
1268 - $group: the group being shown
1269
1270 StartShowConversation: start the listing of a conversation
1271 - $action: Action object (used mainly as HTMLOutputter)
1272 - $conv: Conversation object, has functions to retrieve relevant notices
1273 - $scoped: Profile for scoping (null if not logged in)
1274
1275 EndShowConversation: after the listing of a conversation
1276 - $action: Action object (used mainly as HTMLOutputter)
1277 - $conv: Conversation object, has functions to retrieve relevant notices
1278 - $scoped: Profile for scoping (null if not logged in)
1279
1280 StartShowThreadedNoticeTail: when showing the replies etc. to a notice
1281 - $nli: parent noticelistitem
1282 - $notice: parent notice
1283 - &$children: list of children
1284
1285 EndShowThreadedNoticeTail: when showing the replies etc. to a notice
1286 - $nli: parent noticelistitem
1287 - $notice: parent notice
1288 - $children: list of children
1289
1290 StartShowThreadedNoticeSub: when showing a reply to a notice
1291 - $nli: parent noticelistitem
1292 - $parent: parent notice
1293 - $child: child notice
1294
1295 EndShowThreadedNoticeSub: when showing a reply to a notice
1296 - $nli: parent noticelistitem
1297 - $parent: parent notice
1298 - $child: child notice
1299
1300 StartAddEmailAddress: when adding an email address through the Web UI
1301 - $user: user getting the new address
1302 - $email: email being added
1303
1304 EndAddEmailAddress: done adding an email address through the Web UI
1305 - $user: user getting the new address
1306 - $email: email being added
1307
1308 StartValidateEmailInvite: when validating an email address for invitations
1309 - $user: user doing the invite
1310 - $email: email address
1311 - &$valid: flag for if it's valid; can be modified
1312
1313 EndValidateEmailInvite: after validating an email address for invitations
1314 - $user: user doing the invite
1315 - $email: email address
1316 - &$valid: flag for if it's valid; can be modified
1317
1318 StartLocalURL: before resolving a local url for an action
1319 - &$action: action to find a path for
1320 - &$paramsi: parameters to pass to the action
1321 - &$fragment: any url fragement
1322 - &$addSession: whether to add session variable
1323 - &$url: resulting URL to local resource
1324
1325 EndLocalURL: before resolving a local url for an action
1326 - &$action: action to find a path for
1327 - &$paramsi: parameters to pass to the action
1328 - &$fragment: any url fragement
1329 - &$addSession: whether to add session variable
1330 - &$url: resulting URL to local resource
1331
1332 StartProfileGetAvatar: When getting an avatar for a profile
1333 - $profile: profile
1334 - $size: size of the avatar
1335 - &$avatar: avatar
1336
1337 EndProfileGetAvatar: After getting an avatar for a profile
1338 - $profile: profile
1339 - $size: size of the avatar
1340 - &$avatar: avatar
1341
1342 StartRegisterSuccess: Before showing the registration success message
1343 - $action: the registration action
1344
1345 StartRegisterSuccess: After showing the registration success message
1346 - $action: the registration action
1347
1348 StartDocFileForTitle: Before searching for a doc or mail template
1349 - $title: Title we're looking for
1350 - &$paths: Paths we're searching
1351 - &$filename: Filename so far (set this if you want)
1352
1353 EndDocFileForTitle: After searching for a doc or mail template
1354 - $title: Title we looked for
1355 - $paths: Paths we searched
1356 - &$filename: Filename so far (set this if you want)
1357
1358 StartReadWriteTables: when noting which tables must be read-write, even on read-only actions
1359 - &$tables: list of table names
1360 - &$rwdb: read-write database URI
1361
1362 EndReadWriteTables: after noting which tables must be read-write, even on read-only actions
1363 - $tables: list of table names
1364 - $rwdb: read-write database URI
1365
1366 StartShowInviteForm: Right before displaying the invitations form
1367 - $action: invitation action
1368
1369 EndShowInviteForm: After displaying the invitations form
1370 - $action: invitation action
1371
1372 StartSendInvitations: Right before sending invitations
1373 - $action: invitation action
1374
1375 EndSendInvitations: Right after sending invitations
1376 - $action: invitation action
1377
1378 StartShowInvitationSuccess: Right before showing invitations success msg
1379 - $action: invitation action
1380
1381 EndShowInvitationSuccess: After showing invitations success msg
1382 - $action: invitation action
1383
1384 StartUpgrade: when starting a site upgrade
1385
1386 EndUpgrade: when ending a site upgrade; good place to do your own upgrades
1387
1388 HaveIMPlugin: is there an IM plugin loaded?
1389 - &$haveIMPlugin: set me to true if you're loaded!
1390
1391 StartShowNoticeOptionItems: Before showing first controls in a notice list item; inside the div
1392 - $nli: NoticeListItem being shown
1393
1394 EndShowNoticeOptionItems: After showing last controls in a notice list item; inside the div
1395 - $nli: NoticeListItem being shown
1396
1397 StartNoticeInScope: Before checking if a notice should be visible to a user
1398 - $notice: The notice to check
1399 - $profile: The profile to check for scope
1400 - &$bResult: The boolean result; fill this in if you want to skip
1401
1402 EndNoticeInScope: After checking if a notice should be visible to a user
1403 - $notice: The notice to check
1404 - $profile: The profile to check for scope
1405 - &$bResult: The boolean result; overwrite this if you so desire
1406
1407 StartNoticeListPrefill: Before pre-filling a list of notices with extra data
1408 - &$notices: Notices to be pre-filled
1409 - $avatarSize: The avatar size for the list
1410
1411 EndNoticeListPrefill: After pre-filling a list of notices with extra data
1412 - &$notices: Notices that were pre-filled
1413 - &$profiles: Profiles that were pre-filled 
1414 - $avatarSize: The avatar size for the list
1415
1416 OtherAccountProfiles: Hook to add account profiles to a user account profile block
1417 - $profile: the Profile being shown
1418 - &$others: Modifiable array of profile info arrays. Each one has the following fields:
1419             href: link to the profile
1420             text: text for the profile
1421             image: mini image for the profile
1422
1423 CreateFileImageThumbnailSource: Hook to create image thumbnail source from a File
1424 - $file:    'File' object to source the image from
1425 - &$imgPath: Path to image file which can be used as source for our thumbnail algorithm.
1426 - $media:   MIME media type ('image', 'video', 'audio' etc.)
1427
1428 StartResizeImageFile: Hook to resize an image and output it to a file. No matching End event yet.
1429 - $imagefile: ImageFile object we're resizing.
1430 - $outpath:   string with output filepath
1431 - $box:       array with size ('width', 'height') and boundary box('x', 'y', 'w', 'h').
1432
1433 StartShowAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews).
1434 - $out:     HTMLOutputter class to use for outputting HTML.
1435 - $file:    'File' object which we're going to show representation for.
1436
1437 EndShowAttachmentRepresentation: Executed after Attachment representation, despite perhaps being unsupported media.
1438 - $out:     HTMLOutputter class to use for outputting HTML.
1439 - $file:    'File' object which we're going to show representation for.
1440
1441 ShowUnsupportedAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews).
1442 - $out:     HTMLOutputter class to use for outputting HTML.
1443 - $file:    'File' object which we're going to show representation for.