Based on this topic HERE, I could not get your solution it to work.
I'm willing to donate $10 if you can help me with this hack. I was going to purchase your edit/view mod, but it still doesn't get me what I need. See see why below.
Anyway, I need this to be hidden from all groups except admin and group id 107.
function up_block_user_info() {
global $settings, $txt, $context;
echo '
<div id="up_user_info">
<div class="cat_bar">
<h3 class="catbg">
<span class="left"></span>
Personal Info
</h3>
</div>
<div class="windowbg creator" style="border-bottom-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;">
<span class="topslice" style="background: none;"><span style="background: none;"></span></span>
<div class="content">';
echo'
<dl>';
echo '
<dt><strong>', $txt['age'], ':</strong></dt>
<dd>', $context['member']['age'] . ($context['member']['today_is_birthday'] ? ' <img src="' . $settings['images_url'] . '/bdaycake.gif" width="40" alt="" />' : ''), '</dd>';
if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
echo '
<dt><strong>', $txt['location'], ':</strong></dt>
<dd>', $context['member']['location'], '</dd>';
echo '
</dl>';
// Any custom fields for standard placement?
if (!empty($context['custom_fields']))
{
$shown = false;
foreach ($context['custom_fields'] as $field)
{
if ($field['placement'] != 0 || empty($field['output_html']))
continue;
if (empty($shown))
{
echo '
<dl>';
$shown = true;
}
echo '
<dt><strong>', $field['name'], ':</strong></dt>
<dd>', $field['output_html'], '</dd>';
}
if (!empty($shown))
echo '
</dl>';
}
echo '
</div>
<span class="botslice" style="background: none;"><span style="background: none;"></span></span>
</div>
</div>';
return true;
}
Otherwise, I need it to show:
<div class="cat_bar">
<h3 class="catbg">
<span class="left"></span>
Personal Info
</h3>
</div>
<div class="windowbg creator" style="border-bottom-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;">
<span class="topslice" style="background: none;"><span style="background: none;"></span></span>
<div class="content">You Need To <a href="" >Subscribe</a> To Personals View This!</div>
<span class="botslice" style="background: none;"><span style="background: none;"></span></span>
</div>
Or something to that effect.
You can reply here or PM me if you want to keep it private, it doesn't matter to me. Also, if I'm bugging you and or you don't have the time to help out, that's ok too. Just let me know, I won't take it personal...
Thanks Live...