Fork me on GitHub

Howdy, Stranger!

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

Support for Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

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

Current releases are 2.1.3 (9 Sept 2014) and 2.0.18.13 (5 Aug 2014)

Ready for 2.1? Find out if your plugins are compatible. 2.0 will no longer be updated 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.