Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


[Solved] Twitter pics not showing on profile page following statics?

edited March 2011 in Questions
This discussion is related to the Following addon.
There are HTTP problem on following addons profile pics who registered with twitter. I solved this problem. Thanks userlist addon.

Solution:

Find

<img src="<?php echo Url('uploads/' . ChangeBasename($User['Photo'], 't%s')); ?>" />

Change

<img src="<?php echo ((stristr($User['Photo'],"http://";))?$User['Photo']:Url('uploads/'.ChangeBasename($User['Photo'], 'n%s'))); ?>" />

There are two place. You change both

Tagged:

Comments

  • not work, if change this code display error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /public_html/plugins/Following/class.followingmodule.php on line 62

    and site completely dont working

    i think its wrong code
Sign In or Register to comment.