![]() |
Profile Picture in Postbit
1 Attachment(s)
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 |
Demo Please...tnks
|
On my site, only logged in members can view the picture/details, so can't really demo it from that. You can install it and see. It does not change anything in your system, so can uninstall it just as easily.
|
I don't get it?? I've installed it but nothing has changed.. Where is this meant to show up?
|
screenshot?
|
Quote:
|
Quote:
|
Why would I bother when there is custom avatars?
|
I think I'll leave this... Thanks anyway but I don't see a need at the moment for my site..
Thanks |
Quote:
Quote:
|
v1.1 should take care of issue for profile pics stored in database....
|
Who ist that for Version 3.8.4 ??
|
screenshot?
|
1 Attachment(s)
screenshot per popular request...
|
Quote:
|
ok, but isnt there an avatar already in the postbit?
|
Does this resize the picture or does it just constrain the pixel dimensions?
|
Quote:
|
Quote:
|
Quote:
What's the point of it then? You could just get rid of the profile photo option and rename 'avatar' in your language pack. |
1 Attachment(s)
Thanks for nice mod i have a question can we change pic size because in my site pic's are geting out of posbit i attache a pic plz have a look thanks
|
Quote:
|
Quote:
Code:
$template_hook['postbit_userinfo_right_after_posts'] .= '<dd> <img src=' . $post[profileurl] . ' ></dd>'; |
Quote:
Code:
$template_hook['postbit_userinfo_right_after_posts'] .= '<dd> <img height="200" width="170" |
Was easy to install, and looks great!
It would be cool if you could also choose where in Postbit to display the image. The avatar is displayed above user info, but your picture mod displays the image below the user info. Would be awesome if you could have an option to post above or below. |
I upgraded to 4.08 and now this add-on doesnt work. Any ideas?
|
this is still working for me as of 4.1.5
|
Works fine on 3.8.7 !! Thanks!
|
Quote:
IF user has avatar -> show avatar ELSE -> IF user has profilepicture -> show profilepicture So here it is my fix. 1. change in plugin Profile Pic in Postbit (AdminCP => Plugin Manager => Profile Pic in Postbit => Edit): Code:
$template_hook['postbit_userinfo_right_after_posts'] .= '<dd> <img src=' . $post[profileurl] . ' ></dd>'; Code:
$template_hook['postbit_userinfo_avatar'] .= '<dd> <center><img src=' . $post[profileurl] . ' style="max-width:150px;"></center></dd>'; Code:
<vb:if condition="$show['avatar']"> Code:
<vb:if condition="$show['avatar']"> |
All times are GMT. The time now is 03:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|