Support Forum

Please review new Codex pages for 5.5.1: sp_UserGroupList() and sp_PostIndexUserFlexSignature()

KW Ken Wilson
Ken Wilson
Member

Made Codex pages for new functions in 5.5.1 and saved as “Draft.”  Protections set.  Pages marked as “complete.”
Will someone Please review before I publish.  Please let me know if they can be published or what corrrections need to be made.

In Common View Template Tags:
sp_UserGroupList()

In Topic View Template Tags:
sp_PostIndexUserFlexSignature()

5 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Sorry for the delay Ken. The forums have been so slow and sluggish to load over the past few days I have just been answering support questions when able. OK…

sp_UserGroupList()

Special Notes
This function is incorporated in the Reboot theme’s footer (spFoot.php) of the forum pages but can be used elsewhere on a forum page.

Actually not the case. If you found it in the Reboot theme at some point that was simply for testing. We do not use this function anywhere ourselves and it is doubtful it will ever be incorporated into a theme by default. It is simple available should someone want to use it. I think it IS worth mentioning, however, that the main intention is to use this function to display a list of UG members in the statistics area. Although it is not limited to that of course.

sp_PostIndexUserFlexSignature()

Special Notes
…This function is supported by the reboot theme and could be placed in the spTopicView.php file…

Rather than being restrictive and saying supported by the reboot theme (which is not even publicly available yet) I think it would be better to just say that i is designed to be used by any SP theme that utilises CSS3 Flexbox.

 

Steve: Make sense to you?

MP Mr Papa
Mr Papa
Member

yes…  except for the forum loading… 🙂  have not seen that issue…

KW Ken Wilson
Ken Wilson
Member

Are these Codex pages proper to publish now that the following changes have been incorporated?  If not, please indicate the additional changes required.  Thanks.

sp_UserGroupList()

Special Notes now reads:

This function is available for use on a SP forum page.  The main intention for its development is to display a list of User Group members in the statistics area, although it is not limited to that use.  For displaying in the statistics area, the function would be added to the footer (spFoot.php) template file in the appropriate theme folder.

 

sp_PostIndexUserFlexSignature()

Special Notes now reads:

The signature displayed by this function is the one in the user’s profile viewed by clicking the “profile” button on the forum page and then clicking “Edit Signature”. This function is designed to be used by any SP theme that utilizes CSS3 Flexbox.  The function would be placed in the spTopicView.php template file for that theme. It must be used in Topic post loop. It could run as an alternative to the standard sp_PostIndexUserSignature().

KW Ken Wilson
Ken Wilson
Member

Published new Codex pages:

sp_UserGroupList()

sp_PostIndexUserFlexSignature()