Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Photo As Avatar Details »»
Photo As Avatar
Version: 0.4, by Vitaly Vitaly is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.0.x Rating:
Released: 07-02-2010 Last Update: 07-03-2010 Installs: 28
Uses Plugins Auto-Templates
Re-useable Code Additional Files  
No support by the author.

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:
  • "Socialize" you forum. Real visitors likes to se their faces.
  • Simplify usage. Many people don't understand, why they can upload pictures in 2 places, and what is the difference.
Also, this mod makes sexy rounded corners for avatar. It seems strange, but forum impression become much better. See attached images.

Features:
  • Automatically generates avatars from profile photos
  • Round corners for avatars
  • PNG avatar format, compatible with any skin background
  • Mass rebuild avatars via ACP
  • Mass check/remove avatars from ACP (rebuild counters)
How to install:
  • !!! ACP -> Avatars -> User Pictures Storage Type. Move to filesystem, if not.
  • Upload files from appropriate folder and import product XML
  • Go to ACP and change settings each group. Those are recommended:
    • 160х160px - profile photo size
    • 80x80 - avatar size
  • Go to ACP -> Options -> User Pucture Options. Select corner rounding you like.
  • Go to ACP -> Rebuild counders. Run "Rebuild avatars from photos"
This mod is developped here http://github.com/rcdesign/vb-photo_as_avatar . Patches are welcome.

PS. Screenshots from vb3 version, don't care.

Download Now

File Type: zip vb-photo_as_avatar-0.4.zip (10.8 KB, 301 views)

Screenshots

File Type: jpg ppaa_avatar.jpg (21.7 KB, 0 views)
File Type: jpg ppaa_photo.jpg (84.3 KB, 0 views)
File Type: jpg ppaa_profile.jpg (39.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-31-2010, 12:02 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only from backup.

I've recorded bug with shared hosting, but can't promiss fast fix.
Reply With Quote
  #23  
Old 09-06-2010, 08:07 PM
lcbd's Avatar
lcbd lcbd is offline
 
Join Date: Jul 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #24  
Old 09-07-2010, 12:57 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #25  
Old 09-13-2010, 08:45 PM
tattooz tattooz is offline
 
Join Date: Aug 2010
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"
Reply With Quote
  #26  
Old 09-13-2010, 08:50 PM
tattooz tattooz is offline
 
Join Date: Aug 2010
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tattooz View Post
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"
I found it and commented out the lines.
Thanks
Reply With Quote
  #27  
Old 09-17-2010, 07:43 PM
tattooz tattooz is offline
 
Join Date: Aug 2010
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #28  
Old 10-02-2010, 10:41 AM
southie southie is offline
 
Join Date: Jul 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #29  
Old 10-02-2010, 08:51 PM
southie southie is offline
 
Join Date: Jul 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #30  
Old 10-03-2010, 04:49 AM
southie southie is offline
 
Join Date: Jul 2009
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 10-23-2010, 02:38 PM
Fusion2 Fusion2 is offline
 
Join Date: Oct 2006
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If someone doesnt upload a photo, does it use the default avatar or user-selected avatar?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:07 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
  • Page Generation 0.04618 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete