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

Standardized Avatar #25

Merged
merged 14 commits into from Oct 6, 2013
Merged

Standardized Avatar #25

merged 14 commits into from Oct 6, 2013

Conversation

geekwright
Copy link
Contributor

Avatars are now managed in a module, but were still tied directly to the user_avatar column in the user table, making replacing the avatars module unlikely. These changes standardize the way an avatar image url is obtained, how the 'blank.gif' no avatar specified indication is initialized and handled. Also, added an alternative to the avatars module, gravatars, which uses gravatar.com managed avatars.

No avatar selected is 'blank.gif' in user_avatar.
Use core.userinfo.avatar event to get avatar image URL (which is absolute.)
This program uses an array of specific user information rather than a user object, so core.userinfo.avatar listeners modified to also accept array.
 Instead of $xoops->disableErrorReporting(), a program can call $xoops->logger()->quiet() and any loggers which generate output as part of the page will stop the output. In the case of debugbar, the error reporting will continue, but be redirected to the currently displayed debugbar through headers, not page body content.
Some queries not being captured, using doctrine's logging mechanism solves this. Converted debugbar logger to use this method, leveraging some built in support. Conversion of other loggers will follow. When conversion is complete, we can remove all logging triggers from XOOPS database classes.
You will need to run 'composer update' to get changes.
Also resource updates in debugbar module, and some gitignore tweaks.
geekwright added a commit that referenced this pull request Oct 6, 2013
Standardized avatar, database logging cleanup
@geekwright geekwright merged commit 7e0703b into XOOPS:master Oct 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant