This discussion is related to the
User List addon.
Hi, i would like to ask why some user's thumbnail doesn't show up? image broken but the user's have a picture, and link is working. i noticed image doesn't show for users who haven't posted anything yet.
0 • •
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •you can change it on class.userlistmodule.php
:)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@Aolee i had same problem. now fixed it using your advice. thank you so much.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@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?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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 :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •thats great!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •For other pips, here's the link for the modded UserList.
http://pinoyau.info/plugins/UserList-vanillicon.zip
Check out my other Plugins here
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •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 :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks Aolee,
I was just having the same problems with this until I came across this.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •