vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Visitor Messages profile images not showing up (https://vborg.vbsupport.ru/showthread.php?t=176186)

bagh1 04-15-2008 04:58 AM

Visitor Messages profile images not showing up
 
Hi,
For some reason, on my site, whenever a user sends a visitor message, the recipient sees the message but only a ? instead of the senders picture. Is there a way to fix this?
Thanks in advance!

ssslippy 04-15-2008 06:08 AM

The ? means they dont have a picture.

bagh1 04-15-2008 07:34 PM

No, everyone of them has a picture in their profiles. I want the same profile picture to show up when they send a visitor message.

Jase2 04-15-2008 07:58 PM

ssslippy is right, they don't have a picture. Are you using the default avatar hack? If so, I believe that is your problem.

bagh1 04-15-2008 08:14 PM

I have just updated to 3.7 and haven't made any updates so I guess I am using the default. What hack should I install in order to get this issue fixed?

Jase2 04-16-2008 12:12 PM

Edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Do you still have the same problem?

bagh1 04-16-2008 05:11 PM

Umm... I sortaa fixed the problem yesterday. I changed the image source in visitormessages.php from avatar to point to the profile picture. Had to give a standard width and height however.

NeuroLancer 04-17-2008 01:32 AM

yeah profile pics and avatars are separate. You could always disable profile pics and rename instances of 'avatar' to 'profile pic'. then in the memberinfo template change the code to put a proper sized avatar on there. I hate that tiny avatar pic personally. this way there'd only be one type of image that would display everywhere, it would in essence be the avatar but would appear to be called 'profile pic'.. im only suggesting this as im trying to think of a way to make it so you wouldnt have to edit the core files. plus the edit youve done applies to visitor msg, not other msg's like pm's and such.


All times are GMT. The time now is 05:20 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.01006 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete