Profile Picture in Postbit
This mod shows the user profile picture in the postbit template for all posters.
Ver 1.1 : Fix for profile pics stored in database. Just reimport the product. Ver 1.0 : Original Release. -- Installation: Just add the attached product xml file. Uninstallation: Just remove the product. Please Note: If the pictures are stored in the filesystem, this mod checks that an profile picture exists by checking the user table's profilepicrevision field (>0 implies a pic exists (or at least existed)). Sometimes it will result in file not found error (no problem on the rendered page, but still an invalid image pull) if the user deletes their pic, but that can be updated by running this sql query periodically. Code:
update user set profilepicrevision = 0 where user.userid not in (select userid from customprofilepic); .. ndahiya Download
product-profile_pic_in_postbit.xml (1.5 KB, 124 downloads) |