Fork me on GitHub

Howdy, Stranger!

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

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

[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.