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.

Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Important security fix: 2.1.10, released 4 May.

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