This is an old revision of the document!
Table of Contents
PCR Avatar (pcr_avatar)
PunBB 1.3 extension under development
- Current version: 0.1.16 (preview/pre-alpha)
General idea
- Adds the following avatar functionalities:
- Remote avatar
- Avatar gallery
Specification
Done
- Add an option to toggle avatar upload
- Add options to toggle remote avatar and avatar gallery
- Add the option to set the gallery path
- Let the user choose a remote avatar, let them choose a gallery avatar
To do
- Make a gallery explorer
- Automatically get avatar size (remote and gallery)
- Secure remote avatar (don't let the user make the server run a random query to another site…)
- Secure the gallery?
- Are PunBB extensions already protected against SQL injections by the way PunBB handles additional variables or do we need to do it ourselves?
- Clean the gallery path chosen by the admin so that it doesn't matter whether or not an ending slash is specified
- Improve the cache (currently it isn't always updated when it should)… or maybe replace it with a database field? (is this cache really good when there are 10k users with an avatar ⇒ the cache file would be around 1MiB…)
Current version: pcr_avatar 0.1.16
Just a preview to show the work in progress. There is no security or picture size checks yet, and no gallery explorer either (users can pick an avatar from the gallery but to do so they need to know its path). Do not use on a live board.
License
PCR Avater is licensed under the GNU GPL v3 or later (see LICENSE.txt).