![]() |
Photo As Avatar
1 Attachment(s)
port of vb3 version, with mass-check feature.
This mod completely disables standard avatar functionality and generates avatars automaticaly from profile photos. That helps with 2 points:
Features:
PS. Screenshots from vb3 version, don't care. |
pls upload the product + files here !!! the other run not -.-
|
Ups... sorry for mistake. Missed by accident. Fixed.
|
i have now install it ..
where can i say .. make all avatars round now ? i dont fint a option for this .. the other run verry good ;) good job ;) |
Go to ACP -> Options -> User Pucture Options. Set rounding you need. Check with new upload. If ok - rebuild avatars in ACP -> Maintenance -> Update Counters.
Updated mod description (how to install). |
when i click the update counters "Rebuild Profile Photo Avatar Thumbnails"
come this PHP Code:
|
1. Have you uploaded all files from ZIP or only imported XML ?
2. Move avarats to file system, don't keep those in database. |
hmm where can i say the vb .. filebase not database save for avatars ?
hmm i have all files upload ! |
ACP -> Avatars -> User Pictures Storage Type.
I didn't checked mod with DB stirage - it's quite useless and make server load. PS. Do the same for all. ACP -> Attachments -> Storage type ACP -> Groups -> Storage type |
looks good thanks ;) i love it !! good job
|
This is great!
Just so you know works great with these sizes avatar 160x160 Profile pic 220x220 |
Vitaly any idea why its only allowing "jpeg's" to be used
i did have png and gifs on also. But now there not Thanks |
If i remember correct, that was specially hardcoded for some reasons.
Do you really have PHOTOS in non-jpeg formats? Could you describe use-case? |
Quote:
plus most of my images i use are png's Gifs for movement's Thanks |
But this mod is for PHOTOS, and it will never handle animated gifs. That's a complex task, wich require much more coding than exists now.
|
Quote:
anyways ok am not fussed about animated Gifs but png's/Normal Gif's would be nice if it can be done Thanks |
confused Vitaly, what does this mean??
ACP -> Avatars -> User Pictures Storage Type. Quote:
EDIT___________________ i got it __________________ great! Looks Good... |
Ok ..installed and did everything in the instructions..but got lots of errors when i did the rebuild step. So i reversed it ..took my pictures back to database and uninstalled the mod..but now i cant see any avatars in my threads or on the forum sideblocks. The profiles if i look at them have the profile pic but no avatars. How do i fix this. cause this script messed up my site. Looks like this mod deleted all the avatars in the members profiles :(
Check http://www.vannihagen.no/forum.php here are some of the errors i get Maintenance Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/tmp/5d4b9bc533d7a2868670486bfc249e7dtmp_avatar_img) is not within the allowed path(s): (/customers/vannihagen.no/vannihagen.no:/var/www/diagnostics:/usr/share/php) in [path]/includes/functions_avatar.php on line 37 Warning: fopen(/tmp/5d4b9bc533d7a2868670486bfc249e7dtmp_avatar_img) [function.fopen]: failed to open stream: Operation not permitted in [path]/includes/functions_avatar.php on line 37 1 Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/tmp/1e5c0bf511dd0e1a811bbd7b701cbe31tmp_avatar_img) is not within the allowed path(s): (/customers/vannihagen.no/vannihagen.no:/var/www/diagnostics:/usr/share/php) in [path]/includes/functions_avatar.php on line 37 Warning: fopen(/tmp/1e5c0bf511dd0e1a811bbd7b701cbe31tmp_avatar_img) [function.fopen]: failed to open stream: Operation not permitted in [path]/includes/functions_avatar.php on line 37 2 Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/tmp/69b15426369b1786bd926a62953f3159tmp_avatar_img) is not within the allowed path(s): (/customers/vannihagen.no/vannihagen.no:/var/www/diagnostics:/usr/share/php) in [path]/includes/functions_avatar.php on line 37 Warning: fopen(/tmp/69b15426369b1786bd926a62953f3159tmp_avatar_img) [function.fopen]: failed to open stream: Operation not permitted in [path]/includes/functions_avatar.php on line 37 7 Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/tmp/66ac615b21e4c0af5e1a6a5b86877b08tmp_avatar_img) is not within the allowed path(s): (/customers/vannihagen.no/vannihagen.no:/var/www/diagnostics:/usr/share/php) in [path]/includes/functions_avatar.php on line 37 Warning: fopen(/tmp/66ac615b21e4c0af5e1a6a5b86877b08tmp_avatar_img) [function.fopen]: failed to open stream: Operation not permitted in [path]/includes/functions_avatar.php on line 37 13 |
Seems you have php soukhosin patch at dedicated server?
|
im at a shared server. How do i get the avatars back ? or is that not possible ?
|
Only from backup.
I've recorded bug with shared hosting, but can't promiss fast fix. |
Vitaly, would you consider extending your addon to work like this.
1. When a member uploads a profile photo that you display the photo. 2. However, when a member has uploaded an avatar that you then display the avatar. Note a, thus the profile photo is only used if the avatar isn't uploaded. Note b, thus the avatar image takes preference over the profile photo if both exists. Kind regards Emmanuel van der Meulen |
I'm wondering what's to stop a user from uploading an avatar for the profile pic? That's the first thing I would do to get around this.
Then again, I can count on one hand the number of my members that have bothered to upload a profile pic. And they're all smart enough to use that as an avatar if they wanted to. |
Love the idea of the mod but how do I change the text? Not only is it spelled wrong but the warning makes no sense. You are telling people NOT to upload an image? WTF??
"You can upload you real foto, to allow visitors see you. In this case, your face MUST be well seen. Please, check result after upoload. Warning! Don't upload image, that violate requirements! In case of violation, your account can be locked" |
Quote:
Thanks |
Love the mod, only problem I see is when you go into the profile and scroll down to "friends", it is not showing any avatars. I did the rebuild thing a couple times, but no go.
Any ideas? |
i installed the mod, it works on my member.php pages for the user profiles and everywhere else, but on the forum side blocks and on other mods i have installed that use avatars for comments its not showing the profile pics. any way to fix this ?
|
nm. i got it working now. nice mod marked it as installed and about to vote it now. would love to see more profile mods
|
i see a bug when a user uploads a profile photo
this error msg appears on the redirect page Warning: fopen(../image.php?u=150&dateline=1286082305&type=p rofile) [function.fopen]: failed to open stream: No such file or directory in [path]/includes/functions_avatar.php on line 36 |
If someone doesnt upload a photo, does it use the default avatar or user-selected avatar?
|
Quote:
I am getting several of the same errors everytime i try to do the rebuild function... |
I just tried also same error below for v3.8.7 (same goes to v4 as per this thread similar error), will the developer come forward to advice please............
-------- Warning: fopen(../image.php?u=1&dateline=1314244202&type=pro file) [function.fopen]: failed to open stream: No error in [path]\includes\functions_avatar.php on line 36 Warning: fopen(/tmp/c20b4b7e7348d88006f179d1f0cbc252tmp_avatar_img) [function.fopen]: failed to open stream: No such file or directory in [path]\includes\functions_avatar.php on line 37 i've already move from dbase to file system for avatar and attachment and social group but still getting line 36/37 error, what could be wrong? help............. --------------- PS. Do the same for all. ACP -> Attachments -> Storage type ACP -> Groups -> Storage type https://vborg.vbsupport.ru/showt...=245816&page=2 |
this mod is not working on my forum
|
Is this mod compatible with 4.2? OR is there another way to use profile pics as avatars?
|
Doesn't work :-\
|
Hello, I installed this in vB 4.2.1 and it seems to work ok, but I have to manually go to ACP> Maintenance > General Update tools > Rebuild Profile Photo Avatar Thumbnails for the avatars to show.
Is this supposed to update the avatars right after the user uploads their photo profile? |
Not sure if this is working correctly or not for 4.2.1
It's partially there but not formatted like in your example. There is no photo_samle.gif showing up. Any help would be appreciated. :) |
Just verified, this hack is NOT working on 4.2.1. Not only that but it will prevent animated avatars from working, and mess up your settings because the avatar link will no longer show up. See this thread for more information;
http://www.vbulletin.com/forum/forum...r-issues/page2 |
Quote:
The gracious author clearly states that it does not work for animated avatars. You checking the modification out and giving feedback is admirable, but be careful that you are not discrediting our awesome free mod authors. To the right person this mod is just a few simple fixes away from being very useful. Thanks for the ear. :) |
Quote:
|
All times are GMT. The time now is 06:05 PM. |
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:
|