Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[FIXED] some user thumbnails doesn't show up
Aolee
✭✭
Comments
the img src is becoming
src="uploads/http://ngraph.facebook.com/1105074448/picture"
for a quick patch, i just changed this line
from
Url('uploads/'.ChangeBasename($User->Photo, 'n%s'))
to
((stristr($User->Photo,"http://"))?$User->Photo:Url('uploads/'.ChangeBasename($User->Photo, 'n%s')))
meaning if there's an HTTP:// found in the photo value use the value directly.
******
edited:
file to modify is class.userlistmodule.php
you can change it on class.userlistmodule.php
For some reason I didn't receive an E-mail from your last message (May18) to say that you responded, although I didn't create this post, but have commented I would have expected to receive an E-mail. Within my vanilla profile all options are ticked to receive notifications. Checked my junk mail also...
Is this a known issue....
I know its not directly linked with this post but noticed this issue as a result.
@Aolee i had same problem. now fixed it using your advice. thank you so much.
@Aolee Is this plugin able to show the Vanillicon icons? I'm using Vanillicon but this plugin is not able to show the Vanillicon icons. I have already made the modifications suggested by you. Thanks for your help.
@Aolee - I looked at your Who's Online plugin and tried to fix this plugin to show Vanillicon icons using the code in Who's Online. I got the icons working, but the icons are different from what I see on user's profile. The icons that I see on the User Profile and Who's Online plugin match perfectly though.
The icons for Facebook and Google users are showing up fine.
Any idea what could be wrong?
yes i've mod my userlist plugin to display vanillicon, but didn't enable it in my site as most of the pic appearing are vanillicons, i can share my plugin script. but maybe later
OK, I solved the problem by adding some debug statements. I found that the Vanillicon plugin relies on User Email field in order to generate the Avatars. The Who's Online plugin queries for that field, but User List doesn't. After adding that field to the query, it works!
Thanks.
thats great!
For other pips, here's the link for the modded UserList.
http://pinoyau.info/plugins/UserList-vanillicon.zip
Check out my other Plugins here
yes i've mod my userlist plugin to display vanillicon, but didn't enable it in my site as most of the pic appearing are vanillicons, i can share my plugin script. but maybe tomorrow as im really sleepy now. its 2am here in SG
Thanks Aolee,
I was just having the same problems with this until I came across this.
Can anyone post how to include the vanillicons ? thanks
Have you seen that? http://vanillaforums.org/discussion/comment/200786/#Comment_200786
i know where the controls are, the question was how to modify to include the vanillicons not just profile pictures
what version of vanilla 2.0 are you running? and what theme?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@lxlelinux
If you are using vanillicons plugin
then in userlist plugin
in class.userlistmodule.php
change line 16
from
$Select='u.UserID, u.Name, u.Photol';
to
$Select='u.UserID, u.Name, u.Photo,u.Email';
and change later in code
from
to
but you might be better off with a different plugin...
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.