Sorry if this is daft or has been mentioned before (I couldn't see it anywhere).
When I post a new topic the user icon from elgg isn't transferred. It seems like vanilla is trying to call http://www.mywebsite.com/elgg/mod/profile/icondirect.php?lastcache=1277713125&username=admin&size=medium.
Navigating to this page gives; Fatal error: Call to a member function getGUID() on a non-object in n/home/my server/public_html/elgg/mod/profile/icon.php on line 29
I have the profile plugin activated and haven't changed the vanilla css much, barely at all to be honest.
Any ideas?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
OK, now I can't find the change I made.
;)
Sorry - I fixed all this up a few months back for a client. I should have updated my local SVN repository but in this case neglected to do so.
Do you think I should just copy all the css files I find then?
In fact none of them appear to have been changed so I think that you're on your own with the CSS thing.
Sorry.
That's ok, thanks for the help. I'll have a look round and see what I can find.
If you have any suggestions feel free to message me rather than continue this huge topic!
Thanks again Kevin.
Hi Kevin, I saw your updated vanillaforum plugin on the community.
I tried it but the profile icon once again failed to show.
When I go to http://myelggsite/mod/vanillaforum/get_icon_url.php?username=admin its showing .. >http://myelggsite/mod/profile/icondirect.php?lastcache=1277977072&username=admin&joindate=1277331607&guid=18&size=small instead of showing the icon picture. But if I go to the url http://myelggsite/mod/profile/icondirect.php?lastcache=1277977072&username=admin&joindate=1277331607&guid=18&size=small it shows the icon. Any idea ?
Sorry but what is the difference between the URLs?
Don't forget to logout and relogin to refresh the Vanilla URL cache.
I tried putting http://myelggsite/mod/vanillaforum/get_icon_url.php?username=admin to the address bar. Instead of showing the profile icon, it shows http://myelggsite/mod/profile/icondirect.php?lastcache=1277977072&username=admin&joindate=1277331607&guid=18&size=small to the browser. But when I put the mod/profile/icondirect... to the url it shows the profile icon.
I am sending you the live url via message Kevin.
I don't understand the point of your question. get_icon_url returns the *icon_url*, hence its name.
It is working as expected.
I know thats why I told you instead of returns the "icon_url" it returns a text written "http://myelggsite/mod/profile/icondirect.php?lastcache=1277977072&username=admin&joindate=1277331607&guid=18&size=small"
Any idea why ?
That *is* the icon URL. get_icon_url returns a *url* - that is a string of text.
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.