6
Quote:
I just have to figure out how to have the profiles displayed from Yogurt become the default profile for the site and users
Hack to make the yogurt userpage as the main userpage of your site:
Open modules/profile/userinfo.php in the root of your site, search at the very beggining of
the file for
$uid = intval($_GET['uid']);
if ($uid <= 0) {
redirect_header('index.php', 3, _US_SELECTNG);
exit();
}
Add after this the following lines:
header("Location:".XOOPS_URL."/modules/yogurt/index.php?uid=".$uid);
exit();
Quote:
Everything you mentioned worked great. I would like to display just the user avatar though, not the entire Profile table with Email/PM/etc listed. Any ideas?
edit modules/yogurt/templates/yogurt_index.html
[/quote]
after making any modification, you will have to clear the cache for change to take effect:
Quote:
for XOOPS versions 2.0.XX: delete all files EXCEPT index.html in templates_c folder
for XOOPS versions 2.3.XX: delete all files EXCEPT index.html in xoops_data\caches\smarty_compile folder
take a look this thread
https://xoops.org/modules/newbb/viewtopic.php?post_id=302433#forumpost302433if you are interested to integrate XOOPS profile and yogurt...