3
hey there.
i just implemented, what you asked for...it's a small hack for XOOPS version 2.0.10.
i modified following files:
/userinfo.php
/language/english/user.php
/modules/system/templates/system_userinfo.html
following lines i added to
/userinfo.php after line with
$xoopsTpl->assign('lang_notregistered', _US_NOTREGISTERED);in
/language/english/user.php i added a constant after
define('_US_SHOWALL','Show All');(you have to add this constant for other languages, too, if you use any):
define('_US_GALLERY','Gallery');
and lastly, i modified the template
/modules/system/templates/system_userinfo.html by adding following lines like this:
<tr valign="top">
<td class="head"><{$lang_extrainfo}>td>
<td class="odd"><{$user_extrainfo}>td>
tr>
<tr valign="top">
<td class="head"><{$lang_gallery}>td>
<td class="odd"><{$user_gallery}>td>
tr>
table>
that worked quite nice for me. maybe you can use that, too.
i have to point out, that this is a hack to the core system, so if you update your XOOPS after that hack, these modifications might become erroneous!
greetings,
ric