Support Forum

Please review sp_UnreadPostsInfo(), sp_UserAvatar(), and sp_UserNotices().

KW Ken Wilson
Ken Wilson
Member

Please review the updated Codex pages listed below. Whomever reviews a page, please indicate it is ready to publish or list the additional work required to make it ready to publish.

sp_UnreadPostsInfo()
0. Ready to publish after review.
1. ‘markId’      => ‘spMarkRead’, added to args. Please check definition.
2. ‘count’ => 0, added to args. Please check definition.
3. ‘group’ => 1, added to args. Please check definition.
4. ‘mobileMenu’ => 0, added to args and given standard definition.
5. ‘get’ => 0, added to args and given standard definition.
6. ‘popup’ definition revised.  Please review.
7. ‘first’ definition revised.  Please review.
8.  Changelog to 3/24/14 standard.
9. Source Code section added.
10. General format updates.

sp_UserAvatar() 
0. Ready to publish after review.
1. Added: •apply_filters(‘sph_Avatar_’.$context, $avatarData, $a) – Allows themes/plugins to add new avatar user types.
2. Added •apply_filters(‘sph_Avatar’, $avatarData, $a) – Allows themes/plugins to filter the final avatar data.
3. Removed because not in code:  •apply_filters(‘sph_Avatar’, $out, $avatarData, $a) .
4. ‘echo’ and ‘get’ to standard definition.
5. Changelog to 3/24/14 standard.
6. Related section removed because the input was “None”.
7. General format updates.

sp_UserNotices()
0. Ready to publish after review.
1.’get’ added to args and given standard definition.
2. ‘echo’ given standard definition.
3.Added:  apply_filters(‘sph_UserNotices_Custom’, $m, $a). Please check description.
4. Changelog to 3/24/14 standard.
5. Source Code section added.
6. General format updates.

1 Answer

New Answer

MP Mr Papa
Mr Papa
Member

published… minor tweaks to notice hook description…