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

Reply
 
Thread Tools Display Modes
  #11  
Old 08-04-2011, 10:16 AM
Sage Knight Sage Knight is offline
 
Join Date: Apr 2011
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're still having issues with this, feel free to PM me your ACP details and I can take a look. I'm pretty sure it's got to be your settings and permissions.
Reply With Quote
  #12  
Old 08-06-2011, 12:23 AM
PokeCenter PokeCenter is offline
 
Join Date: Dec 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still not working Spyike. I let Sage in my ACP and he saw nothing wrong. What's going on .
Reply With Quote
  #13  
Old 08-08-2011, 12:22 PM
PokeCenter PokeCenter is offline
 
Join Date: Dec 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump. Still need help.

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

I confirmed that you can only see your own profile picture and avatars. I logged on to users accounts and saw them.
Reply With Quote
  #14  
Old 08-14-2011, 01:25 PM
PokeCenter PokeCenter is offline
 
Join Date: Dec 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump.
Reply With Quote
  #15  
Old 08-14-2011, 02:08 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As a guest I can see all the avatars, I just don't see any profile pictures. Are you sure those users have uploaded profile pictures (I guess so, otherwise you also wouldn't see them when you're logged in as that user.

OK, I have something you can try: get a copy of includes/class_userprofile.php (download it via ftp if you don't have it on your local computer already), and save a copy somewhere. Then edit it and find function prepare_profilepic() around line 538. At the end of that function (that looks like this)

PHP Code:
        else
        {
            
$this->prepared['profilepicurl'] = '';
        }
    } 

add thses lines so that it looks like this:

PHP Code:
        else
        {
            
$this->prepared['profilepicurl'] = '';
        }
                echo 
"\r\n\r\n<!--\r\n";
        echo 
'$this->registry->options[\'profilepicenabled\'] = ' $this->registry->options['profilepicenabled'] . "\r\n";
                echo 
'$this->userinfo[\'profilepic\'] = ' $this->userinfo['profilepic'] . "\r\n";
                echo 
'$this->registry->userinfo[\'permissions\'][\'genericpermissions\'] = ' $this->registry->userinfo['permissions']['genericpermissions'] . "\r\n";
                echo 
'$this->registry->bf_ugp_genericpermissions[\'canseeprofilepic\'] = ' $this->registry->bf_ugp_genericpermissions['canseeprofilepic'] . "\r\n";
                echo 
'$this->registry->userinfo[\'permissions\'][\'genericpermissions\'] & $this->registry->bf_ugp_genericpermissions[\'canseeprofilepic\'] =' $this->registry->userinfo['permissions']['genericpermissions'] & $this->registry->bf_ugp_genericpermissions['canseeprofilepic'] . "\r\n";
                echo 
'$this->registry->userinfo[\'userid\'] = ' $this->registry->userinfo['userid'] . "\r\n";
                echo 
'$this->userinfo[\'userid\'] = ' $this->userinfo['userid'] . "\r\n";
                echo 
'$this->userinfo[\'permissions\'][\'genericpermissions\'] = ' $this->userinfo['permissions']['genericpermissions'] . "\r\n";
                echo 
'$this->registry->bf_ugp_genericpermissions[\'canprofilepic\'] = ' $this->registry->bf_ugp_genericpermissions['canprofilepic'] . "\r\n";
                echo 
'$this->userinfo[\'permissions\'][\'genericpermissions\'] & $this->registry->bf_ugp_genericpermissions[\'canprofilepic\'] = ' $this->userinfo['permissions']['genericpermissions'] & $this->registry->bf_ugp_genericpermissions['canprofilepic'] . "\r\n";
                echo 
'$this->userinfo[\'adminprofilepic\'] = ' $this->userinfo['adminprofilepic'] . "\r\n";
                echo 
'$this->registry->options[\'usefileavatar\'] = ' $this->registry->options['usefileavatar'] . "\r\n";
                echo 
'$this->registry->options[\'profilepicurl\'] = ' $this->registry->options['profilepicurl'] . "\r\n";
                echo 
'$this->prepared[\'userid\'] = ' $this->prepared['userid'] . "\r\n";
                echo 
'$this->userinfo[\'profilepicrevision\'] = ' $this->userinfo['profilepicrevision'] . "\r\n";
                echo 
'$this->userinfo["profilepicdateline"] = ' $this->userinfo["profilepicdateline"] . "\r\n";
                echo 
'$this->userinfo[\'ppwidth\'] = ' $this->userinfo['ppwidth'] . "\r\n";
                echo 
'$this->userinfo[\'ppheight\'] = ' $this->userinfo['ppheight'] . "\r\n";
        echo 
'$this->prepared[\'profilepicurl\'] = ' $this->prepared['profilepicurl'] . "\r\n";
                echo 
"-->\r\n\r\n";
    } 

(just copy the block of lines starting with 'echo' and paste them before the final curly brace).

'Then go to a page where the problem is happening, and view the source of the page. There should be a block of comments at the beginning - copy it and post it here.
Reply With Quote
  #16  
Old 08-15-2011, 12:30 AM
PokeCenter PokeCenter is offline
 
Join Date: Dec 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see the avatars as a guest, but not when logged in still no profile pictures when logged in or out (I'm going to try your above method, but informing that avatars issue).
Reply With Quote
  #17  
Old 08-19-2011, 12:26 PM
PokeCenter PokeCenter is offline
 
Join Date: Dec 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

KH99 I tried it and the profile pages wouldn't come up at all.
Reply With Quote
  #18  
Old 08-19-2011, 12:58 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm...I tried it before posting and just checked it again and it works for me. Maybe it's related to the issue. Can you re-upload your vbulletin files (assuming that you haven't made any changes to them, of course).
Reply With Quote
  #19  
Old 08-19-2011, 02:23 PM
Sage Knight Sage Knight is offline
 
Join Date: Apr 2011
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The way I see it, it's a plugin, you have a lot of them installed. I did told you on your forums to try disabling one at a time.
Reply With Quote
  #20  
Old 08-19-2011, 02:29 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's certainly something that should have been tried already. Maybe I misunderstood the earlier post where I thought PokeCenter said that it had made no difference.
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 09:53 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.04750 seconds
  • Memory Usage 2,283KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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