New MOD: TekTek.Org Avatar Gallery

Discussions of any technical geektastic discussion-type thingies related to the administration of these forums that the rest of us nontechnical non-geektastic discussion-type people would find utterly uninteresting.

Y'all have been computer-geek ghettoized.

New MOD: TekTek.Org Avatar Gallery

Postby Delphinan » Tue Feb 23, 2010 10:05 pm

A new MOD has been added to the forum: Tektek.org avatar gallery.

This MOD adds a new custom profile field tektekavatarstub which is populated by the suffix URL for the image provided by tektek.org dream avatar creator, minus the prefixing http://public5.tektek.org/ (assuming public5 may hurt later, will deal with it later if it proves a problem)

This custom field can be set by any user. Once filled in, the resulting image will appear for the user in the new Avatar Gallery.

The Avatar Gallery is added to the overall header for logged in users next to the Members list (where the order is FAQ > Members > Avatar Gallery > Logout)
This page displays a grid (hardcoded 6 across, believed to suit most resolutions without verifying :) ) of the users with defined Tektekavatarstub fields, displaying each avatar image along with the user's name with appropriate user color (and linking to the user's profile). The image is not clickable.

The avatar gallery is in alphabetical order of the user name.
User avatar
Delphinan
Site Admin
 
Posts: 1587
Joined: Tue Jun 17, 2008 7:32 pm

Re: New MOD: TekTek.Org Avatar Gallery

Postby Delphinan » Sat Feb 27, 2010 11:02 am

The Avatar Gallery now checks the Status custom profile field for status 2-Missing/Dead. In this case, the background of the avatar cell is changed to silver.
User avatar
Delphinan
Site Admin
 
Posts: 1587
Joined: Tue Jun 17, 2008 7:32 pm

Re: New MOD: TekTek.Org Avatar Gallery

Postby Delphinan » Sun Mar 28, 2010 8:23 am

Image width of the gallery changed to 7 from 6.
User avatar
Delphinan
Site Admin
 
Posts: 1587
Joined: Tue Jun 17, 2008 7:32 pm

Re: New MOD: TekTek.Org Avatar Gallery

Postby Delphinan » Mon Apr 18, 2011 8:56 pm

Several updates to this MOD now:

1) The avatar maximum sizing for the board is increased from (120 x 120) to (120 x 150).
2) The avatar maximum size for the board is increased from 20000 bytes to 28000 bytes.
3) The custom profile field pf_tektekavatarstub is increased from 35 characters to 100, with changes to the description to indicate that http://public5.tektek.org is no longer the assumed prefix. Users may put in any URL for a PNG, GIF or JPG file within the maximums listed in 1) and 2). Invalid URLs (either by URI, dimensions, file size, etc.) are silently accepted, but produce no triggered upload for 4) below
4) New URL's for the tektekavatar custom profile field trigger an upload of the picture to the local server, stored as an alternate avatar for the user. The file download function now recognizes an avatar of 'z'<userid> with the extension as given by the custom profile field as the alternate avatar name to display. The previous such image, if any, is copied with a prefix of 'bak_' as a small safety net.
5) The Avatar Gallery now displays from the local alternate avatars as uploaded from the custom profile field tektekavatar usage.

All users previously having avatars in the gallery have already had these alternate avatars uploaded to the local server.

Note this update will increase the bandwidth usage of this site depending on frequency of avatar gallery viewings and browser cacheing of the user. Each such alternate avatar is limited to 21k- so this should not be a significant change, though each call to the gallery will generate an individual picture request to the server for each character image, currently near 50, if not cached by the user's browser.

Please communicate any trouble or issues with this update to this MOD.
User avatar
Delphinan
Site Admin
 
Posts: 1587
Joined: Tue Jun 17, 2008 7:32 pm

Re: New MOD: TekTek.Org Avatar Gallery

Postby Fetch » Tue Apr 19, 2011 8:09 am

Wow. Thank you :)
User avatar
Fetch
Ring Member
 
Posts: 3922
Joined: Wed Jun 11, 2008 10:01 pm

Re: New MOD: TekTek.Org Avatar Gallery

Postby Delphinan » Tue Jan 24, 2012 12:37 am

A fix to the code for the gallery:

1) Avatar filesize is increased from 28000 to 34000 bytes to handle the 120 x 150 size
2) Our hosting solution had configuration to default phpbb 'safe mode' to on. The avatar uploading routine in functions_upload.php now ignores this parameter for checking for remote avatar urls. This was silently preventing the upload of images for several users. Another reason for the quiet lack of upload was the avatar picture size, which has been increased by #1 here.

The avatar gallery view has been checked and all gallery items with invalid images have been updated.

Note: while checking these values, it was found that some of the older images are no longer available from tektek easily by the URL given, the tektek asking users to resave/regenerate the image. Fortunately, those images already uploaded to this forum (which is everyone on the gallery) are saved, though the profile URL may not go directly to the image any longer.

Please post for any issues or strangeness encountered after this update.
User avatar
Delphinan
Site Admin
 
Posts: 1587
Joined: Tue Jun 17, 2008 7:32 pm


Return to Board Technical Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron