PCR Avatar (pcr_avatar)
PunBB 1.3 extension under development
- Current version: 0.1.31 (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
- Secure remote avatar (ported the sanitizing function from phpBB)
To do
- Add fields in the admin panel to configure the minimum avatar size
- Make a gallery explorer
- Automatically get avatar size (remote and gallery)
- 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.31
Just a preview to show the work in progress. There should be a good enough security around remote avatars (I ported the remote avatar function from phpBB). The remote picture size is checked. There is still no gallery explorer either (users can pick an avatar from the gallery but to do so they need to know its path). Could perhaps be used on a live board… I do on mine. But as the license says “This program is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE”.
Former versions
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.
- (download link removed)
License
PCR Avater is licensed under the GNU GPL v3 or later (see LICENSE.txt).