Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various updates to the profile's statistics page #4921

Merged

Conversation

NanoSector
Copy link
Contributor

@NanoSector NanoSector commented Aug 15, 2018

This modifies the integrate_profile_stats hook to include a new argument with which mod authors can easily add new statistics to this page.

Signed-off-by: NanoSector <rick.2889@gmail.com>
This also modifies
Create an array of the stats from the source side. This has an added benefit of mod authors being able to hook into this without modifying the template directly, via the integrate_profile_stats hook which got a new argument. Another benefit is that I've added url support so the stats can now link to other pages.

Signed-off-by: NanoSector <rick.2889@gmail.com>
@jdarwood007 jdarwood007 merged commit 0fb836b into SimpleMachines:release-2.1 Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants