First off great module, the only problem I have is with the user info column keeps resizing for no reason but I'll save that for another day. Today my friend I come to you or (you all) to help me figure out how I can use imagecache_profiles with the forum. so far I feel like a donkey in the Kentucky durby. I looked through the code and with my limited php skills I came up with this...
original....
if(variable_get('uieforum_allow_display_avatars', 1) && $options['avatar']) $post_content[0]['data'] .= theme_user_picture($Poster);
my creation thats does nothing....
if (variable_get('user_pictures', 0)) $post_content[0]['data'] .= theme_user_picture('imagecache', 'user_image_default', $user->picture);
So yea... there you have it. Any suggestions?
Comments
Comment #1
walker2238 commentedWow... Thank you Tom Cruise.... I think I did it... hopefully someone with more knowledge then me can review this but so far it works.
I changed this...
if(variable_get('uieforum_allow_display_avatars', 1) && $options['avatar']) $post_content[0]['data'] .= theme_user_picture($Poster);
to this...
if(variable_get('uieforum_allow_display_avatars', 1) && $options['avatar']) $post_content[0]['data'] .= theme('imagecache', 'user_image_default', $Poster->picture);
hmmm... funny how when I finally resort to posting in the forum as a last hope, I solve my own problem 5 minutes later...
Now anyone know how to solve the problem I have with the usr info box changing widths? I tried floating it left which seems to solve the problem but everything goes out of order.
Comment #2
daniel.hunt commentedHeh :) Always the way.
I'll be theming the module in the next release so this sort of thing should be easier.