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

Quote:
Originally Posted by southie View Post
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

I am getting several of the same errors everytime i try to do the rebuild function...
Reply With Quote
  #33  
Old 08-25-2011, 04:10 AM
gmptp gmptp is offline
 
Join Date: Mar 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #34  
Old 09-01-2012, 10:55 AM
sudhir sudhir is offline
 
Join Date: Aug 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this mod is not working on my forum
Reply With Quote
  #35  
Old 01-10-2013, 09:47 PM
jjameson jjameson is offline
 
Join Date: Jan 2013
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this mod compatible with 4.2? OR is there another way to use profile pics as avatars?
Reply With Quote
  #36  
Old 03-10-2013, 11:03 PM
onespot onespot is offline
 
Join Date: May 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work :-\
Reply With Quote
  #37  
Old 07-16-2013, 12:05 AM
marianoaran marianoaran is offline
 
Join Date: Jun 2013
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #38  
Old 08-13-2013, 04:55 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #39  
Old 08-14-2013, 11:48 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #40  
Old 08-15-2013, 12:42 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bubble #5 View Post
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
If you look at the last time a mod is updated you can summarize that it is not up to date. If your going to state that it does not work in the current version, it is better that you state what does not work in the current version. instead of a blanket statement (I know you tried). It is kind of given that styles might be askew in an older modification, that doesn't mean the modification does not have true value.

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.
Reply With Quote
  #41  
Old 08-15-2013, 12:53 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
it is better that you state what does not work in the current version.
Which is precisely why I left a link explaining the issue
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:05 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.06198 seconds
  • Memory Usage 2,336KB
  • 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
  • (3)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
  • (3)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