Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2012, 01:11 AM
LilyVO30 LilyVO30 is offline
 
Join Date: Dec 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help PLEASE! Swapping Avatars With Profile Pics

Hi,

I am still in the process of editing my forum and am trying to replace all instances of avatars with profile pics. To me there is no reason to have both.

In theory I think going to admin pc> avatars > user picture storate type> avatar file path> ./customavatars

can just be changed to admin pc> avatars > user picture storate type> avatar file path> ./customprofilepics

But when I make a change it appears that this causes rewritting of file paths which I don't know if that will cause issues.

Do you have any suggestions, I truly don't understand this whole avatar crap. People can put up their own profile photo and that should be what is used to represent them throughout the forum.

I have attached a photo of the window where this is changed.

Also would love other suggestions if there is a better option out there.

THANK YOU VERY MUCH FOR YOUR TIME!!!

LILY
Attached Images
File Type: jpg Picture 7.jpg (64.2 KB, 0 views)
Reply With Quote
  #2  
Old 01-09-2012, 09:37 PM
LilyVO30 LilyVO30 is offline
 
Join Date: Dec 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just incase anyone else wanted to know this is what I found out from vbulletin

"Regarding pointing to the .customprofilepics directory instead of the .customavatars directory. That would just mean the avatars would now be saved in the .customprofilepics directory. So, that isn't going to work for what you want to do."

I wish someone would come up with a solution for this. I just don't understand the need to use both images.
Reply With Quote
  #3  
Old 01-09-2012, 09:52 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't understand either, but in vb3 the profile picture was larger and in the center of the profile so it made a bit of sense. Anyway, it seems like it would be easier to use avatars everywhere because then you don't have to change most places (like posts). If I understand you, you really just want to have the avatar displayed in the profile where the profile picture is now, and eliminate the profile picture?
Reply With Quote
  #4  
Old 01-09-2012, 10:04 PM
LilyVO30 LilyVO30 is offline
 
Join Date: Dec 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, yes, I don't care which one works I just don't want there to be 2 different options. Do you have a suggestion for replacing the profile pic instead?

Thanks!
Reply With Quote
  #5  
Old 01-09-2012, 10:50 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I think maybe the easiest thing to do would be to edit the MEMBERINFO template and find {vb:raw blocks.profile_picture} and change it to {vb:raw blocks.stats_mini}. Then find the {vb:raw blocks.stats_mini} below that and delete it. That will move the block of info with the avatar in it up to where the profile picture was. There are other ways but it gets more complicated.

ETA: If you also go to the usergroup manager and edit the "Registered Users" group (or any other groups you may have created) and set "Can Upload Profile Picture" to No, the option to edit the profile picture will not be there.
Reply With Quote
  #6  
Old 01-10-2012, 01:43 AM
RobertB420 RobertB420 is offline
 
Join Date: Aug 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sooooo has anyone have an update on this?


Quote:
Originally Posted by kh99 View Post
Well I think maybe the easiest thing to do would be to edit the MEMBERINFO template and find {vb:raw blocks.profile_picture} and change it to {vb:raw blocks.stats_mini}. Then find the {vb:raw blocks.stats_mini} below that and delete it. That will move the block of info with the avatar in it up to where the profile picture was. There are other ways but it gets more complicated.

Did this work?!?!?
Reply With Quote
  #7  
Old 01-10-2012, 02:29 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't you just turn off profile pictures and then everyone would upload the image as an avatar (or vice versa)? (Which is what Kevin recommended in post 5.)
Reply With Quote
  #8  
Old 01-10-2012, 03:12 AM
LilyVO30 LilyVO30 is offline
 
Join Date: Dec 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kevin,

Thanks for your response. I did as you said and the only change I see is that the profile photo disappears. Check out my profile http://powerliftingforwomen.com/foru...r.php?1-LilyVO. I also attached a photo.

Do you think I am missing a step?

Thanks,

Lily

PS: Lynne, thanks for the comment. Unfortunately turning off the profile pic is just one step. I want the avatar to show up where the profile pic was.
Attached Images
File Type: jpg Picture 12.jpg (83.2 KB, 0 views)
Reply With Quote
  #9  
Old 01-10-2012, 03:20 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The changes also have moved the block of data with the avatar up to the top (but you might have to look at two pages side by side to see it). To get just the avatar up where the profile picture was, I think it will take some coding. I'll look at it tomorrow.
Reply With Quote
  #10  
Old 01-10-2012, 03:49 AM
LilyVO30 LilyVO30 is offline
 
Join Date: Dec 2011
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really really appreciate it! Thank you. This is all way over my head!
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 10:19 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
  • Page Generation 0.04038 seconds
  • Memory Usage 2,271KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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