SimplePortal

Customization => Blocks and Modifications => Mod Requests => Topic started by: TLone on February 06, 2012, 11:09:29 AM

Title: Add Member Awaiting Approval Notify to Admin User Block
Post by: TLone on February 06, 2012, 11:09:29 AM
Hello,

I'd like to add back this simple notification from my old admin user block.  Just an "Unapproved" or "Waiting Approval" line for notification of new members awaiting approval.  I do not need a large admin block with varied notifications.

Any help you could offer would be most appreciated.

(http://www.jpr62.com/theme/index.php?action=dlattach;topic=1335.0;attach=863;image)
Title: Re: Add Member Awaiting Approval Notify to Admin User Block
Post by: grafitus on February 06, 2012, 11:26:33 AM
I don't see the image. Upload it somewhere else, please.
Title: Re: Add Member Awaiting Approval Notify to Admin User Block
Post by: TLone on February 06, 2012, 04:30:17 PM
(http://troutlegend.com/forum/MGalleryItem.php?id=2104)
Title: Re: Add Member Awaiting Approval Notify to Admin User Block
Post by: TLone on February 07, 2012, 07:36:56 PM
Le bump.
Title: Re: Add Member Awaiting Approval Notify to Admin User Block
Post by: TLone on February 22, 2012, 08:51:55 PM
Can anyone familiar with this code help?  Seems like a fairly simple mod.
Title: Re: Add Member Awaiting Approval Notify to Admin User Block
Post by: [SiNaN] on February 23, 2012, 08:03:24 AM
Sources/PortalBlocks.php

Code: (Find) [Select]
<ul class="sp_list">';

echo '

Code: (Replace) [Select]
<ul class="sp_list">';

if (allowedTo('admin_forum'))
echo '
<li>', sp_embed_image('dot'), ' <strong>Unapproved Members:</strong> ', $context['unapproved_members'], '</li>';

echo '
SimplePortal 2.3.8 © 2008-2024, SimplePortal