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

Reply
 
Thread Tools Display Modes
  #21  
Old 11-18-2012, 07:25 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I didn't answer that question the first time because we have a dedicated server with an admin guy, so I don't understand everything about how it's set up (that's the site I work on, not vbulletin.org - I have no idea about this site). Anyway, ours is set to 775, but I think that works because the web server user's group and the "group" of the file are the same (again I'm talking about the linux concept of a group and not vbulletin).

I think the vb help says to set it to 777 so that you don't have to figure out all that stuff. I think it's safe to use 777.
Reply With Quote
  #22  
Old 11-18-2012, 08:02 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. chmod to 0777 on the ./images/avatars directory as well as the sub-directory thumbs but left the index.html file in both directories at 0644.

AdminCP > Maintenance > General Update Tools > Rebuild Custom Avatar Thumbnails and Rebuild Avatar Thumbnails no longer complains that it can't write there.

Still, even after that, and clearing the system cache, no one other than the Administrators has their avatars showing, nor their profile pictures.

--------------- Added [DATE]1353273912[/DATE] at [TIME]1353273912[/TIME] ---------------

Quote:
Originally Posted by Stefan118 View Post
But this crossed my mind...
Do you save your images in your database or on the filesystem?
That could explain something.
Found it. Images are currently being served from the database
Reply With Quote
  #23  
Old 11-18-2012, 08:25 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking at the html source on your site I don't see any code for the avatar on normal users, so it couldn't be a permission error (and write permissions would only affect uploading new ones). Or maybe I just happened to look at a user that had no avatar - can you link to a thread with a user you know should have an avatar?

Have you tried temporarily disabling hooks to see if there's a problem with a mod?
Reply With Quote
  #24  
Old 11-18-2012, 08:27 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here you go.

http://www.kubuntuforums.net/member....73-vinnywright

--------------- Added [DATE]1353274122[/DATE] at [TIME]1353274122[/TIME] ---------------

Quote:
Originally Posted by kh99 View Post
Have you tried temporarily disabling hooks to see if there's a problem with a mod?
There haven't been any MODS added prior to this issue being reported.
Reply With Quote
  #25  
Old 11-18-2012, 08:30 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see no avatar code, so I guess the forum thinks that user has no avatar for some reason, or else there's a mod affecting it. (Edit: I couldn't see the user's profile since I'm not logged in. Does the avatar show up there?).

BTW, just noticed your forum is about linux, so sorry if I was explaining stuff that you probably know better than I do.
Reply With Quote
  #26  
Old 11-18-2012, 08:35 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only 'addition' to our forum was the installation of ZB BLOCK, but it operates totally within it's own directory -- it doesn't touch anything outside of that. And, it was installed seven days ago, and I do remember seeing everybody's avatars after that. This issue seems to have presented itself within the past few days.

Originally Posted by kh99
Have you tried temporarily disabling hooks to see if there's a problem with a mod?

How does one 'temporarily disable hooks'? On a MOD per MOD basis, or 'globally'?
Reply With Quote
  #27  
Old 11-18-2012, 08:38 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh..check the usergroup manager, look at the "Can Upload Custom Avatars" setting. According to the code if the user has a custom avatar but that permission is set to "No", no avatar will display.
Reply With Quote
  #28  
Old 11-18-2012, 08:41 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can Upload Profile Pictures and Can Upload Custom Avatars are both set to Yes.

We are using the database to store these image files.
Reply With Quote
  #29  
Old 11-18-2012, 08:52 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To answer the above question I missed - to disable hooks you can edit includes/config.php and put this somewhere in the file (after the <?php line at the top):

Code:
define('DISABLE_HOOKS', true);

But like you said, if you haven't added anything it probably won't be that. You might try disabling zbblock just to make sure, but I don't really see how that could cause this problem.

So that user has a custom avatar? And if you go to the user's profile, can you see it there? I'm kind of out of ideas.
Reply With Quote
  #30  
Old 11-18-2012, 09:00 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already disabled zbblock earlier -- it didn't make a difference, and I didn't believe it would. But it was an attempt to 'eliminate' zbblock as a possible cause.

The user 'had' a custom avatar. It isn't showing in his user profile now, as is the case with all our other members who had avatars. As I said, this issue is affecting everyone except for the members of the Administrators and Retired Administrators usergroups.

When I set the permissions on the ./images/avatars directory/sub-directory and ran the rebuild maintenance options, I saw lots of image files being updated -- in the database.

I guess I could execute the Move Items from Database into File System. I'll have to change the permissions on the ./customavatars and ./customprofilepics directories before doing so.
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 06:11 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.05091 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
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_code
  • (2)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
  • (4)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete