Fork me on GitHub
Current releases are 2.1.1 (2 Aug 2014) and 2.0.18.13 (5 Aug 2014)
Ready for 2.1? Find out if your favorite plugins are compatible.
The 2.0 branch will no longer receive updates after Dec 2014.

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

edited March 2011 in Vanilla 2.0 Help
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.