members search block???  Bottom

  • Hi all
    I have been trying to find a members search block but with no luck. has any one writen one? if so can you please point me in the right direction.

    thanx dave
  • If you mean the default Members list, you can create your own search block (based on the Search Block) and add or remove hidden fields in it to specify what sections are searched:

    Code

    <form style="margin: 0px;" method="post" action="modules.php">
                   
    <input value="Search" name="name" type="hidden">
    <input value="index" name="file" type="hidden">
    <input value="modload" name="op" type="hidden">
    <input value="search" name="action" type="hidden">
    <input value="1" name="overview" type="hidden">
                   
    <input value="1" name="active_weblinks" type="hidden"
    <input value="1" name="active_stories" type="hidden">
    <input value="1" name="active_sections" type="hidden">
    <input value="1" name="active_reviews" type="hidden">
    <input value="1" name="active_faqs" type="hidden">
    <input value="1" name="active_downloads" type="hidden">
    <input value="1" name="active_users" type="hidden">
                   
    <input value="OR" name="bool" type="hidden">
    <input value="" name="stories_cat" type="hidden">
    <input value="" name="stories_topics" type="hidden">

    <input style="font-size: 10px;" value="" type="text" name="q" class="pn-text">
    <input style="font-size: 10px;" value="go!" name="Submit" type="submit">
    </form>

    You can take out the hidden form elements you don't need (the "active_*" ones)...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...

This list is based on users active over the last 60 minutes.