1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove Members List [Deleted]

Discussion in 'Template Modifications' started by Adam Howard, Sep 24, 2012.

  1. Adam Howard

    Adam Howard Well-Known Member

    Adam Howard submitted a new resource:

    Remove Members List (version 1.0) - Improve load speed and resources by removing the members list

    Read more about this resource...
     
    erich37 and vVv like this.
  2. Ablac

    Ablac Active Member

    I followed your steps and the members list is still available when you type mysite.com/members
     
  3. Adam Howard

    Adam Howard Well-Known Member

    I can not confirm this issue.

    Re-apply the steps again. Are you by chance using a custom skin? I've tested this on a few dozen without issue.

    When you type mysite.com/members you should be greeted with the message that the feature is off (or whatever other message you made).
     
  4. Ablac

    Ablac Active Member

    Na i fixed it :) It was only users that were logged in were able to view the members list :) I used one of your other tutorials and was able to edit code based on ur other tut and disabled it for everyone :)
     
  5. Adam Howard

    Adam Howard Well-Known Member

    If you happen to have Soft Responsive style the code that you need to comment out in the navigation template is


    Basically them same thing, but his version is a little different.
    PHP:
            <!-- members -->
            <
    xen:if is="{$tabs.members}">
                <
    li class="navTab members {xen:if $tabs.members.selected, '{$selectedNavClassesPopup}', 'Popup PopupControl PopupClosed'}">
                
                    <
    a href="{$tabs.members.href}class="navLink{$navigationLinkExtraClass}"{xen:raw $navigationLinkRel}><strong>{$tabs.members.title}</strong></a>
                    <
    xen:if is="!@navigationAutoOpen">
                        <
    a href="{$tabs.members.href}class="SplitCtrl" rel="Menu"></a>
                    </
    xen:if>
                    
                    <
    div class="{xen:if '{$tabs.members.selected} && !@showOneNavRow', 'tabLinks', 'Menu JsOnly tabMenu'}">
                        <
    div class="primaryContent menuHeader">
                            <
    h3>{$tabs.members.title}</h3>
                            <
    div class="muted">{xen:phrase quick_links}</div>
                        </
    div>
                        <
    xen:set var="$navigationLinksTemplate">

                        <
    ul class="secondaryContent blockLinksList">
                        <
    xen:hook name="navigation_tabs_members">
                            <
    li><a href="{xen:link members}">{xen:phrase registered_members}</a></li>
                            <
    li><a href="{xen:link online}">{xen:phrase current_visitors}</a></li>
                            <
    xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>
                        </
    xen:hook>
                        </
    ul>

                        </
    xen:set>
                        {
    xen:raw $navigationLinksTemplate}
                        <
    xen:if is="{$tabs.members.selected}">
                            <
    xen:set var="$navigationSelectedLinksTemplate">{xen:raw $navigationLinksTemplate}</xen:set>
                            <
    xen:set var="$navigationSelectedLinksTitle">{$tabs.members.title}</xen:set>
                        </
    xen:if>
                    </
    div>
                </
    li>
            </
    xen:if>        
            
     
  6. Adam Howard

    Adam Howard Well-Known Member

  7. Adam Howard

    Adam Howard Well-Known Member

    Question:

    I'm using X style developed by Y person. I can't find the code for the member tabs in the navigation template. Can you point it out for me?

    Answer:

    While the majority seems to use the default code....

    There are a few styles where the navigation changes. So you're really going to need to contact the developer. However, a good clue is it will typically start with
    PHP:
    <!-- members -->
    How it ends seems to vary depending on the style.
     
  8. Rambro

    Rambro Well-Known Member

    Adam,

    If we've already applied the previous edits for 1.1.3 and its working fine (or seems to be at least), do we need to adjust any of the code for the 1.1.4 update you just posted?
     
  9. Adam Howard

    Adam Howard Well-Known Member

    If it is working for you, then you dont need to do anything. I use tms and it wouldn't apply because it couldnt find the code... Needed it to be exact. So whichever works.
     
  10. Adam Howard

    Adam Howard Well-Known Member

    Adam Howard updated Remove Members List with a new update entry:

    Optional Step 2 - B

    Read the rest of this update entry...
     
  11. Adam Howard

    Adam Howard Well-Known Member

    Step 2 - B I assume also saves you database queries. As before, your "members page" was still technically called up (just to display that notice telling bots & smarter members that the features was disabled).

    So adding this I actually do notice the site seems a little faster.
     
  12. Luxus

    Luxus Well-Known Member

    The easiest way is probably to use XenUtiles.
     
  13. Adam Howard

    Adam Howard Well-Known Member

    To my knowledge, [8wayRun.Com] XenUtiles (Tools) does not have an option to remove the members list.

    Assuming if it did, it would still add to your resources.... Because you would be using an add-on to enforce this.

    This (my) modification lessons (makes fewer) your resources needs. Making your site faster. And also has zero conflicts with any add-ons

    edit: Looking into the add-on you named... There is no such option.
     
  14. Luxus

    Luxus Well-Known Member

    It seems that removing the members list is not implemented yet in XenUtiles. It is planned for an upcoming release of XenUtiles.
    I took that from the description of XenHebra.
     
  15. Adam Howard

    Adam Howard Well-Known Member

    Which would still add to your resources. As you would still be adding an add-on and calling up the database to achieve the desired result.

    But I guess its a personal preference. I'll continue mine. :)
     
  16. usAdultAds

    usAdultAds Active Member

    Is there a TMS addon for this yet?
     
  17. Adam Howard

    Adam Howard Well-Known Member

    Not at this time. I've not made a TMS add-on in a while. I've neglected to do as for now, as XenForo claims that 1.2 will have their own TMS (soon).

    You can of course use the current TMS to write these templates.
     
  18. Rambro

    Rambro Well-Known Member

    Adam - do you nave a method for removing Registered Members from the Quick Navigation menu?
     
    Adam Howard likes this.
  19. Adam Howard

    Adam Howard Well-Known Member

    Well what do you know??! ..... I missed a spot.

    I never use it so I didn't think of it.

    YES, a solution and an update to which I'll give you credit for pointing it out :)

    Template: quick_navigation_menu

    Look for

    PHP:
                            <li><a href="{xen:link members}">{xen:phrase registered_members}</a></li>
    And comment it out, so that when done it will look like this

    PHP:
                            <xen:comment><li><a href="{xen:link members}">{xen:phrase registered_members}</a></li></xen:comment>
    Thank you for pointing that out :)
     
  20. Adam Howard

    Adam Howard Well-Known Member

    Adam Howard updated Remove Members List with a new update entry:

    Let's remove members list link in your Quick Navigation Menu (the forgotten step)

    Read the rest of this update entry...
     

Share This Page