Hello Guest
No Avatar
Sign In to Remove

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Blueberry

Pages: 1 [2]
Posts: 
17
Posted: April 26, 2011, 9:33 AM
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.

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.
Posts: 
17
Posted: April 22, 2011, 10:00 AM
He had a little problem with the spacing, I helped him fix it.
Pages: 1 [2]