Want to make admin a bit easier

Discussion in 'Customization & add-ons' started by newcrm, Jul 13, 2010.

  1. newcrm

    newcrm New Member

    Joined:
    Mar 24, 2010
    Messages:
    8
    I went live with amember this morning and it works great!

    I have a repeated task that I'd like to see if I can make a bit easier.

    That is, I manually approve one type of subscription I have. To do that, I have to check using the following procedure in admin:

    Browse Members
    All Members
    Filter by pending

    Is there a way to create a link under browse members that would take me directly to pending members? Sort of a saved search with the filter "Pending" already applied?

    That would remove a few steps for me. Just an idea, and any help is hugely appreciated.

    Thanks.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,274
    Edit /amember/admin/menu.inc.php and add one line after:
    PHP:
    $s = & $m->addSection('users''Browse Users''users.php?letter=A', -1000);
    here is the line:
    PHP:
    $s->addItem('Pending Users''users.php?letter=A&status=00&start=0');
  3. newcrm

    newcrm New Member

    Joined:
    Mar 24, 2010
    Messages:
    8
    Worked Great!

    That worked great.

    For what it's worth, I did make one small change so that it would show all pending users instead of starting with letter a:

    I changed:

    PHP:
    $s->addItem('Pending Users''users.php?letter=A&status=00&start=0');  

    To this, which worked for me:
    PHP:
    $s->addItem('Pending Users''users.php?status=00&start=0');
    Thanks again to Alexander and Anton for their superior customer service. I know my project tested their patience to the limit. :)

Share This Page