On a old theme my forum use to use, for admins it would say when a Fourm Account is Awaiting Approval, because we had spam bots. But we switch to your new and sexy theme, but it doesn't have it. I wanted to know how to implant it. Heres the code.
Heres the page it would take you to, to approve it.
Heres where I want the notification / button.
Code: [Select]
// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
<li>', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '</li>';
echo '
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>';
echo '
</ul>';
}
Heres the page it would take you to, to approve it.
Heres where I want the notification / button.